# Issue with codecrafters cli update

**URL:** <https://forum.codecrafters.io/t/issue-with-codecrafters-cli-update/15492>\
**Category:** Bug Reports\
**Created:** [November 5, 2025, 6:10am UTC](https://forum.codecrafters.io/t/issue-with-codecrafters-cli-update/15492 "2025-11-05T06:10:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomnowell](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/tomnowell/32/17278_2.png) [@Tomnowell](https://forum.codecrafters.io/u/Tomnowell)\
**Post date:** [November 5, 2025, 6:10am UTC](https://forum.codecrafters.io/t/issue-with-codecrafters-cli-update/15492/1 "2025-11-05T06:10:34Z")

</div>

I’m having a problem updating the CLI on Mac. I curl and run the install script successfully and authenticate as sudo and the install appears to have updated the version (to 44) but running `codecrafters –-version`returns the old version I had installed (v39).

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [November 5, 2025, 6:13am UTC](https://forum.codecrafters.io/t/issue-with-codecrafters-cli-update/15492/3 "2025-11-05T06:13:24Z")

</div>

Hey @Tomnowell, could you try the following steps?

1. Run `which codecrafters` to check where the CLI is installed
2. Manually delete that file
3. Re-run the install script

Let me know how it goes!

---

<div class="post-metadata">

**Author:** ![Tomnowell](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/tomnowell/32/17278_2.png) [@Tomnowell](https://forum.codecrafters.io/u/Tomnowell)\
**Post date:** [November 5, 2025, 6:29am UTC](https://forum.codecrafters.io/t/issue-with-codecrafters-cli-update/15492/4 "2025-11-05T06:29:46Z")

</div>

Thanks @andy1li ! Sorry, my bad - I had installed previously via homebrew. Your solution worked great! Thanks for the swift response 😎

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [November 12, 2025, 6:30am UTC](https://forum.codecrafters.io/t/issue-with-codecrafters-cli-update/15492/5 "2025-11-12T06:30:46Z")

</div>

Closed on November 12, 2025, 6:30am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
