Install the CLI

The code is open source on github.

Installing from the Terminal

brew install bunnyshell/tap/bunnyshell-cli
installer=$(curl --silent https://raw.githubusercontent.com/bunnyshell/cli/master/installer.sh) \
    && [ "33cdd268adb1e26511b0cc90c9f4bf017bb145041677ca52d23a0f93cd13bd58 *stdin" = "$(echo -n "${installer}" | openssl dgst -sha256 -r)" ] \
    && (
        sh -c "${installer}" || :
    ) \
    || echo "Checksum did not match $(echo -n "${installer}" | openssl dgst -sha256 -r)" \
;
installer=$(curl --silent https://raw.githubusercontent.com/bunnyshell/cli/master/installer.sh) \
    && [ "33cdd268adb1e26511b0cc90c9f4bf017bb145041677ca52d23a0f93cd13bd58 *stdin" = "$(echo -n "${installer}" | openssl dgst -sha256 -r)" ] \
    && (
        SUDO_INSTALL=true INSTALL_PATH=/usr/local/bin sh -c "${installer}" || :
    ) \
    || echo "Checksum did not match $(echo -n "${installer}" | openssl dgst -sha256 -r)" \
;

Installing in a Dockerfile 

If you need the CLI in your images, we recommend using the one from the official Docker Image.

COPY --from=bunnyshell/cli /usr/bin/bns /usr/bin/bns

Download from Github Releases

Download the appropriate archive for your architecture on the releases page.

Then, un-archive it and run the binary.

 

Run in a Docker image

You can also choose to execute it using our provided Docker image:

docker run --volume ~/.bunnyshell:/root/.bunnyshell bunnyshell/cli environments list

👍

Next, see how to Authenticate in the CLI.