
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
An AI coding agent CLI and terminal coding assistant with a beautiful interactive TUI
Dimcode is an AI coding CLI for terminal-first developers who want fast code generation, refactoring, repo search, code review, and agent-style workflows directly in the shell.
If you are searching for a CLI coding tool similar to Claude Code, Codex, OpenCode, or Cursor's terminal workflow, Dimcode is built for the same terminal-native use case while adding a polished multi-session TUI, tool approvals, MCP support, and flexible provider setup.
Dimcode helps you move fast with:
| Metric | Live Badge |
|---|---|
| Weekly downloads | |
| Total downloads |
Dimcode is designed for developers looking for:
npm install -g dimcode
dim
Create a React component for a todo list
Install Dimcode as your AI coding assistant CLI:
npm install -g dimcode
Or using other package managers:
# Using pnpm
pnpm add -g dimcode
# Using yarn
yarn global add dimcode
# Using bun
bun add -g dimcode
Run directly without installation:
npx dimcode
Press Ctrl+P to open the command palette, which provides quick access to:
Type slash commands directly in the input field:
| Command | Description |
|---|---|
/settings | Open settings dialog (custom providers) |
/config | Alternative for /settings |
/approvals | Manage tool approvals (auto/all) |
/approval | Alternative for /approvals |
/connect | Connect a provider |
/models | Select a model |
/sessions | List all sessions |
/new | Create a new session |
/redo | Redo last interaction |
/rename <title> | Rename current session |
/timeline | Jump to a user message |
/tl | Alternative for /timeline |
/review | Review code changes |
/debug | Open debug dialog (node mode only) |
/compact | Compact session context |
/init | Initialize/improve AGENTS.md |
/exit | Exit the application |
/longrunning | Toggle long-running mode |
/tool-settings | Configure tool-specific settings |
/toolsettings | Alternative for /tool-settings |
/mcp | Open MCP settings |
/mcphub | Alternative for /mcp |
/mcp-settings | Alternative for /mcp |
/codexlogin | Login with Codex OAuth |
/codex-login | Alternative for /codexlogin |
/language | Switch UI language |
/lang | Alternative for /language |
/locale | Alternative for /language |
/theme | Toggle light/dark theme |
| Shortcut | Action |
|---|---|
Ctrl+P | Open command palette |
F1 | Open help dialog |
Ctrl+O | Expand/collapse all tool calls & thinking |
Ctrl+K | Open settings (custom providers) |
Ctrl+C | Clear input (if non-empty); otherwise exit |
Ctrl+W | Clear input (alternative) |
Enter | Send message |
Shift+Enter | New line in input |
Ctrl+J | New line in input (alternative) |
Tab | Switch mode (Agent/Plan/Debug) |
Esc | Cancel/close dialog or interrupt response |
Shift+Option for rectangular selectionTab moves focus to the next input field; Shift+Tab moves to the previousIf you are comparing Dimcode with Claude Code, Codex, OpenCode, or Cursor, the main difference is that Dimcode focuses on a terminal-first agent experience with:
That makes it a good fit for developers who want an AI code assistant in the terminal, but need more control and visibility than a basic CLI chat loop.
Use one of these flows:
dim
/connect
You can also open settings any time with:
/settings
or press Ctrl+K.
On first launch, Dimcode will guide you through:
If you want to use Codex OAuth, you can sign in from the CLI:
dim auth codex
Inside the app, /codexlogin opens the same login flow.
/connect to add or switch a provider/settings to manage custom provider settings/models to change the active model/approvals to control tool execution permissions/tool-settings to configure tool-specific settings such as WebSearch/mcp to manage MCP integrationsSettings and local session data are stored in ~/.dimcode/dimcode/ by default.
Dimcode automatically discovers skills from both global and project-local directories:
~/.agents/skills/<your-project>/.agents/skills/~/.claude/skills/ and <your-project>/.claude/skills/Each skill should live in its own folder with a SKILL.md file:
~/.agents/skills/my-skill/SKILL.md
<your-project>/.agents/skills/my-skill/SKILL.md
If the same skill name exists in multiple places, project-local skills override global skills, and .agents/skills takes priority over .claude/skills.
To enable web search in the CLI, open:
/tool-settings
Then paste your WebSearch / Serper API key into the WebSearch API Key field and save.
By default, Dimcode stores tool settings in:
~/.dimcode/tools.json
If you prefer environment variables for advanced setups, Dimcode also checks:
DIMCODE_WEBSEARCH_KEYSERPER_API_KEYTo configure MCP servers from the CLI, open:
/mcp
Paste MCP JSON into the editor, then use the built-in format / test actions before saving. Example:
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
}
}
}
}
For Context7, this is the recommended hosted HTTP setup. If your MCP client supports MCP OAuth, Context7's official OAuth endpoint is:
https://mcp.context7.com/mcp/oauth
In Dimcode, use the standard remote HTTP endpoint plus auth headers unless native MCP OAuth support is added for remote servers.
CLI MCP settings are stored locally in:
~/.dimcode/tools.json
If you use DIMCODE_HOME, replace ~/.dimcode with that directory.
You can also skip /mcp and edit that file directly. The file format is:
{
"version": 1,
"updatedAt": 1735689600000,
"settings": {
"mcpServers": [
{
"id": "mcp_context7",
"name": "context7",
"transport": "http",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
}
}
]
}
}
Use /mcp when you want the friendlier editor and connection test UI. Edit ~/.dimcode/tools.json directly when you want to script, sync, or manage MCP config as a file.
Dimcode can run as an ACP server for editors and tools such as Zed or OpenClaw acpx.
Preferred commands:
dim acp
node /absolute/path/to/repo/scripts/acpx-agent.mjs
For GUI launchers, prefer absolute paths instead of relying on shell PATH.
Do not configure bun run acp-server in acpx or editor settings; it only works when the cwd is the repository root.
If you use Codex OAuth, run dim auth codex once first. If you use a custom provider, make sure ~/.dimcode/config.json already contains a valid provider setup.
Dimcode comes with powerful built-in tools:
Skills are specialized capabilities that can be activated to extend Dimcode's functionality. Built-in skills include:
dim
# Then type: "Create a React component for a todo list"
dim
# Then type: "Rename all instances of 'oldName' to 'newName' across the project"
dim
# Then type: "Search for the latest best practices in TypeScript 5.3"
dim
# Then type: "Compare Dimcode with Claude Code, Codex, OpenCode, and Cursor for terminal-first development"
~/.dimcode/dimcode/ (customizable via DIMCODE_HOME)FAQs
AI coding agent CLI and terminal coding assistant with an interactive TUI (beta channel)
The npm package dimcode receives a total of 2,176 weekly downloads. As such, dimcode popularity was classified as popular.
We found that dimcode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 3 open source maintainers collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards usersโ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.