Skip to content

CLI Installation

The Meridian Track CLI (meridian) lets you track time, manage projects and clients, and view entries directly from your terminal. No Python or package manager required.

  • An active Meridian Track account with an API key
  • macOS 13+, Windows 10+, or Linux (Ubuntu 20.04+, Debian 10+)
Terminal window
curl -fsSL https://cli.meridiantrack.com/install.sh | bash
Terminal window
irm https://cli.meridiantrack.com/install.ps1 | iex
Terminal window
curl -fsSL https://cli.meridiantrack.com/install.cmd -o install.cmd && install.cmd && del install.cmd
Terminal window
meridian version

Navigate to API Keys in the Meridian Track app and create a new key. See Authentication for details on scopes and best practices.

Terminal window
meridian auth login

You will be prompted to paste your API key. Alternatively, pass it directly:

Terminal window
meridian auth login --api-key mt_live_your_key_here

The CLI stores your API key securely in your system keyring (macOS Keychain, Windows Credential Manager, or Linux Secret Service).

If your workspace has a single member, the CLI auto-detects your user ID. For multi-member workspaces, set it manually:

Terminal window
meridian auth set-user YOUR_USER_ID
Terminal window
meridian auth status

This shows your masked API key, user ID, and API URL.

The CLI stores settings in ~/.meridian/config.json. You can manage it with:

Terminal window
meridian config show # view all settings
meridian config get api_url # get a specific key
meridian config set api_url https://api.meridiantrack.com # set a key

Environment variables override config file and keyring values:

VariablePurpose
MERIDIAN_API_KEYAPI key (overrides keyring)
MERIDIAN_USER_IDUser ID (overrides config file)
MERIDIAN_BASE_URLAPI base URL (default: https://api.meridiantrack.com)

The CLI checks for updates in the background every 4 hours and downloads new versions automatically. Updates are applied the next time you run meridian.

Terminal window
meridian update
Terminal window
meridian update --check

Pin to your current version:

Terminal window
meridian update --pin

Or set the environment variable:

Terminal window
export MERIDIAN_NO_AUTO_UPDATE=1
Terminal window
meridian update --unpin
Terminal window
rm -rf ~/.local/share/meridian ~/.local/bin/meridian ~/.local/bin/meridian-mcp
Terminal window
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\meridian"
Terminal window
rm -rf ~/.meridian
  • Command Reference — full list of commands and options
  • MCP Server — use Meridian Track from Claude Desktop, Cursor, or Claude Code