---
schema_version: "1"
id: 5417b04092d1d7a36db1e54f63e4df53ac911f09cf2cf090f93019f0d24b90f5
title: Deploy Lightning Web Components
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_deploy_lightning_web_components_58289.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_deploy_lightning_web_components_58289.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1a151f81b32cdef41d653898fadd3660a0b05a9af0765dd800fad0c40194534c
description: Deploy new Lightning web components or change existing components from your local development environment with Visual Studio and Salesforce DX or IDX Workbench.
products:
  - Omnistudio
release: "264"
---
# Deploy Lightning Web Components

Deploy new Lightning web components or change existing components from your local development environment with Visual Studio and Salesforce DX or IDX Workbench.

To set up your development environment for managing and deploying your components, see [Set Up Lightning Web Components](https://help.salesforce.com/s/articleView?id=xcloud.os_set_up_lightning_web_components_58209.htm&release=264.0.0&type=5 "To manage and develop Omnistudio Lightning web components, use Visual Studio Code with Salesforce DX and the SF CLI. Use to deploy components from one sandbox or dev org to another, such as a production org.").

1. Open your project in Visual Studio.
2. Make sure you have Salesforce DX or IDX Workbench installed. To install Salesforce DX or IDX Workbench, see [Salesforce DX Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm).
3. In the terminal, run the following command to deploy changes to your org:
    
    ```
    sf project deploy start
    ```
    
    For more on deploying components to your org with Visual Studio, see [Analyze Your Code and Deploy It to Your Org](https://trailhead.salesforce.com/content/learn/projects/set-up-your-lightning-web-components-developer-tools/analyze-your-code-and-deploy-it-to-your-org).