Hanzo

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/kms

Updates

brew update && brew upgrade kms

Use Scoop package manager

scoop bucket add org https://github.com/hanzoai/kms/scoop-kms.git
scoop install kms

Updates

scoop update kms

Use Winget package manager

winget install kms

Use NPM package manager

npm install -g @kms/cli

Updates

npm update -g @kms/cli

Install prerequisite

apk add --no-cache bash sudo wget

Add Hanzo KMS repository

wget -qO- 'https://artifacts-cli.kms.hanzo.ai/setup.apk.sh' | sudo sh

Then install CLI

apk update && sudo apk add kms

If 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 bash

Then install CLI

sudo yum install kms

If 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 bash

Then install CLI

sudo apt-get update && sudo apt-get install -y kms

If 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-bin

If 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

On this page