CLI installation
Install the fixedhook CLI on macOS, Linux, and Windows.
The fixedhook CLI is the local process that connects your code to a FixedHook alias. This page covers install methods and platform-specific notes. The Getting started guide covers the same thing in the context of first-time setup.
Install methods
Use the same commands shown on the CLI download page.
curl -fsSL https://www.fixedhook.com/cli/install.sh | shInstalls to /usr/local/bin when it is writable, otherwise $HOME/.local/bin.
irm https://www.fixedhook.com/cli/install.ps1 | iexInstalls to %LOCALAPPDATA%\fixedhook\bin and adds it to your user PATH.
Verify the install:
fixedhook versionIf your shell says fixedhook is not found, add the install directory printed by the installer to your PATH, then open a new terminal.
Supported platforms
| OS | Architectures | Notes |
|---|---|---|
| macOS | x64, arm64 | Native static binaries |
| Linux | x64, arm64 | Static binaries |
| Windows | x64, arm64 | PowerShell installer |
For Windows users on PowerShell, use the PowerShell installer:
irm https://www.fixedhook.com/cli/install.ps1 | iexAuthenticating the CLI
The login command does a browser-based device flow:
fixedhook loginThis prints a URL and a short code:
Opening https://fixedhook.com/cli-auth?device_code=...
Open this URL in your browser: https://fixedhook.com/cli-auth?device_code=...Open the URL in any browser, sign in, and the CLI picks up your session token automatically. The credentials are stored at:
- macOS / Linux:
~/.config/fixedhook/credentials.json - Windows:
%LOCALAPPDATA%\fixedhook\credentials.json
To log out and clear stored credentials:
fixedhook logoutUpdating
The CLI self-updates to the latest release. The current version is always visible with fixedhook version. When a newer version is available, that command prints an update notice.
To upgrade on demand:
fixedhook upgradeThis downloads the latest binary for your platform, verifies its SHA256 checksum against the published manifest, and replaces the running binary in place. Works on macOS, Linux, and Windows.
For the dev channel instead of stable, append --dev:
curl -fsSL https://www.fixedhook.com/cli/install.sh | sh -s -- --devUninstalling
rm "$(which fixedhook)"Remove-Item "$env:LOCALAPPDATA\fixedhook\bin\fixedhook.exe"Your aliases and event history are kept on the server. Removing the CLI does not cancel your account.