Code with AI,
Right in Your Terminal

Tron CLI is a terminal-based AI coding agent. No IDE needed β€” generate code, refactor, and debug directly from the command line.

Linux / macOS
$ curl -fsSL https://upgrade.lianwo123.com/troncode/cli/install | bash
Tron β€” ~/project/my-app
Tron
Hello! I've analyzed your project. Detected a TypeScript + React project, found that src/api/auth.ts is missing token refresh logic. Want me to add it?
You
Add JWT token auto-refresh to @src/api/auth.ts, following the interceptor pattern in @src/utils/request.ts
βœ“ Read src/api/auth.ts (128 lines)
βœ“ Read src/utils/request.ts (64 lines)
β—Ž Generating code...
my-app
Context
18,421 tokens
12% used
$0.03 spent
LSP
TypeScript ●
ESLint ●
≑ Build Β· claude-opus-4-6 Β· streaming...

Terminal-native AI coding experience

No window switching. Collaborate with AI in your favorite terminal, focused on writing code.

🧠
Deep Codebase Understanding
Automatically analyzes project structure and coding conventions, generating AGENTS.md so AI understands your project context.
⚑
Plan → Build Workflow
Tab key switches between plan/build modes. Let AI draft a plan first, review it, then execute β€” full control at every step.
πŸ”Œ
MCP Tool Integration
Native MCP protocol support. Connect databases, APIs, browsers and other external tools to expand AI capabilities infinitely.
↩️
Git-level Undo/Redo
All file changes are Git-managed. /undo and /redo restore precisely β€” never worry about AI breaking your code.
πŸ”—
Multi-provider Support
Supports Anthropic Claude, OpenAI, Google Gemini, and TronCode curated model services. Switch freely.
🌐
Web / IDE Mode
Beyond TUI, also provides a web interface and IDE extension β€” one toolset, multiple workflows.

One command, start immediately

Supports macOS, Linux, and Windows.

Terminal
$curl -fsSL https://upgrade.lianwo123.com/troncode/cli/install | bash

Requires macOS 10.15+, installation completes automatically. View detailed docs →

Terminal
$curl -fsSL https://upgrade.lianwo123.com/troncode/cli/install | bash

Supports Ubuntu, Debian, CentOS and other major distributions. View detailed docs →

PowerShell
PS>irm https://upgrade.lianwo123.com/troncode/cli/install.ps1 | iex

Requires PowerShell 5.1+, run as administrator. View detailed docs →

Three steps to AI coding

From installation to your first AI-assisted task in minutes.

STEP 01
Install Tron
One command installs on macOS, Linux, and Windows.
curl -fsSL .../install | bash
βœ“ Tron installed successfully
STEP 02
Connect AI Provider
Run /connect to configure your API key. Supports TronCode, Anthropic, OpenAI, and more.
/connect
β–Ά troncode selected
βœ“ API key saved
STEP 03
Initialize & Start
Enter your project directory, run tron, then /init to let AI understand your project.
cd my-project && tron
$ /init
βœ“ AGENTS.md generated

Choose the right tool

TronCode IDE and Tron CLI serve different use cases β€” you can use both.

Feature TronCode IDE Tron CLI
AI Code Generation βœ“ βœ“
Terminal-native β€” βœ“
GUI Interface βœ“ β€”
MCP Integration βœ“ βœ“
SSH / Remote Server β€” βœ“
CI/CD Integration β€” βœ“
Git Undo/Redo βœ“ βœ“
Open Source β€” βœ“

Start your AI terminal coding journey

Free and open source β€” use your own API key with no registration required.