Homebrew Installation

Install the OnePAM CLI on macOS and Linux using Homebrew.

Install via Homebrew

The OnePAM CLI is available as a Homebrew tap for macOS and Linux. Supports both Intel (amd64) and Apple Silicon (arm64).


Install
brew install onepamcom/tap/onepam
Update
brew upgrade onepam

Requirements

macOS
  • macOS 12 (Monterey) or later
  • Homebrew installed (brew --version)
  • Intel (amd64) or Apple Silicon (arm64)
Linux
  • Linux (amd64 or arm64)
  • Homebrew on Linux (brew.sh)
  • glibc 2.17+ (most modern distributions)

Quick Start

# Add the OnePAM tap and install
brew install onepamcom/tap/onepam

# Verify installation
onepam --version

# Log in to your OnePAM instance
onepam login

# List available resources
onepam ls

Common Commands

# SSH into a resource
onepam ssh my-server

# SCP file transfer
onepam scp local-file.txt my-server:/tmp/

# Connect to a database
onepam db connect prod-postgres

# Manage configuration
onepam config show
onepam config set api_base https://your-instance.onepam.com

Package Management

# Update to the latest version
brew upgrade onepam

# Check installed version
brew info onepam

# Uninstall
brew uninstall onepam

# Remove the tap
brew untap onepamcom/tap

Alternative Installation

If you prefer not to use Homebrew, you can install the CLI directly:

# Direct download (macOS / Linux)
curl -fsSL https://updates.onepam.com/cli/install.sh | sh

See also: PowerShell Module for PowerShell-native access, or Scoop for Windows.