Skip to content

Getting Started

The furca CLI installs from the release. The desktop window builds from a checkout until its installers are signed - see The window.

One line on Windows (PowerShell):

Terminal window
irm https://raw.githubusercontent.com/lacodda/furca/main/tools/install.ps1 | iex

One line on macOS / Linux:

Terminal window
curl -fsSL https://raw.githubusercontent.com/lacodda/furca/main/tools/install.sh | sh

Or download the archive for your platform from Releases (Windows x86_64, Linux x86_64, macOS arm64), unpack it and put furca on your PATH.

Variable Effect
FURCA_VERSION Install this tag (vX.Y.Z) instead of the latest release.
FURCA_INSTALL_DIR Install here instead of %LOCALAPPDATA%\Programs\furca (Windows) or ~/.local/bin (macOS, Linux).
FURCA_NO_PATH Leave the PATH alone: the Windows installer does not add the directory, the other says nothing about it. For an install into a scratch directory.

Inside any repository:

Terminal window
$ furca status
On main at 171154d, tracking origin/main
$ furca log -n 2
171154d 2026-09-17 Ada Author docs: fill the readme out as a shopfront
d402e85 2026-09-17 Ada Author chore: point components.json at the dowel registry
... more history; raise --limit (now 2)

Every command takes --json for scripts and assistants, and those that read one repository take -C PATH to read one other than the one you are in. It exits 0 when it did what was asked, 1 when the answer is no - a release plan with something in its way, a release run that stopped, CI that is not green, a repository with work not pushed - and 2 when it could not answer at all. See status, refs, log, show, diff, push, checks, line and release.

In a GitHub Actions workflow, the repository’s own action installs the CLI from a release - see release in CI.

The CLI is a thin door onto furca-core, a plain Rust library with no terminal or window of its own:

Terminal window
cargo add furca-core
let repo = furca_core::Repository::open(".")?;
let log = repo.log(furca_core::Tips::All, 500)?;
// The graph the window draws: lanes laid out a chunk at a time.
let mut graph = repo.graph(furca_core::Tips::All)?;
graph.extend(&repo, 500)?;
for row in graph.rows(0..20) {
println!("lane {} with {} segments", row.column, row.segments.len());
}
// What a commit changed, and one file's lines - both texts and the hunks.
let changes = repo.changes("HEAD")?;
if let Some(file) = changes.files.first() {
let diff = repo.diff(file)?;
println!("{}: {} hunks", file.path, diff.hunks.len());
}
// A file as it was, byte for byte, and the commits that changed it,
// followed through its renames.
let bytes = repo.file_at("HEAD~3", "README.md")?;
let history = repo.file_log("README.md", 20)?;

You need Rust; the desktop shell also needs Node 22+ and pnpm. See CONTRIBUTING.md.