Scoop Installation

Install the OnePAM CLI on Windows using the Scoop package manager.

Install via Scoop

The OnePAM CLI is available as a Scoop bucket for Windows. Supports 64-bit (amd64) and ARM64 architectures.


Install
scoop bucket add onepam https://github.com/onepamcom/scoop-onepam
scoop install onepam
Update
scoop update onepam

Requirements

  • Windows 10 or later (64-bit)
  • Scoop installed (scoop.sh)
  • PowerShell 5.1+ or pwsh 7+
Don't have Scoop? Install it with:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

Quick Start

# Add the OnePAM bucket and install
scoop bucket add onepam https://github.com/onepamcom/scoop-onepam
scoop install 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

# RDP to a Windows host
onepam rdp my-windows-server

Package Management

# Update to the latest version
scoop update onepam

# Check installed version
scoop info onepam

# Uninstall
scoop uninstall onepam

# Remove the bucket
scoop bucket rm onepam

Alternative Installation

Other ways to install the OnePAM CLI on Windows:

PowerShell Module
Install-Module -Name OnePAM -Scope CurrentUser

PowerShell Module documentation

Direct Download
# Download from updates.onepam.com
Invoke-WebRequest -Uri "https://updates.onepam.com/cli/latest/onepam-windows-amd64.exe" -OutFile onepam.exe

See also: Homebrew for macOS and Linux.