Skip to main content

Installation

Install the CLI with a single command:
This automatically detects your platform and installs the binary to ~/.local/bin.
Verify the installation:

Authentication

Before using most commands, authenticate with your Crewship account:
This opens a browser for authentication. Your credentials are stored securely in ~/.crewship/credentials.json.

Authentication commands

Command Reference

Project Setup

Deployment

Environment

Execution

Updates

Global Options

These options are available for all commands:

Multi-Deployment Support

For projects with multiple deployments in a single crewship.toml, use --name / -n to target a specific deployment:
See the crewship.toml reference for configuration details.

Configuration

The CLI looks for configuration in this order:
  1. Command-line flags
  2. Environment variables (CREWSHIP_*)
  3. Project config (crewship.toml)
  4. User config (~/.crewship/config.json)

Environment Variables

CI/CD Usage

For automated deployments, use an API token instead of interactive login:
Generate API tokens in the Console under Settings → API Keys.

Exit Codes

Next Steps

Initialize

Set up your project

Deploy

Deploy your crew

Deployments

List and delete deployments

Versions

List and delete versions

Environment

Manage secrets

Invoke

Run your crew