# CLI failing when running codecrafters test

**URL:** <https://forum.codecrafters.io/t/cli-failing-when-running-codecrafters-test/15504>\
**Category:** Platform\
**Created:** [November 7, 2025, 3:32pm UTC](https://forum.codecrafters.io/t/cli-failing-when-running-codecrafters-test/15504 "2025-11-07T15:32:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samer-hamood](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/samer-hamood/32/16636_2.png) [@samer-hamood](https://forum.codecrafters.io/u/samer-hamood)\
**Post date:** [November 7, 2025, 3:32pm UTC](https://forum.codecrafters.io/t/cli-failing-when-running-codecrafters-test/15504/1 "2025-11-07T15:32:16Z")

</div>

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

```auto
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:

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

```

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

```auto
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:

```auto
CLI to interact with CodeCrafters
...

VERSION
  v41-4dd92cf

```

---

<div class="post-metadata">

**Author:** ![samer-hamood](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/samer-hamood/32/16636_2.png) [@samer-hamood](https://forum.codecrafters.io/u/samer-hamood)\
**Post date:** [November 7, 2025, 3:50pm UTC](https://forum.codecrafters.io/t/cli-failing-when-running-codecrafters-test/15504/3 "2025-11-07T15:50:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Rashidooos](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rashidooos/32/24033_2.png) [@Rashidooos](https://forum.codecrafters.io/u/Rashidooos)\
**Post date:** [March 12, 2026, 7:17pm UTC](https://forum.codecrafters.io/t/cli-failing-when-running-codecrafters-test/15504/6 "2026-03-12T19:17:14Z")

</div>

(post deleted by author)
