Code with AI
In Your Terminal

Tron CLI is a terminal-based AI coding agent — no IDE needed. Generate, refactor, and debug code 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, referencing 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...
Core Features

Terminal-Native AI Coding Experience

No window switching — collaborate with AI in your favorite terminal, stay focused on code.

🧠
Deep Codebase Understanding

Automatically analyze project structure and coding conventions, generate AGENTS.md for AI context.

Plan → Build Workflow

Switch between Plan/Build modes with Tab — let AI draft a plan first, confirm, then execute. Full control at every step.

🔌
MCP Tool Integration

Native MCP protocol support — connect databases, APIs, browsers and external tools. Infinitely extend AI capabilities.

↩️
Git-Level Undo/Redo

All file changes managed via Git. /undo and /redo for precise rollback. 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 Modes

Beyond TUI — also provides a web interface and IDE extension. One toolset, multiple usage scenarios.

Install

One Command to Get Started

Supports macOS, Linux, and Windows — full platform coverage.

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 mainstream 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 →

Workflow

Start AI Coding in 3 Steps

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

STEP 01
Install Tron
One command to install — supports 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
Navigate to your project, run tron, execute /init to let AI understand your project structure.
cd my-project && tron
$ /init
✓ AGENTS.md generated
Product Comparison

Choose the Right Tool for You

TronCode IDE and Tron CLI serve different use cases. You can use both together.

Feature TronCode IDE Tron CLI
AI Code Generation
Terminal-native experience
Graphical interface
MCP Tool Integration
SSH / Remote servers
CI/CD script integration
Git undo/redo
Open source
Try It Now

Start Your AI Terminal Coding Journey

Free and open source. Start using your own API Key with no registration required.

View Docs Contact Us