A unified terminal workspace for files, Git, code, and shell.
Forge TUI by Creature Studio (creature-studio/forge) is an open-source terminal workspace built with Rust and Ratatui for Linux, macOS and native Windows. It combines a terminal file manager, Git client, code search and integrated terminal. Browse files, preview and edit code, review full-file diffs, stage changes, and manage branches, history, and stashes without switching between tools.
Official website · Practical guide · Download · 中文介绍 · Issues
29-second recording of a real Forge terminal session: browse, search, review a diff, stage a change, and run tests. View full-resolution screenshots.
When working over SSH, in tmux, or in a local terminal, switching between a file manager, editor, and Git client interrupts your flow. Forge keeps files, Git changes, source search and shell sessions in one workspace so you can follow a project task without repeatedly switching tools.
- Files + Git, together. Browse a tree with Git status, then switch to changes and staged files in the same app.
- Review before you commit. Side-by-side diffs, full-file context, hunk/line staging, commit history and blame.
- Stay in the terminal. Built-in syntax-highlighted previews, Markdown preview, search, lightweight editing, and embedded terminal tabs for CLI tools.
- Mouse and keyboard. Click, drag splitters and scrollbars, open context menus, and use configurable shortcuts.
- Manage the complete Git loop. Stage/unstage, commit, push/pull, branches, stash, and worktrees.
- Make it yours. Themes, color-depth options, customizable shortcuts, and Unicode/ASCII/Nerd Font icon modes.
Forge is a terminal workspace, not a replacement for every specialized tool. If you are comparing terminal development tools, read our Lazygit comparison and Yazi comparison. Forge connects these everyday workflows rather than trying to replace your favorite editor or every Git CLI operation.
Linux (x86_64 / aarch64, glibc), macOS (Intel / Apple Silicon), and Windows x64 have prebuilt release targets. A Rust toolchain is not needed once the matching release is published.
curl -fsSL https://forge.runs-on.dev/install.sh | shWindows 10/11 x64 (PowerShell or Windows Terminal):
irm https://forge.runs-on.dev/install.txt | iexThe Windows installer verifies the ZIP checksum and installs forge.exe to %LOCALAPPDATA%\Programs\Forge\bin, adding it to your user PATH. Open a new terminal and run forge from a project directory. Windows upgrades use the same installer (close Forge before reinstalling); forge update remains Linux/macOS-only. Requires Git for Git actions. To inspect the installer, see install.ps1.
The installer downloads the appropriate GitHub Release, verifies its SHA-256 checksum, and installs into ~/.local/bin by default. Review the install script before running it, or download a release manually.
cd /path/to/your/project
forgeMake sure ~/.local/bin is on your PATH. To check for and install updates:
forge update --check
forge updateInstallation options: FORGE_INSTALL_DIR=/your/bin changes the destination and FORGE_VERSION=v0.3.0 pins a release. See the release and update guide for details. Windows x64 releases use a native MSVC ZIP archive; WSL remains an alternative.
Every image below was captured from a running Forge TUI, using an isolated demo Git repository. The illustrated Chinese guide now includes 19 updated screenshots and step-by-step workflows.
| Files & source preview | Full Git diff |
|---|---|
![]() |
![]() |
| Global content search | Commit composer |
![]() |
![]() |
| Embedded terminal | Settings |
![]() |
![]() |
- Files and Git in one workspace: folder navigation, fuzzy file finding, Markdown/source previews, full-file diffs and staged/unstaged views.
- Integrated development controls: lightweight text editor, real Shell tabs with persistent sessions when hidden, in-file and global search.
- Git review and management: commit composer, history, blame, source change peek, branches, stashes and worktrees.
- TUI-first UI: configurable themes, Focus Overview, scrollbars, collapsible Activity Bar, contextual footer and hover tooltips.
| Key | Action |
|---|---|
F1 / F2 |
Files / Git |
Ctrl+P |
Find files by name |
Ctrl+F (preview focused) |
Search inside the current file |
Ctrl+K |
Command palette, including global content search |
Ctrl+R |
Refresh files and Git status |
Alt+R (content search panel) |
Toggle regular expressions |
F3 |
Toggle Markdown preview and source |
F6 / F7 |
Blame details / Git Change Peek (source mode) |
Ctrl+E |
Edit selected file |
F4 / F5 |
Shortcut manager / Help |
F9 |
Settings |
Alt+A / Alt+U (Git) |
Stage / unstage |
c (Git) |
Commit composer; Ctrl+S reviews the commit |
Alt+B / Alt+Z |
Branches / Stashes |
F8 / Shift+F8 |
Show Terminal / New Shell tab |
The old ? (Help), , (Settings) and single-letter s/u (stage/unstage) shortcuts are not the current defaults. Always use F4 to see effective bindings; some keys depend on the focused panel. Mouse support includes hover tooltips, text selection, clickable controls and scrollbars.
Requires Rust 1.89+ and Git:
git clone https://github.com/creature-studio/forge.git
cd forge
cargo build --release -p forge
cargo test --workspaceThe executable is produced at target/release/forge.
- 中文操作文档
- 发布说明 / Release notes
- Practical guide: file browsing, Git staging, comparison and limits
- Engineering: bounded filesystem events in a Rust Git TUI
- Detailed usage and developer reference
- Releases and self-update
- Themes
- Syntax highlighting
- Report a bug or request a feature
Forge is open-source under the MIT license. Contributions and practical feedback are welcome.






