๐ŸŒ Global Mirror โ€” Visit original CN site โ†’
Skip to main content
The CodeCrafters CLI is a command-line tool that allows you to run tests & view test results from your local machine. Using the CLI is faster than using Git since you donโ€™t need to commit your changes to run tests. If you havenโ€™t installed the CLI yet, read this. If youโ€™ve already installed the CLI, you can check its version by running:
codecrafters --version
The latest available version can be found here. To update the CLI, follow the OS-specific instructions below.

Mac

Re-run the install script:
curl -fsSL https://codecrafters.io/install.sh | bash

Linux

Re-run the install script:
curl -fsSL https://codecrafters.io/install.sh | bash

Windows

Run the install script:
irm https://codecrafters.io/install.ps1 | iex