Skip to navigation

Install the Passport CLI

Install the Passport CLI to connect your machine to the Passport Proxy and send authenticated API requests from the terminal.

This full Passport CLI and the Community Edition both install a command named passport. If both are installed on your machine, the one earlier in your PATH runs.

Install the Passport CLI

Use this path to install the Passport CLI on your own machine. IT teams that manage many machines should deploy the Passport CLI with mobile device management instead.

A single command installs the CLI. It detects your operating system and architecture automatically and always installs the latest version. Supported platforms are macOS (Apple silicon or Intel), Linux (x64 or Arm64), and Windows (x64). The command may prompt for administrator credentials to complete the installation.

macOS or Linux

Run the install command in your terminal:

curl -fsSL "https://dl-passport.pstmn.io/install/enterprise/unix.sh" | sh

Windows

Run the install command in PowerShell:

irm "https://dl-passport.pstmn.io/install/enterprise/win64.ps1" | iex

Verify the installation

Confirm the CLI installed correctly by checking the version:

passport --version

Update the Passport CLI

The install command always fetches the latest version, so to update the Passport CLI, run the install step for your operating system again. The installer replaces your current installation in place, so you do not need to uninstall first.