Skip to content

Getting Started ​

iKi runs on Node.js 24+ (needed for native TypeScript stripping in the code sandbox). The CLI package @irorange27/iki is bundled as a single standalone file with no runtime dependencies.

Install ​

bash
# Install globally
npm install -g @irorange27/iki
iki

# Or run once without installing
npx @irorange27/iki
bash
git clone https://github.com/irorange27/iKi.git
cd iKi
corepack enable && pnpm install --frozen-lockfile
pnpm cli        # start the terminal UI
pnpm cli:pack   # build the standalone @irorange27/iki tarball

Configure a Model ​

iKi uses @earendil-works/pi-ai under the hood, which covers 40+ providers and 1,600+ models across Anthropic, OpenAI, Gemini, Vertex, Bedrock, Azure, Mistral, DeepSeek, Moonshot, OpenRouter, and custom OpenAI/Anthropic-compatible gateways.

There are two ways to get started:

  1. Use an existing API key in your environment. If ~/.iki/models.toml has no active provider yet, iKi picks up common keys automatically on startup (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, DEEPSEEK_API_KEY, OPENROUTER_API_KEY, IKI_BASE_URL, etc.) without touching anything you already configured.
  2. Run the setup wizard. If no key is set—or you want to add more providers later—run:
bash
iki setup

Inside iki setup, you can pick from common providers, type any pi-ai provider ID directly (such as groq, mistral, or amazon-bedrock), or enter all to browse the full list. The result is saved to ~/.iki/models.toml.

Updating ​

bash
iki --version        # print the current version
iki update --check   # check npm for a newer release
iki update           # upgrade @irorange27/iki using your package manager

In interactive mode, iKi checks for updates in the background every 12 hours (cached in ~/.iki/state/cli_update_check.json) so startup is never blocked. You can turn this off with IKI_NO_UPDATE_CHECK=1 or [general].autoUpdate = false in ~/.iki/settings.toml.

Released under AGPL-3.0-only.