Stackery CLI
Stackery provides a set of CLI commands that can be used to trigger deployments and manage serverless infrastructure.
Install the CLI
In your bash terminal or shell, enter the appropriate command for your operating system to download and install Stackery on your machine.
Using Homebrew, run the following commands:
brew tap stackery/tap
brew install stackery-cli
sudo curl -Ls --compressed https://ga.cli.stackery.io/linux/stackery > /usr/local/bin/stackery && sudo chmod 755 /usr/local/bin/stackery
# Create C:\Tools directory and add it to the system PATH
New-Item -ItemType Directory -Force -Path C:\Tools
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Tools", "Machine")
# Download the stackery CLI to C:\Tools
Invoke-WebRequest -Uri https://ga.cli.stackery.io/windows/stackery.exe -OutFile C:\Tools\stackery.exe
Connect your Stackery account
To finish setting up the Stackery CLI on your computer, enter:
stackery login
This will prompt you for the email address and password you entered on the Stackery Sign Up Page.
Once authenticated, the Stackery CLI will provision a new API key for your account. This API key will be stored in a .stackery.toml
file in your home folder and used for all further Stackery access from the command line.
For more information, our Quickstart Guide gives detailed instructions on installing and setting up the Stackery CLI tool.
Working with the Stackery CLI
The following documentation cover how to implement the Stackery CLI into your workflow: