Legacy CLI Documentation

These docs cover the original Rift CLI for managing parallel Git worktrees and launching coding agents. This version is preserved for existing users while Rift moves forward as a native desktop app.

Install

npm install -g @priyashpatil/rift

Run rift config, restart your terminal, then run rift init in your project. Continue with the Getting Started guide.

Documentation

Supported agents

Any CLI agent works by setting its command in rift.yaml, including Codex, Amp, Claude Code, OpenCode, Copilot, Gemini, Kiro, and Continue.

Command Reference

CLI reference for all Rift commands and options.

Configuration

Complete reference for rift.yaml and global config files.

Guides & Tutorials

Step-by-step guides for setting up and using Rift.

Lifecycle Hooks

Configure lifecycle hooks in rift.yaml to run commands on worktree events.