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.
Prerequisites
Section titled “Prerequisites”- An active Meridian Track account with an API key
- macOS 13+, Windows 10+, or Linux (Ubuntu 20.04+, Debian 10+)
Installation
Section titled “Installation”macOS / Linux
Section titled “macOS / Linux”curl -fsSL https://cli.meridiantrack.com/install.sh | bashWindows (PowerShell)
Section titled “Windows (PowerShell)”irm https://cli.meridiantrack.com/install.ps1 | iexWindows (CMD)
Section titled “Windows (CMD)”curl -fsSL https://cli.meridiantrack.com/install.cmd -o install.cmd && install.cmd && del install.cmdVerify
Section titled “Verify”meridian versionAuthentication
Section titled “Authentication”1. Create an API Key
Section titled “1. Create an API Key”Navigate to API Keys in the Meridian Track app and create a new key. See Authentication for details on scopes and best practices.
2. Log In
Section titled “2. Log In”meridian auth loginYou will be prompted to paste your API key. Alternatively, pass it directly:
meridian auth login --api-key mt_live_your_key_hereThe 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:
meridian auth set-user YOUR_USER_ID3. Verify
Section titled “3. Verify”meridian auth statusThis shows your masked API key, user ID, and API URL.
Configuration
Section titled “Configuration”Config File
Section titled “Config File”The CLI stores settings in ~/.meridian/config.json. You can manage it with:
meridian config show # view all settingsmeridian config get api_url # get a specific keymeridian config set api_url https://api.meridiantrack.com # set a keyEnvironment Variables
Section titled “Environment Variables”Environment variables override config file and keyring values:
| Variable | Purpose |
|---|---|
MERIDIAN_API_KEY | API key (overrides keyring) |
MERIDIAN_USER_ID | User ID (overrides config file) |
MERIDIAN_BASE_URL | API base URL (default: https://api.meridiantrack.com) |
Updating
Section titled “Updating”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.
Manual Update
Section titled “Manual Update”meridian updateCheck for Updates
Section titled “Check for Updates”meridian update --checkDisable Auto-Updates
Section titled “Disable Auto-Updates”Pin to your current version:
meridian update --pinOr set the environment variable:
export MERIDIAN_NO_AUTO_UPDATE=1Re-enable Auto-Updates
Section titled “Re-enable Auto-Updates”meridian update --unpinUninstalling
Section titled “Uninstalling”macOS / Linux
Section titled “macOS / Linux”rm -rf ~/.local/share/meridian ~/.local/bin/meridian ~/.local/bin/meridian-mcpWindows (PowerShell)
Section titled “Windows (PowerShell)”Remove-Item -Recurse -Force "$env:LOCALAPPDATA\meridian"Remove Configuration (Optional)
Section titled “Remove Configuration (Optional)”rm -rf ~/.meridianNext Steps
Section titled “Next Steps”- Command Reference — full list of commands and options
- MCP Server — use Meridian Track from Claude Desktop, Cursor, or Claude Code