Skip to main content
Install the LeadMagic CLI in one command. The installer downloads a self-contained binary with a bundled runtime — no additional dependencies required.

Install

The installer:
  • Downloads the correct binary for your platform and architecture
  • Installs to ~/.leadmagic/bin/lm
  • Adds ~/.leadmagic/bin to your PATH (updates your shell profile)
  • Runs lm welcome to confirm the install
Open a new terminal or run source ~/.zshrc (or ~/.bashrc) after install for the PATH update to take effect.

Platform Support

Version Pinning

Install a specific version by setting the VERSION environment variable:
Change the install directory with LEADMAGIC_INSTALL_DIR:

Verify Installation

Run the health check to confirm everything is working:
If issues are found, auto-repair with:
Use --verbose for detailed diagnostic output:

Shell Completions

Enable tab completions for your shell:
Supports bash, zsh, and fish. The shell is auto-detected, or specify it explicitly:
Remove completions with:

Update

The CLI checks for updates automatically and shows a one-line notice when a newer version is available. To update manually:
To check for updates without installing:

Uninstall

Remove the CLI and all associated files:
This removes the binary and the ~/.leadmagic/bin directory. Your data (config, database, exports) in ~/.leadmagic/ is preserved. Delete that directory manually if you want a complete removal.

Next Steps

Authentication

Sign in with browser OAuth.

Quickstart

Your first enrichment workflow in 5 minutes.