---
schema_version: "1"
id: 55ac8d8c3155b1f80ad10e71b577329f9eb55755d5c3c69d92a498bc6e0e3e62
title: Deploy Source
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/sfvscode/guides/deploy-retrieve/deploy-source.md
canonical_url: https://developer.salesforce.com/docs/platform/sfvscode-extensions/guide/deploy-source.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 11a2034576f2942e13ce3ed18e951c5a186156e7b88e14f270d7ba28cf463930
products:
  - Salesforce Extensions for Visual Studio Code
  - salesforcedx
---
# Deploy Source

To deploy metadata from your local project to your default org, use the **SFDX: Deploy Source to Org** command. When you deploy the code changes, the local version of the source files overwrites the metadata in your org.

![Deploy source to org](https://developer.salesforce.com/docs/platform/media/vscode/deploy-source-to-org.png)

You can deploy source of a manifest, source files, directories, or folders:

## Manifest

- In VS Code explorer or editor, right-click a manifest file and select **SFDX: Deploy Source in Manifest in Org**.
- With a manifest file open in the editor, open the Command Palette and run **SFDX: Deploy Source in Manifest in Org**.

## Source File or Directory

- In VS Code explorer, right-click single or multi-selected source files or directories and select **SFDX: Deploy Source to Org**.
- With a source file open in the editor, right-click in the editing pane and select **SFDX: Deploy This Source File to Org**.
- With a source file open in the editor, open the Command Palette and run **SFDX: Deploy This Source File to Org**.


## See Also

[Detect Conflicts on Deploy](https://developer.salesforce.com/docs/platform/sfvscode-extensions/guide/detect-conflicts.md)
