Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers · Soon
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)
Help Center
📦

Installing the CLI

Found this helpful? Share it:

The idapt CLI is the @idapt/cli npm package. It gives you the idapt <resource> <verb>command, the same grammar the in-app agent and MCP speak. It needs Node.js 18 or newer and works on macOS, Linux, and Windows 📦

Install

Install it globally with npm:

npm i -g @idapt/cli

This puts the idapt command on your $PATH. Other package managers work too:

pnpm add -g @idapt/cli
yarn global add @idapt/cli
bun add -g @idapt/cli

For one-off use you can skip the install: npx @idapt/cli <command>always runs the latest published version.

Sign in

Sign in once. It opens your browser (OAuth 2.1 with PKCE):

idapt login

On a headless machine or over SSH it falls back to a device code you approve in any browser. For CI, set the IDAPT_API_KEY environment variable (create a key under Settings → Developer), or pipe one in with --api-key-stdin. See CLI authentication for the full flow and API keys and scopes for creating keys.

Verify it works

Print the installed version:

idapt version

Then confirm you are signed in with idapt whoami, which reports the account and workspace you are acting as.

Keep it up to date

Update to the latest release at any time:

idapt upgrade

idapt upgrade detects how you installed it (npm, pnpm, yarn, bun, or volta) and runs the right update, or prints the exact command if it cannot. idapt upgrade --check reports without installing, and idapt upgrade --next tracks the pre-release channel. The CLI also prints a one-line nudge when a newer version is available (silenced in CI and non-interactive shells).

Uninstall

Remove the global package with the manager you used to install it:

npm uninstall -g @idapt/cli
pnpm remove -g @idapt/cli
yarn global remove @idapt/cli
bun remove -g @idapt/cli

Run idapt logout first to clear the stored credential.

Where the CLI puts its files

The CLI stores its credential and a small update-check cache under your platform's standard locations:

  • Linux: config in ~/.config/idapt/, cache in ~/.cache/idapt/

  • macOS: config in ~/Library/Application Support/idapt/, cache in ~/Library/Caches/idapt/

  • Windows: config in %AppData%\idapt\, cache in %LocalAppData%\idapt\

On Linux these honor $XDG_CONFIG_HOME and $XDG_CACHE_HOME when you have set them.

Connecting a computer is a different tool

Features that run on a machine, such as pairing a computer, the Drive mount, tunnels, and local inference, are handled by a separate binary, the idapt-computer daemon. The desktop app installs and manages it for you, and you can also pair a machine from the in-app "Connect a computer" flow. The @idapt/cli package on this page is the API client only. See The computer daemon.

Related articles

🔑

CLI authentication

Sign in from a browser or a headless machine, use API keys in CI, and set the workspace and agent you act as.

📖

Command reference

The idapt <resource> <verb> grammar, how to discover any command from the terminal, and the full command list.

Up next

CLI authentication

Sign in from a browser or a headless machine, use API keys in CI, and set the workspace and agent you act as.

Was this helpful?