Quick start

This chapter gets orangu running against a local orangu-server with the sample configuration in doc/etc/orangu.conf.

Install orangu

The quickest way to install the latest release is the one-liner installer. It installs the whole stack — orangu, orangu-coordinator, and orangu-server.

Linux / macOS:

curl -fsSL https://raw.githubusercontent.com/mnemosyne-systems/orangu/main/install.sh | sh

Windows (Command Prompt):

curl -fsSL https://raw.githubusercontent.com/mnemosyne-systems/orangu/main/install.cmd -o install.cmd && install.cmd

Windows (PowerShell alternative):

Invoke-WebRequest -Uri https://raw.githubusercontent.com/mnemosyne-systems/orangu/main/install.cmd -OutFile install.cmd; .\install.cmd

The script installs to ~/.local/bin (Linux/macOS) or %USERPROFILE%\.local\bin (Windows) and warns if the directory is not in your PATH. See BUILDING.md for instructions on building from source.

Start orangu-server

Run orangu-server with your preferred model — a local .gguf path, a model already under the configured models directory, or a <user>/<model>[:quant] Hugging Face repo (fetched on first use):

orangu-server --all ggml-org/gemma-4-E4B-it-GGUF

It serves an OpenAI-compatible endpoint (API port 8100 by default), which is what orangu connects to:

http://localhost:8100/v1

See the Inference server chapter for host/port configuration, GPU backend selection, and the model-inventory subcommands.

Create a configuration

The fastest path is the interactive wizard, which auto-detects a model from the server, writes ~/.orangu/orangu.conf, and installs any bundled skills into ~/.orangu/skills/ when they are not already present:

orangu --init

See Configuration for the details of the wizard.

Or copy the sample:

cp doc/etc/orangu.conf ./orangu.conf

Default configuration lookup order is:

  1. ./orangu.conf
  2. ~/.orangu/orangu.conf

Run the client

orangu

Or:

orangu --config ./orangu.conf

Then start with:

/help
/skills
/server
/disconnect
/reload
/tools
/model
/session <UUID>
/list_files
/open_file README.md
/show_file README.md
/debugging reproduce the failing request path
/build
/shell ls -la
/create_file README.md
/auto_review
/amend "[#42] My feature"
/branch main
/branch -b feature/new
/branch -m new-name
/branch -d feature/old
/cherry_pick abc1234
/comment 51 "My comment"
/close -i 51
/issue reviewer 114 jesperpedersen
/get_comments -i 51
/commit "[#42] My feature"
/restore README.md
/diff
/init_repo
/log
/log 5
/show
/show aafd1cb
/merge feature/foo
/move_file old.rs new.rs
/pull 42
/push
/push --force
/rebase
/delete_file README.md
/review
/squash
/status
/usage
/clear
/quit

Most of these are thin wrappers around the matching git/gh commands. Two open full-screen views instead: /review walks you through the branch’s diff file by file for a manual review, and /auto_review has the connected model review the branch’s changes by itself — per file and per category (Code, Security, Memory, Performance, Test Suite, Documentation) — lets you override its verdicts afterwards (approve a file, or reject it with your own categorized comments), and copies the resulting report to the clipboard on exit. /auto_review <file> (Tab-completes on the file name) reviews a single file — the whole file on main/master, or just its changes on a branch — and /auto_review all reviews every Git-tracked file in the project. Both are described in detail in the Core tools chapter.

orangu also supports Agent Skills: reusable directories containing a SKILL.md. Skills are discovered from ~/.orangu/skills/, ~/.agents/skills/, <workspace>/.orangu/skills/, and <workspace>/.agents/skills/. Use /skills to list them. Invoke one directly with /skill-name, for example:

/debugging reproduce the failing request path and identify the root cause

Review your first branch

The review workflow is orangu’s standout feature, so it is worth trying right away. From a feature branch with some changes (committed or just edited in the working tree):

review

This opens the interactive reviewer: a two-pane view with your changed files on the right and the selected file’s diff on the left. Use Alt+j/Alt+k to move between files, Alt+a/Alt+r to approve or reject one, and Alt+c to leave a categorized comment on a line. Type a question such as is this thread-safe? and press Enter to ask the model about the selected file. Press Alt+x to leave; the report is copied to your clipboard.

To have the model do the work, run:

auto review

orangu reviews the whole change and each file across the Overall, Code, Security, Memory, Performance, Test Suite, and Documentation categories, marks every file with a green or red dot, and ends with an orangu approves/rejects this patch verdict. When the run finishes you can override any verdict and remove findings before the report lands on the clipboard.

The branch must be rebased up to date first — if it is behind, orangu points you at /rebase. If you review with a thinking model and the answers look truncated, raise review_max_tokens in [orangu] (e.g. 2048); see the Configuration chapter.

Share the result without leaving the terminal:

export review              # write the report to a PDF in the workspace root
comment on 42 with auto review  # post it on GitHub/GitLab issue/PR #42

By default the tools operate on the current directory. Use --workspace /path/to/project to point orangu at another tree.

Every startup flag has a short form: -c for --config, -t for --theme, -w for --workspace, -r for --resume, -a for --all (reopen the tabs from the previous run), -l for --list (print every stored session as a table and exit), -i for --init, -p for --prompt (run one prompt or command and exit), -q for --quiet (print nothing on success), and -s for --shell-completions. orangu --help lists them all.

orangu automatically resumes an existing session when you return to the same workspace and Git branch. When a previous session is found, the status bar shows:

Resuming session 550e8400-e29b-41d4-a716-446655440000

for five seconds or until the first command is run.

On exit, the resume command is printed so you can return to the session from a different branch or machine:

orangu --resume 550e8400-e29b-41d4-a716-446655440000

Sessions that had no LLM interaction on main, master, or outside a Git repository are deleted automatically on exit. Feature branch sessions are always kept.

Use /session to list all sessions and their branches. Use /session <uuid> (Tab completion cycles UUIDs and workspace paths) to switch to a specific session; passing a workspace switches straight to it when it matches exactly one session, otherwise it lists the matches. Passing a directory path that no session uses yet opens it as a new workspace — Tab falls back to filesystem completion (with ~ expansion) so you can navigate there, e.g. /session ~/Po<Tab>/pga<Tab>/of<Tab>.

Lines whose first non-whitespace character is # stay local and are not sent to the model. Lines whose first non-whitespace character is \ are ignored.