Installing Sugarkube is simple because it’s a single golang binary. Just download the latest release and copy it somewhere like /usr/local/bin
making sure it’s executable (with chmod +x sugarkube
).
You’ll also need a global config file. Download the default one and copy it to your home directory:
wget https://raw.githubusercontent.com/sugarkube/sugarkube/master/sugarkube-conf-basic.yaml
mkdir ~/.sugarkube
mv sugarkube-conf-basic.yaml ~/.sugarkube/sugarkube-conf.yaml
Test your installation by running sugarkube version
. If it prints various version information and doesn’t print an error, you’re good to go.
If you’re running Bash you can enable command completion with . <(sugarkube completion)
. Add that to your ~/.bashrc
(Linux) or ~/.bash_profile
(OSX) files to enable completion automatically when you create a new shell.