Installation
motabhai is a single executable. Download a release binary, install it with Cargo or Homebrew, or build it from source.
Release builds start with version 0.1.0. Every way of installing gives you
the same motabhai binary; check it with:
motabhai --version
Release binaries
Each GitHub release
has prebuilt binaries for macOS, Linux and Windows. Download the archive for
your platform, unpack it, and put motabhai (motabhai.exe on Windows)
somewhere on your PATH, such as ~/.local/bin or /usr/local/bin.
If macOS refuses to run a binary you downloaded with a browser, because it cannot check the developer, remove the quarantine attribute once, or install with Homebrew or Cargo instead:
xattr -d com.apple.quarantine ./motabhai
Homebrew
The Homebrew formula lives in the main repository rather than in a separate
homebrew-motabhai repository, so tap it with the repository's URL once,
then install:
brew tap gamesbrainiac/motabhai https://github.com/gamesbrainiac/motabhai brew install motabhai
Once the tap is added, brew install gamesbrainiac/motabhai/motabhai names
the formula in full, and brew upgrade motabhai updates it.
Cargo
With a Rust toolchain of version 1.100 or later:
cargo install motabhai
Cargo builds the binary and puts it in ~/.cargo/bin.
From source
To build the current development version, clone the repository and install
the motabhai crate from it:
git clone https://github.com/gamesbrainiac/motabhai cd motabhai cargo install --path crates/motabhai
cargo build --release -p motabhai builds it without installing, into
target/release/motabhai.
Tailwind CSS is not needed
motabhai has no runtime dependencies. Sites that opt into Tailwind CSS need
the Tailwind standalone executable, but motabhai downloads the pinned
version by itself the first time; see Assets and images.
Deploying with rsync needs rsync on your PATH, and deploying to GitHub
Pages needs git; see Deploying.