Review code in the terminal and submit directly to your platform
You can scan changes, add comments, and send the results directly to services like GitHub or GitLab from within the terminal. tuicr is a tool that lets you handle code reviews entirely with the keyboard, without a graphical interface like Visual Studio Code. It supports vim keybindings, allowing you to navigate and edit quickly using familiar controls.
Continuous diffs and review tracking in the terminal
tuicr provides a GitHub-style continuous diff view, allowing you to scroll through all changed files in a single flow. You can add comments at the line, range, file, or review level, and track review status by file or hunk. This tracking information persists after the session ends, so you can resume work when you reopen it later. It automatically detects git, jj, and mercurial, and you can start reviews from various targets, ranging from uncommitted changes to specific PRs.
Submitting reviews to six platforms
Once the review is complete, you can upload the results to the actual platform using the :submit command.
- GitHub Requires gh CLI authentication. Inline comments and review summaries are sent as actual PR reviews.
- GitLab Requires glab CLI authentication. Inline comments are posted as discussion notes, and Drafts as draft notes.
- Gitea Requires tea CLI login. Review comments and summaries are sent together in one request, but multi-line comments only retain the last line.
- Bitbucket Requires bkt CLI authentication. Only Cloud PRs are supported; Data Center is not a target.
- Azure DevOps & Gerrit Requires PAT or HTTP password authentication, respectively. Run from a local clone to generate changes via git diff.
Integration with agents and scripts
You can copy review results as structured markdown to the clipboard or pipe them to standard output. Each comment includes a number and file/line anchor, formatted for direct pasting into coding agents like Claude, Codex, or Cursor. The tuicr review CLI allows you to list saved sessions or add and delete comments without opening the TUI, which is useful for script integration. A Rust library API is also provided, offering a programming interface to manage sessions and insert comments via ReviewStore.
Installation and update management
It can be installed via various methods, including curl scripts, Homebrew, Pacman, Cargo, Mise, and Nix. Linux binaries are available in both dynamically linked GNU and static musl versions. You can update the currently installed version using the tuicr update command; if a package manager manages the executable, it updates through that manager, otherwise it updates directly from GitHub release assets after SHA-256 verification.
Things to check before use
tuicr is released under the MIT license and is a single static binary written in Rust. To use platform-specific submission features, the corresponding platform's CLI tool and authentication must be pre-configured. There are platform-specific limitations, such as Bitbucket not supporting Data Center and Gitea not supporting range comments, so it is recommended to check the relevant documentation in the docs folder before use. It is suitable for developers familiar with vim keybindings in a terminal environment, while users who prefer graphical interfaces may find the controls unfamiliar.