Airplane CLI

The Airplane CLI, airplane, is the primary way you'll create and deploy new tasks and runbooks. The CLI also provides utility methods for managing API keys, getting/setting configs, and executing tasks/runbooks.
The full CLI source code is available on GitHub: airplanedev/cli

Installing the CLI

If you use Homebrew, you can install the CLI by running:
bash
Copied
1
brew install airplanedev/tap/airplane
Otherwise, you can install with our installation script:
bash
Copied
1
curl -L https://github.com/airplanedev/cli/releases/latest/download/install.sh | sh
Once you've installed it, you can log in to the CLI by running login. This will open a browser window to complete authentication—you can close the window when you're done.
bash
Copied
1
airplane login
2
# If you want to change teams or log out: airplane logout
To confirm you're logged in, you can run airplane auth info:
Copied
1
airplane auth info
2
Signed in as youremail@example.com
3
Using team MyTeam (ID: 1rGi5xu8bPuxT8TV0KKwP10RQuD)

Upgrading the CLI

Upgrading the CLI is similar to installing:
Using Homebrew:
bash
Copied
1
brew update && brew upgrade airplanedev/tap/airplane
If not using Homebrew, you can re-run the installation script:
bash
Copied
1
curl -L https://github.com/airplanedev/cli/releases/latest/download/install.sh | sh