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
.
To 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=" ];
}