Install
Hanzo KMS's CLI is one of the best ways to manage environments and secrets. Install it here
The KMS CLI is a powerful command line tool that can be used to retrieve, modify, export and inject secrets into any process or application as environment variables. You can use it across various environments, whether it's local development, CI/CD, staging, or production.
Installation
Use brew package manager
brew install kms/get-cli/kmsUpdates
brew update && brew upgrade kmsUse Scoop package manager
scoop bucket add org https://github.com/hanzoai/kms/scoop-kms.gitscoop install kmsUpdates
scoop update kmsUse Winget package manager
winget install kmsUse NPM package manager
npm install -g @kms/cliUpdates
npm update -g @kms/cliInstall prerequisite
apk add --no-cache bash sudo wgetAdd Hanzo KMS repository
wget -qO- 'https://artifacts-cli.kms.hanzo.ai/setup.apk.sh' | sudo shThen install CLI
apk update && sudo apk add kmsIf you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. View versions
Add Hanzo KMS repository
curl -1sLf \
'https://artifacts-cli.kms.hanzo.ai/setup.rpm.sh' \
| sudo -E bashThen install CLI
sudo yum install kmsIf you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. View versions
Add Hanzo KMS repository
curl -1sLf \
'https://artifacts-cli.kms.hanzo.ai/setup.deb.sh' \
| sudo -E bashThen install CLI
sudo apt-get update && sudo apt-get install -y kmsIf you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. View versions
Use the yay package manager to install from the Arch User Repository
yay -S kms-binIf you are installing the CLI in production environments, we highly recommend to set the version of the CLI to a specific version. This will help keep your CLI version consistent across reinstalls. View versions
Quick Usage Guide
Now that you have the CLI installed on your system, follow this guide to make the best use of it
How is this guide?
Last updated on