Installation
- macOS / Linux
- Windows
Install the CLI with a single command:This automatically detects your platform and installs the binary to
~/.local/bin.Authentication
Before using most commands, authenticate with your Crewship account:~/.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 singlecrewship.toml, use --name / -n to target a specific deployment:
Configuration
The CLI looks for configuration in this order:- Command-line flags
- Environment variables (
CREWSHIP_*) - Project config (
crewship.toml) - User config (
~/.crewship/config.json)
Environment Variables
CI/CD Usage
For automated deployments, use an API token instead of interactive login: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