Skip to content

Installation

This guide covers all methods to install grite on your system.

The fastest way to install grite:

curl -fsSL https://raw.githubusercontent.com/neul-labs/grite/main/install.sh | bash

This downloads the pre-built binary for your platform and installs to ~/.local/bin/.

Package Managers

brew install neul-labs/tap/grite
cargo install grite grite-daemon

Requires Rust 1.75+.

npm install -g @neul-labs/grite
pip install grite-cli
gem install grite-cli
choco install grite

From Source

Build from source for the latest development version:

git clone https://github.com/neul-labs/grite.git
cd grite
./install.sh --source

This requires:

  • Rust 1.75+
  • nng library (see prerequisites below)

Prerequisites

Git

Grite requires Git 2.38 or later. Check your version:

git --version

nng Library

The nng (nanomsg-next-gen) library is required for inter-process communication between the CLI and daemon.

sudo apt install libnng-dev
brew install nng

The nng library is bundled with pre-built Windows binaries. No separate installation needed.

git clone https://github.com/nanomsg/nng.git
cd nng
mkdir build && cd build
cmake ..
make
sudo make install

Verifying Installation

After installation, verify grite is working:

grite --version

You should see output like:

grite 0.1.0

Updating

To update grite to the latest version:

Run the install script again:

curl -fsSL https://raw.githubusercontent.com/neul-labs/grite/main/install.sh | bash

brew upgrade grite
cargo install grite grite-daemon --force
npm update -g @neul-labs/grite

Uninstalling

Remove the binaries:

rm ~/.local/bin/grite ~/.local/bin/grite-daemon

brew uninstall grite
cargo uninstall grite grite-daemon
npm uninstall -g @neul-labs/grite

Next Steps

Now that grite is installed, head to Quick Start to create your first issue.