GitHub 火線榜

GitHub 火線榜 · 倉庫檔案

zenbu-labs/terminal-code

VS Code in the terminal (簡介來自倉庫自身文件。)

資料截至 October 26zenbu-labs

最好成績

#296

潛力榜 · 90 天斜率

2.2K

累計 Star

92

Fork 總數

4

近 30 天在榜天數

上榜 4 天 · 近 30 天 +15 星 · 日均 +4連續在榜 3 天

專案狀態授權條款: MIT最近 push: October 19Open Issues(含 PR): 26

自 2026-10-25 起採集;未知 = 尚未採集到

把上榜徽章放進你的 README · zenbu-labs/terminal-code[![把上榜徽章放進你的 README](https://git.vaiox.xyz/api/badge/zenbu-labs/terminal-code.svg)](https://git.vaiox.xyz/zh-TW/repo/zenbu-labs/terminal-code)
<a href="https://git.vaiox.xyz/zh-TW/repo/zenbu-labs/terminal-code"><img src="https://git.vaiox.xyz/api/badge/zenbu-labs/terminal-code.svg" alt="把上榜徽章放進你的 README" height="20"></a>

專案文件

terminal-code

VS Code inside your terminal

todemp4.mp4

Install (macOS & Linux):

curl -fsSL https://tode.sh/install | bash

Usage

Usage: tode [path...] [options]
       tode --<command>

  tode                  Open the folder in the current working directory
  tode <folder>         Open the specified folder
  tode <file>           Open the specified file


Options:
  -g, --goto <f:l:c>    Open a file at a line and column
  -a, --add <folder>    Add a folder to the active workspace
  -n, --new-window      Open a new pane even for a file
  -w, --wait            Wait until the file is closed again
  -d, --diff <a> <b>    Compare two files
  -r, --reuse-window    Open folder in this window rather than a new pane
  --install-extension   Install an extension by id or vsix path
  --uninstall-extension Remove an extension
  --list-extensions     List installed extensions
  --split <direction>   Open in a new pane: right, left, down, up
  --size <fraction>     The % a new split will take up (0.2 to 0.95)
  --timing              Report how long each stage of this open took
  --review              Open on the source control panel
  --ssh <user@host>     Run terminal-code on an ssh server

Commands, each as the first argument:
  --shortcut-setup      Resolve shortcut conflicts between terminal-code and the current terminal
  --timing              Profile terminal-code launch
  --import [editor]     Bring settings, keybindings, snippets and extensions
                        over from vscode compatible editors
  --theme [file]        Set editor theme
  --enable-transparency Make the editor transparent
  --disable-transparency Make the editor opaque again
  --serve [path]        Start code server and print its url
  --skill               An agent skill to assist with modifying terminal-code
  --upgrade [--check]   Upgrade terminal-code to the latest version
  --shutdown            Stop all terminal-code activities
  --uninstall [--yes]   Remove all terminal-code data from this machine

How does it work?

terminal-code combines terminal-browser (a browser in the terminal) and code-server (VS Code in the browser) to bring VS Code to the terminal. You should look into these projects for more details!

Shortcuts

Your terminal and terminal-code will likely conflict on important shortcuts, meaning sometimes terminal-code will never even receive your key press. To resolve shortcut conflicts you can run tode --shortcut-setup, and you will be placed into an interactive wizard that lets you change terminal or terminal-code shortcuts so they no longer conflict

SSH

The recommended way to use terminal-code over ssh is running tode --ssh <ssh arguments> on your local machine.

The alternative is running tode directly on the machine you are shh'd into. This will work, but requires:

  • every single frame drawn by vscode to be sent over the network
  • all user input to be sent over the network before vscode can react
  • misses out some extra optimizations

tode --ssh improves on this by running only the backend of vscode on the remote machine. The frontend is still running locally on your device, so vscode is able to respond to interactions ~instantly. Any network requests will get proxied over the ssh connection.

Windows

terminal-code depends on a modern terminal feature (the kitty graphics protocol) that not many terminals on Windows support. There are projects attempting to bring this capability to terminals on Windows that you can try at your own risk:

Even with a compatible terminal, terminal-code does not have an official windows build. But, it's possible to install the linux version of terminal-code inside WSL, which is the final piece needed to run terminal-code on Windows. Please file an issue if you are eager for a more official solution

當前上榜

  • 296

    潛力榜 · 90 天斜率

    2.2K 星 · 92 fork · 星星 / 天

    潛力 →

近 30 天勢頭

累計 Star 走勢

名次走勢

每日新增 Star

同榜競速 · 名次近鄰 · 潛力

同類專案 · 共享主題

← 回到榜單