Import CLI projects to the Astro IDE

Private Preview
This feature is in Private Preview.

Import an existing project into the Astro IDE by uploading a local CLI project.

Connect a CLI project

Prerequisites

1

Open Astro IDE

From the Astro UI main menu, select Astro IDE.

2

Select “Connect CLI Project”

Click Connect CLI Project on the IDE home screen.

3

Run the export command in your terminal

Copy the command from the dialog and run it in your terminal from the root of your existing Astro CLI project directory. This command uploads your local project files to the Astro IDE, and will look something like this:

astro ide project export --workspace-id <your-workspace-id>
4

Refresh to complete import

Return to the IDE and refresh the page to see your project available for editing.