Skip to Content
CLI & DevOpsInstallation

Installation

Install the TrustPin CLI to manage certificate pinning configurations from your terminal.

The easiest way to install and maintain the TrustPin CLI on macOS and Linux.

Install

# Add TrustPin tap brew tap trustpin-cloud/trustpin-cli # Trust the tap (required once — Homebrew 6.0+ blocks installs from untrusted third-party taps) brew trust trustpin-cloud/trustpin-cli # Install TrustPin CLI brew install trustpin-cli

Why brew trust? Since Homebrew 6.0, installing from a third-party tap requires a one-time, per-user trust approval. Without it you’ll see Error: Refusing to load formula … from untrusted tap. Trust is a local decision on your machine — there’s no way for us to pre-approve the tap on your behalf.

Brewfile (brew bundle)

If you manage installs declaratively with a Brewfile, mark the formula as trusted so brew bundle doesn’t prompt or fail:

tap "trustpin-cloud/trustpin-cli" brew "trustpin-cloud/trustpin-cli/trustpin-cli", trusted: true

The trusted: true option (Homebrew 6.0+) records the trust approval inline, so no separate brew trust step is needed.

Upgrade

Keep your CLI up to date with the latest features and bug fixes:

# Update Homebrew formulae brew update # Upgrade TrustPin CLI brew upgrade trustpin-cli

Direct Download

Download pre-built binaries directly from GitHub releases.

macOS

Intel Macs:

curl -L https://github.com/trustpin-cloud/homebrew-trustpin/releases/latest/download/trustpin-cli-macos-x64 -o trustpin-cli chmod +x trustpin-cli sudo mv trustpin-cli /usr/local/bin/

Apple Silicon Macs:

curl -L https://github.com/trustpin-cloud/homebrew-trustpin/releases/latest/download/trustpin-cli-macos-arm64 -o trustpin-cli chmod +x trustpin-cli sudo mv trustpin-cli /usr/local/bin/

Linux

x64:

curl -L https://github.com/trustpin-cloud/homebrew-trustpin/releases/latest/download/trustpin-cli-linux-x64 -o trustpin-cli chmod +x trustpin-cli sudo mv trustpin-cli /usr/local/bin/

ARM64:

curl -L https://github.com/trustpin-cloud/homebrew-trustpin/releases/latest/download/trustpin-cli-linux-arm64 -o trustpin-cli chmod +x trustpin-cli sudo mv trustpin-cli /usr/local/bin/

Verify Installation

Confirm the CLI is installed correctly:

trustpin-cli --version

Next Steps

After installation, configure the CLI with your credentials:

trustpin-cli configure

See Commands for detailed usage instructions.