Quickstart

Deploy your first project from your terminal in a few minutes.

This page deploys a folder with the CLI. If you would rather start from a Git repository, connect GitHub in the dashboard instead: see Git and previews.

1. Install the CLI

Download vtx for your system from the downloads page, put it on your PATH, and check it runs:

vtx version

2. Sign in

vtx login

This opens your browser. Approve the request and return to the terminal.

From the folder that holds your site:

vtx link

This creates a project for the directory, or reuses the one it is already linked to. Pass --name to choose the project name.

4. Deploy

vtx deploy

The source is uploaded and built remotely. When the build finishes, the CLI prints a URL for this deployment. It is a preview: production does not change.

To release it to production:

vtx deploy --prod

Tip Already have built output, such as the dist folder of a static site? Upload it as it is with vtx deploy --prebuilt --prod dist.

5. Look at what happened

vtx ls                # recent deployments of this project
vtx logs <id>         # the build log of one deployment
vtx logs --runtime <id>   # what the running app prints

Next steps