1. CLI
  2. How do I install the CLI?

The CodeCrafters CLI is a command-line tool that allows you to run tests & view test results from your local machine. It is available for Mac, Linux and Windows (via WSL).

Mac

If you have the Homebrew package manager installed, the CodeCrafters CLI can be installed by running:

brew install codecrafters-io/tap/codecrafters

If not, you can run the install script:

curl https://codecrafters.io/install.sh | sh

Linux

Run the install script:

curl https://codecrafters.io/install.sh | sh

Windows

If you have a Linux distribution installed using WSL, run the install script:

curl https://codecrafters.io/install.sh | sh