# Set up the CLI (/docs/cli/install)



The Invokeable CLI is currently available through the private preview. Public npm installation is not available yet. Use the CLI provided with your preview access; if you have not received it, ask your Invokeable contact for the CLI build.

## Check your installation [#check-your-installation]

Make sure `ivk` is available in your terminal:

```sh
ivk --version
ivk mcp serve --help
```

If either command is unavailable, get the current preview build before continuing. The local-agent connection requires a CLI build that includes `mcp serve`.

## Sign in [#sign-in]

```sh
ivk login
```

Choose the same workspace you use in the app. For a staging preview, use `ivk --profile staging login` and keep `--profile staging` in the MCP command below.

## Connect your coding agent [#connect-your-coding-agent]

For Codex:

```sh
codex mcp add invokeable -- ivk mcp serve
```

For Claude Code:

```sh
claude mcp add --scope user invokeable -- ivk mcp serve
```

Open a new coding-agent session after adding the connection. In Invokeable, open **Agents > Connect an agent > Local agent** and copy the prompt for your product environment. The agent checks its connection before it can run a journey.

Keep the coding-agent session open while a journey is running. Invokeable executes the approved product actions and independently verifies the result.

Continue with [Sign in](/docs/cli/sign-in) or [Troubleshooting](/docs/cli/troubleshooting).
