Install the Postman CLI

Install the Postman CLI by following the instructions for your operating system below.

The Postman CLI supports the same system requirements as the Postman desktop app. For a complete list of requirements, see Install and update Postman.

macOS, Linux, and Windows Subsystem for Linux (WSL) installation

Run the following command to install the Postman CLI on systems running macOS, Linux, or Windows Subsystem for Linux (WSL). This will download and run a unified install script that detects your OS and architecture. The install script creates a /usr/local/bin directory if it doesn't exist yet, then installs the postman binary there. Alternatively, you can install Postman CLI with scripts specific to Windows, macOS (Apple silicon), macOS (Intel), Linux.

curl -o- "https://dl-cli.pstmn.io/install/unix.sh" | sh

Windows installation

Run the following command to install the Postman CLI for Windows. This will download and run an install script. The script creates a %USERPROFILE%\AppData\Local\Microsoft\WindowsApps directory if it doesn't exist yet, then installs the postman binary there.

powershell.exe -NoProfile -InputFormat None -ExecutionPolicy AllSigned -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://dl-cli.pstmn.io/install/win64.ps1'))"

macOS (Apple silicon) installation

Run the following command to install the Postman CLI for Macs with an Apple silicon processor. This will download an install script and run it. The install script creates a /usr/local/bin directory if it doesn't exist yet, then installs the postman binary there.

curl -o- "https://dl-cli.pstmn.io/install/osx_arm64.sh" | sh

macOS (Intel) installation

Run the following command to install the Postman CLI for Macs with an Intel processor. This will download an install script and run it. The install script creates a /usr/local/bin directory if it doesn't exist yet, then installs the postman binary there.

curl -o- "https://dl-cli.pstmn.io/install/osx_64.sh" | sh

Linux installation

Run the following command to install the Postman CLI for the latest Linux version. This will download an install script and run it. The install script creates a /usr/local/bin directory if it doesn't exist yet, then installs the postman binary there.

curl -o- "https://dl-cli.pstmn.io/install/linux64.sh" | sh

Update your Postman CLI installation

To update your Postman CLI installation to the latest version, run the same command you used to install it. The new version will overwrite the earlier version. For details about the latest changes and features, see the Postman CLI release notes.

Uninstall Postman CLI

To uninstall the Postman CLI, delete the postman binary. For macOS, Linux, and WLS systems, the binary is in /usr/local/bin by default. For Windows systems, the binary is in %USERPROFILE%\AppData\Local\Microsoft\WindowsApps by default.

Last modified: 2025/08/04