Installation
Get Jutsu up and running on your system. Before installing, ensure you meet the system prerequisites.
Prerequisites
Section titled “Prerequisites”To run Jutsu, your system must meet the following requirements:
- Go 1.25+ — Install Go if you plan to build from source or install via Go tools.
- Jujutsu (
jj) CLI — Installjjversion control system, which Jutsu composes commands for. - Terminal Emulator — A modern terminal emulator with:
- 256 color support
- Unicode / UTF-8 encoding
- Minimum width of 80 columns
Installation Methods
Section titled “Installation Methods”Choose the installation method that best fits your workflow and operating system.
1. Quick Install (Linux/macOS)
Section titled “1. Quick Install (Linux/macOS)”For most Unix-like environments, you can download and install the latest compiled release with a single command:
curl -fsSL https://raw.githubusercontent.com/AliQ80/jutsu/main/install.sh | sh2. Download from GitHub Releases
Section titled “2. Download from GitHub Releases”If you are on Windows or prefer downloading compiled binaries manually:
- Navigate to the Jutsu Releases page and download the archive matching your OS/architecture (
.tar.gzfor Linux/macOS,.zipfor Windows). - Extract the archive and enter the extracted folder.
- Choose one of the setup options below:
Option A: Automatic Symlinking with binmy (Recommended)
Section titled “Option A: Automatic Symlinking with binmy (Recommended)”If you have binmy installed, run:
binmy jutsuThis symlinks the jutsu binary into ~/.local/bin, marks it executable, and ensures that directory is added to your $PATH.
Option B: Manual Installation
Section titled “Option B: Manual Installation”Move the executable binary to a folder in your system $PATH and ensure it has execution permissions:
chmod +x jutsumv jutsu ~/.local/bin/3. Installation via Go
Section titled “3. Installation via Go”If you have Go configured on your path, install the latest package using go install:
go install github.com/AliQ80/jutsu@latestBuilding from Source
Section titled “Building from Source”For development or compiling directly from the latest codebase:
# 1. Clone the repositorygit clone https://github.com/AliQ80/jutsu.gitcd jutsu
# 2. Fetch and tidy dependenciesgo mod tidy
# 3. Compile the binarygo build -o jutsu .
# 4. Launch the interface./jutsuTroubleshooting
Section titled “Troubleshooting”jj Command Not Found
Section titled “jj Command Not Found”Jutsu relies entirely on having the Jujutsu (jj) command-line tool accessible in your environment. If Jutsu fails to detect it, verify its availability:
which jjjj --versionIf it is not present, follow the official Jujutsu installation guide.
Terminal Compatibility Issues
Section titled “Terminal Compatibility Issues”If the TUI characters appear corrupted, colors are off, or elements are misaligned, check the following:
- Unicode Support: Ensure your terminal environment is set to UTF-8. Run
localein your shell and check thatLANGcontainsUTF-8(e.g.,en_US.UTF-8). - Color Profile: Ensure your terminal supports 256 colors. Try running
echo $TERM—it should reportxterm-256color,screen-256color, or similar. - Window Constraints: Jutsu layout is optimized for interactive navigation and requires a terminal width of at least 80 columns. Expand your terminal window if elements overlap.
Go Build Errors
Section titled “Go Build Errors”If compilation fails during Go build, check that your Go toolchain matches requirements:
go versionEnsure you are using Go 1.25+. You can also clean and refresh dependencies by running:
go mod tidygo get -u