GET STARTED / INSTALL THE CLI

Install the CLI

The promptLM CLI ships as a native binary published to GitHub Releases.

macOS and Linux

curl -fsSL https://raw.githubusercontent.com/promptLM/promptlm-app/main/scripts/install.sh | bash

The installer fetches the latest release for your OS and architecture from promptLM/promptlm-app, verifies the SHA-256 checksum, and places promptlm-cli in $PROMPTLM_INSTALL_DIR (default ~/.local/bin).

To pin a specific version or override the destination:

curl -fsSL https://raw.githubusercontent.com/promptLM/promptlm-app/main/scripts/install.sh \
  | bash -s -- --version v0.1.0 --install-dir "$HOME/bin"

Windows (PowerShell)

irm https://raw.githubusercontent.com/promptLM/promptlm-app/main/scripts/install.ps1 | iex

The installer fetches the latest release for your architecture, verifies the SHA-256 checksum, and places promptlm-cli.exe in $env:PROMPTLM_INSTALL_DIR (default $HOME\.local\bin).

To pin a specific version or override the destination, download the script first and pass parameters:

iwr https://raw.githubusercontent.com/promptLM/promptlm-app/main/scripts/install.ps1 -OutFile install.ps1
.\install.ps1 -Version v0.2.0 -InstallDir "$HOME\bin"

Verify

promptlm-cli --version

If the command is not found, ensure your install directory is on PATH.