CLI failing when running codecrafters test

When I try to run the tests with codecrafters test I get the following:

Initiating test run...
create submission: Your CLI is outdated, please upgrade here: https://docs.codecrafters.io/cli/update

When I go to the link I get the curl command for macOS:

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

then I run it and I it seems to install the latest version:

Installed v44-a1f9117
Done!

I run the codecrafters command again and see the same error message asking me to upgrade.

Running codecrafters (without an argument), I see the version is not the latest:

CLI to interact with CodeCrafters
...

VERSION
  v41-4dd92cf

I had to uninstall the previous version, which installed via brew (a path issue). Maybe your install script could help with that?

2 Likes