Install bob
Bob is a single binary and requires to be in your $PATH
. Depending on your system run the following commands:
- Linux
- MacOS
- Windows
wget https://github.com/benchkram/bob/releases/download/0.6.0/bob_0.6.0_linux_amd64
chmod +x bob_0.6.0_linux_amd64
cp bob_0.6.0_linux_amd64 /usr/local/bin/bob
wget https://github.com/benchkram/bob/releases/download/0.6.0/bob_0.6.0_darwin_amd64
chmod +x bob_0.6.0_darwin_amd64
To confirm that everything went fine, just run:
bob --version
You should get a message about current bob version.
Install Nix
bob requires Nix to install project dependencies, so before using bob make sure you have Nix installed.
You can install Nix by running:
sh <(curl -L https://nixos.org/nix/install) --no-daemon
Above command will perform a single-user installation of Nix, meaning that /nix
is owned by the invoking user. You should run this under your usual user account, not as root
.
The script will invoke sudo to create /nix
if it doesn't already exist.
To verify your installation type:
nix --version
You should get a message with current Nix version installed.
Autocompletion
For bash
add this to .bashrc
:
source <(bob completion)
For zsh
add this to .zshrc
:
source <(bob completion -z)
To start your journey with bob continue to Quick Start.