Skip to content

Installation

Feel free to install Kānuka using any of the following methods, although installing using Go itself is recommended.

You’ll need to have Go installed first, and have the Go binaries available on your system path. Check the Go installation documentation if you haven’t installed Go already.

It’s also worth making sure that you have your Go binaries on your system path. The Go installation tool should handle that for you, but if you installed Go through a different way (for example, using a package manager like brew), then you’ll need to manually put Go in your path.

~/.bashrc
# add the following line to your `~/.bashrc`
export PATH=$HOME/go/bin:$PATH

On any operating system, just run the following:

Terminal window
go install github.com/PolarWolf314/kanuka@latest

Kānuka releases artifacts which can be downloaded directly from GitHub Releases.

Each release page includes the binaries for all supported platforms.

If you installed Kānuka using Go, then running the following should be enough:

Terminal window
go install github.com/PolarWolf314/kanuka@latest

If you installed Kānuka using a GitHub Release, just navigate to the GitHub Releases page, and install your existing binary with the newest version.

Because Kānuka is built using Cobra, shell autocomplete is supported for bash, zsh, fish, and powershell.

Terminal window
# Linux:
kanuka completion bash > /etc/bash_completion.d/kanuka
# macOS:
kanuka completion bash > $(brew --prefix)/etc/bash_completion.d/kanuka

You need to manually remove the Kānuka binary from your system. If you used go install to install Kānuka, then you can just go to the folder where your binaries are installed, and remove the binary.

If you installed using a GitHub Release, then remove the binary from where you installed it.