Home Pricing
Documentation API Reference Blog About
Login Start free
CLI

CLI Reference

Deploy and manage projects from your terminal. Fast, powerful, developer-friendly.

Lightning Fast

Deploy in seconds with zero configuration

Git Integration

Automatic deployments from your branches

Secure by Default

Environment variables encrypted at rest

Auto Updates

Always stay on the latest version

Commands

Authentication

shipyard login Required

Authenticate with your Shipyard account. Opens browser for OAuth flow.

$ shipyard login
Opening browser for authentication...
✓ Logged in as user@example.com
shipyard logout

Log out and remove stored credentials.

shipyard whoami

Display the currently logged in user.

Deployments

shipyard deploy Most Used

Deploy the current project to production.

Options
--preview Create a preview deployment instead of production
--prod Deploy directly to production (default)
--force Skip build cache and deploy fresh
$ shipyard deploy
Building project...
Uploading assets...
✓ Deployed to https://my-app.shipyard.dev
shipyard init

Initialize a new project in the current directory. Creates shipyard.json config.

shipyard logs

Stream real-time logs from your deployment.

Options
--follow, -f Follow log output in real-time
--since Show logs since timestamp (e.g., 1h, 30m)

Configuration

shipyard env

Manage environment variables for your project.

shipyard env list shipyard env add KEY=value shipyard env rm KEY shipyard env pull
shipyard domains

Manage custom domains for your project.

shipyard domains list shipyard domains add example.com shipyard domains rm example.com

Ready to deploy?

Install the CLI and deploy your first project in under 3 minutes.

$ npm install -g shipyard && shipyard login