Installation
gaji can be installed in multiple ways depending on your preference and environment.
No JS Runtime Required
gaji bundles QuickJS internally, so you don't need Node.js or any external JavaScript runtime installed. It works as a standalone binary!
npm
Install gaji via npm:
npm install -D gajiThis installs gaji as a dev dependency:
gaji --helpOther Package Managers
# pnpm
pnpm add -D gaji
# yarn
yarn add -D gajiCargo
If you have Rust installed, you can install gaji directly from crates.io:
cargo install gajiThis installs the gaji binary globally:
gaji --helpBinary Download
Download pre-built binaries from GitHub Releases:
Linux (x64)
curl -L https://github.com/dodok8/gaji/releases/latest/download/gaji-linux-x64.tar.gz | tar xz
sudo mv gaji /usr/local/bin/macOS (ARM64)
curl -L https://github.com/dodok8/gaji/releases/latest/download/gaji-darwin-arm64.tar.gz | tar xz
sudo mv gaji /usr/local/bin/macOS (x64)
curl -L https://github.com/dodok8/gaji/releases/latest/download/gaji-darwin-x64.tar.gz | tar xz
sudo mv gaji /usr/local/bin/Windows
Download gaji-win32-x64.tar.gz from the releases page and extract it to a directory in your PATH.
Verify Installation
Check that gaji is installed correctly:
gaji --versionRequirements
gaji has no runtime dependencies:
- ✅ No Node.js required - gaji bundles QuickJS internally
- ✅ No external JavaScript runtime - completely self-contained
- ✅ Works with any language or build tool
The only requirement is a package manager if installing via npm:
- npm/pnpm/yarn (for npm installation only)
Updating
npm
npm update gajiCargo
cargo install gaji --forceBinary
Download and replace the binary with the latest version from GitHub Releases.
Next Steps
Once installed, proceed to Getting Started to set up your first project.
