Depending on your system of choice run the following commands to install bob:
- Linux & MacOS
- Nix Users
curl -L https://bob.build/install.sh | BIN_DIR=bin sh
BIN_DIR is empty, bob binary will be downloaded in the working directory.
BIN_DIR, the installation script also supports
BOB_VERSION option to install a custom version
curl -L https://bob.build/install.sh | BIN_DIR=bin BOB_VERSION=0.6.3 sh
bob is available on the
unstable nixpkgs channel and can be installed with:
nix-env -iA nixos.bob
nix-env -iA nixpkgs.bob
nix-shell -p bob
nix profile install github:benchkram/bob
To confirm that everything went fine, just run:
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
The script will invoke sudo to create
/nix if it doesn't already exist.
To verify your installation type:
You should get a message with current Nix version installed.
bash add this to
source <(bob completion)
zsh add this to
source <(bob completion -z)
To start your journey with bob continue to Quick Start.