The CLI gives you the same data and agent from your terminal, where it can run inside an AI assistant such as Claude Code or Codex. Setting it up is a short, predictable path: install it with one command, sign in once through your browser, connect your CRM if you want Landbase to work with records you already have, and run a quick check to confirm it works. A few minutes here is what unlocks running Landbase from the terminal, right next to your other tools.
Installing takes a single command. Pick the line for your operating system.
curl -fsSL https://cli.landbase.com/install.sh | bash$ProgressPreference = 'SilentlyContinue'; irm https://cli.landbase.com/install.ps1 | iexConfirm it worked by checking the version:
landbase-cli --versionIf you see a version number, you are installed. If the terminal says command not found, reopen it and try again; if it still cannot find landbase-cli, add the install folder the installer printed to your PATH and reopen the terminal. You can also ask an AI assistant such as Claude Code or Codex to install it for you.
Before the CLI can pull data, sign in. This opens your browser so you approve access on a consent screen, and you never paste a password into the terminal.
landbase-cli auth loginApprove the screen, using the same account you use for the web app, so your work lives in one place. Then confirm you are signed in:
landbase-cli auth statusIf it shows your account, you are ready. To switch accounts, run landbase-cli auth logout and sign in again.
If you want Landbase to work with records you already have, connect your CRM. You link HubSpot or Salesforce from the CLI, through your AI assistant, with a one-time browser sign-in. This is a CLI capability today, since the web app cannot connect a CRM yet.
Reading lets Landbase pull from your CRM, for example to remove duplicates from a new list by checking it against records you already have, or find companies similar to the deals you have already won. Writing lets Landbase add to your CRM, for example to push new enriched contacts. Start with reading, confirm a small pull, then allow writing when you are ready.
Before you rely on the CLI, run a quick check that confirms install, sign-in, and access. Both commands are read-only and change nothing.
landbase-cli --version
landbase-cli auth statusA version number plus your account means you are ready to build, and Base Camp setup is complete. Run these any time something feels off.