Run the command (recommended):
cargo install gitu --locked
...or to install from git, run:
cargo install --git https://github.com/altsem/gitu.git --locked
You can install the gitu package from the official extra repository:
pacman -S gitu
gitu is available on Github Releases and should be installed from there.
The latest release is available here.
Download the archive that is appropriate for your platform and extract the
binary into your $PATH. A common valid path location is /usr/local/bin.
You can use mise-en-place, a polyglot tool version manager to install and make available for all your projects the last version of gitu using a command like:
mise use -g gitu@latestTo build from master on flaked Nix platforms add this repo to your inputs:
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
gitu.url = "github:altsem/gitu";
};Then wherever you install your packages (i.e., home-manager):
{ inputs, pkgs, ... }: {
home.packages = [ inputs.gitu.packages.${pkgs.system}.default ];
}You can also use this repo's binary cache to avoid building gitu:
nix.settings = {
extra-substituters = [ "https://gitu.cachix.org" ];
extra-trusted-public-keys =
[ "gitu.cachix.org-1:iUIaNys1l3W1LF/M8OXzaTl7N/OinGOlzdUJUSc+5eY=" ];
}