Installation¶
git-spice may be installed with a pre-built binary or built from source.
System requirements
-
Operating system: Linux and macOS are fully supported. Windows support was added in v0.6.0.
-
Architecture: x86_64 and aarch64 architectures are supported. Additionally on Linux, some 32-bit ARM architectures are also supported.
-
Git: At least Git 2.38 is required for git-spice to operate correctly. Earlier versions may work, but are not officially supported.
Pre-built binary¶
To install a pre-built binary, take the following steps:
brew install abhinav/tap/git-spice
git clone https://aur.archlinux.org/git-spice-bin.git
cd git-spice-bin
makepkg -si
# Or, with an AUR helper like yay:
yay -S git-spice-bin
Pre-built binaries for other platforms can be found on the GitHub Releases page.
Build from source¶
To build from source, follow these steps:
- Install the Go compiler.
-
Run the following command:
go install go.abhg.dev/gs@latest