TTT Editor (Terminal Text Tool): A real alternative to VS Code, Zed, and Sublime that runs in your terminal. A TUI that feels like GUI. Single binary, zero config.
The IDE that lives in your terminal. A TUI that feels like GUI. A real alternative to VS Code, Zed, and Sublime that happens to run in your terminal. Single Go binary, zero config.

Full documentation lives in docs-web/src/content/docs/ (published at tttedit.dev).
Neither tool is required to install or use ttt for basic editing. They enable additional functionality:
brew tap eugenioenko/ttt
brew trust eugenioenko/ttt
brew install ttt
curl -sSfL https://raw.githubusercontent.com/eugenioenko/ttt/main/install.sh | sh
The script downloads the latest release binary for your OS/architecture and installs it to ~/.local/bin on Linux, /usr/local/bin on macOS and FreeBSD, or $PREFIX/bin in Android Termux (arm64). To install elsewhere:
curl -sSfL https://raw.githubusercontent.com/eugenioenko/ttt/main/install.sh | INSTALL_DIR="$HOME/bin" sh
Set INSTALL_DIR on sh so the installer receives it.
ttt-bin installs the prebuilt release binary:
yay -S ttt-bin
Or build from source with ttt:
yay -S ttt
Available in nixpkgs:
environment.systemPackages = [ pkgs.ttt ];
Or install directly from the repo flake (tracks the development branch):
nix run github:eugenioenko/ttt
scoop install ttt
Requires Go 1.25 or newer:
go install github.com/eugenioenko/ttt/cmd/ttt@latest
This installs the ttt binary to your $GOPATH/bin (or $HOME/go/bin by default). Make sure that directory is in your PATH.
Pre-built binaries for Linux, macOS, FreeBSD, Android (arm64), and Windows are available on the Releases page. Windows downloads include ttt-windows-amd64.exe for Intel/AMD PCs and ttt-windows-arm64.exe for ARM PCs. Download the one for your platform, make it executable, and put it in your PATH.
Note: Building from source compiles the latest development code, which may include work-in-progress features and could be less stable than official releases.
git clone https://github.com/eugenioenko/ttt.git
cd ttt
make build
This produces an optimized binary at bin/ttt. Add it to your PATH or copy it somewhere convenient:
cp bin/ttt ~/.local/bin/
TTT is available as a Herdr plugin, so you can open it as a pane inside your Herdr terminal workspace.
herdr plugin install eugenioenko/ttt/herdr-plugin
Once installed, bind it to a key (e.g. Ctrl+b e) to launch TTT in the active worktree with a single keystroke. See the Herdr plugin README for setup and configuration details.
.editorconfig support and indent detection — indentation is picked up automatically per file; manual override via the status bar indent picker( and ,Open multiple project directories in a single session. Each root appears as a collapsible group in the explorer, search, and changes panels.
ttt # opens the current directory
ttt . # also opens the current directory
ttt /path/to/dir # opens that directory as the workspace
ttt /path/to/file.go # opens just the file — no workspace folder
ttt /path/to/file.go:42:5 # opens the file at line 42, column 5
Code freeze for v2.0.0: Dec 7 to Dec 17
https://github.com/eugenioenko/ttt/issues/1960
Labels: None
Add an option to disable highlighting the first indent guide
https://github.com/eugenioenko/ttt/issues/1958
Labels: good first issue
feat(ui): add animations
https://github.com/eugenioenko/ttt/issues/1922
Labels: None
Retry failed panel visibility state saves
https://github.com/eugenioenko/ttt/issues/1910
Labels: good first issue
fix(highlight): detect .editorconfig files as INI
https://github.com/eugenioenko/ttt/issues/1903
Labels: bug, good first issue
Thanks for your interest in contributing! Read the README for an overview of the project.
Prerequisites: Go 1.25+, Git, ripgrep.
make build # builds to bin/ttt
make test # go test ./...
make lint # gofmt check + golangci-lint run
bin/ttt --exec "..." scripts input and captures screenshots; bin/ttt --listen lets you drive a running editor.make test and make lint pass, then open a PR against main.AGENTS.md is the detailed guide for humans and AI agents alike: architecture constraints, test layers, the debug harness, and PR expectations. ARCHITECTURE.md covers package boundaries.
TTT is close to feature parity with the editors it is modeled on, so most remaining work is polish and fixes rather than new surface area. Before building a new feature, open an issue describing what you want and why, and wait for the maintainer and community to agree on scope and design. This keeps the editor coherent and avoids a finished PR that cannot be merged.
These are suggestions, not rules. They help avoid duplicated and wasted effort.
main that shows the problem, then fix it.Run make fmt before committing. Add a comment only when missing it would cause a bug or misuse. AI-generated code tends to over-comment, so strip those comments before opening a PR.
type(scope): description