Install the Airy CLI
The Airy CLI is a developer tool to help you build, test, and manage Airy Core instances directly from your terminal.
Installing the Airy CLI is easy and straightforward. You can follow the next steps for a quick setup:
Step 1: Check the requirements
Airy is built to run in the cloud, but you can also run it locally. The CLI runs on macOS and Linux and we provide pre-built executable binaries for x86-64.
If you are running on a different platform you can also build it yourself.
Step 2: Install the Airy CLI
Download the latest release
- Homebrew
- macOS
- Linux
Make sure you have the Xcode Command Line Tools installed. Otherwise you can install them with:
xcode-select --install
Now you can get the CLI straight from our tap:
brew install airyhq/airy/cli
curl "https://airy-core-binaries.s3.amazonaws.com/$(curl -L -s https://airy-core-binaries.s3.amazonaws.com/stable.txt)/darwin/amd64/airy" -o "airy"
and make it executable
chmod +x ./airy
To download a specific version, replace the $(curl -L -s <URL>)
portion of the
command with the specific version.
For example, to download version 0.6.0 on macOS, type:
curl https://airy-core-binaries.s3.amazonaws.com/0.6.0/darwin/amd64/airy -o "airy"
Move the airy binary to a file location on your system PATH
sudo mv ./airy /usr/local/bin/airy && \
sudo chown root: /usr/local/bin/airy
curl -LO "https://airy-core-binaries.s3.amazonaws.com/$(curl -L -s https://airy-core-binaries.s3.amazonaws.com/stable.txt)/linux/amd64/airy" -o "airy"
To download a specific version, replace the $(curl -L -s <URL>)
portion of the
command with the specific version.
For example, to download version 0.6.0 on Linux, type:
curl https://airy-core-binaries.s3.amazonaws.com/0.6.0/linux/amd64/airy -o "airy"
Install the binary
sudo install -o root -g root -m 0755 airy /usr/local/bin/airy
Step 3: Verify your installation
Make sure the output matches the version number you expect:
airy version
🎉 Congratulations!
You have successfully installed Airy CLI! Next step: Choose a way to Deploy Airy Core
Building from source
- Build the CLI target with Bazel:
bazel build //cli:airy
- Move the airy binary to a file location on your system PATH.
sudo cp bazel-out/darwin-fastbuild/bin/cli/airy /usr/local/bin/airy