Download your Wix site, code in a local IDE, collaborate, use git, and more!
Important: Features relating to the Local Editor are currently in the stage of alpha release and are still being developed. Future functionality may not be backward compatible. When using these features, you assume the risks associated with the use of such an alpha version.
The Corvid CLI allows you to download a Wix site and work on it locally. With this tool you can use your favorite development tools (e.g IDE, version control) to manage the code on your site, a local Wix Editor to edit your site's look and feel, and collaborate with others in building your site. Read more about how to use the Corvid CLI here.
Node.JS version >= 10
-
Enable Corvid using the Regular Editor in the site that you want to work on locally.
-
Run
create-corvid-app
as follows, replacing the placeholders with values as described below:npx create-corvid-app <folder-name> [your-wix-site-url]
<folder-name>
: A local directory where you want to store your local site project. If the directory doesn't exist, it will be created.[your-wix-site-url]
(optional): The public URL of your published site or your site's Regular Wix Editor URL.
Before your project downloads, if you are not already authenticated, a Wix authentication screen will open where you must enter your Wix credentials. You need to authenticate with a user whose role has Editor permissions for the site.
-
If you did not provide a URL when running
create-corvid-app
you can clone your site into the project directory using theclone
command:npx corvid clone <your-wix-site-url>
When working on your local site, you edit your site's code in your preferred IDE and edit your site's look and feel in the Local Wix Editor.
To edit your site's code, open your site's local project directory in your preferred IDE. When you make changes to your local code files, and you save those changes in your IDE, those changes are immediately synced to the Local Wix Editor.
Editing the local version of your site's UI and previewing your local site is done through the Local Wix Editor.
To open your local site project in a Local Wix Editor:
-
Navigate to the folder you specified above:
cd <folder-name>
-
Open a Local Wix Editor:
npx corvid open-editor
To learn about what else you can do with the Corvid CLI, run:
npx corvid --help
Or check out these articles about working on your Wix site locally: