macOS · Apple silicon or Intel

Install Clúsia

Open Terminal, paste this line and press Return. The app opens by itself when it is ready, about 5 minutes the first time.

curl -fsSL https://raw.githubusercontent.com/rzorzal/clusia/main/install.sh | bash

What the script does

  1. Builds Clúsia with Homebrew when you have it, and otherwise directly with Rust, installing the Xcode command line tools and Rust first if they are missing.
  2. Runs clusia install, which puts Clusia.app in /Applications (or ~/Applications), registers the background service to start at login, and links clusia into /usr/local/bin (or ~/.local/bin).
  3. Opens the app.

Requirements

Options

OptionEnvironmentWhat it does
--dry-runCLUSIA_DRY_RUNPrints every step and changes nothing
--no-brewCLUSIA_NO_BREWBuilds directly even when Homebrew is installed
--no-openCLUSIA_NO_OPENDoes not open the app at the end
--ref REFCLUSIA_REFInstalls a branch or tag instead of main

Through the pipe, pass options after bash -s --:

curl -fsSL https://raw.githubusercontent.com/rzorzal/clusia/main/install.sh | bash -s -- --no-brew

Homebrew by hand

The same two steps the script runs:

brew install --HEAD rzorzal/clusia/clusia
clusia install --from "$(brew --prefix clusia)/libexec/bin"

Read the script first

Download it, read it, then run it:

curl -fsSL https://raw.githubusercontent.com/rzorzal/clusia/main/install.sh -o install.sh
less install.sh
bash install.sh

From a clone

From a clone of the repository (you need Git and the Rust toolchain pinned in rust-toolchain.toml):

cargo run --release -p clusia -- install

clusia install --dry-run shows what it would do.

Updating

Run the same command again. It replaces the app and keeps your settings and the notification permission.

Uninstall

clusia uninstall
brew uninstall clusia    # only if you installed through Homebrew

clusia uninstall removes the app, the login agent and the clusia link. Your reviews and settings stay in ~/Library/Application Support/Clusia until you delete that folder.