# \#MG5 doesn't work on macOS

**URL:** <https://forum.codecrafters.io/t/mg5-doesnt-work-on-macos/15525>\
**Category:** Challenges\
**Tags:** challenge:shell\
**Created:** [November 14, 2025, 4:27am UTC](https://forum.codecrafters.io/t/mg5-doesnt-work-on-macos/15525 "2025-11-14T04:27:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DalekFunc](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/dalekfunc/32/19923_2.png) [@DalekFunc](https://forum.codecrafters.io/u/DalekFunc)\
**Post date:** [November 14, 2025, 4:27am UTC](https://forum.codecrafters.io/t/mg5-doesnt-work-on-macos/15525/1 "2025-11-14T04:27:31Z")

</div>

cat is not in /usr/bin for macOS. I completed the task switching to my raspberry pi.

remote: [tester::#MG5] Running ./your\_program.sh  
remote: [your-program] $ type cat  
remote: [your-program] cat is /bin/cat  
remote: [tester::#MG5] ^ Line does not match expected value.  
remote: [tester::#MG5] Expected: “cat is /usr/bin/cat”  
remote: [tester::#MG5] Received: “cat is /bin/cat”  
remote: [your-program] $  
remote: [tester::#MG5] Assertion failed.  
remote: [tester::#MG5] Test failed

---

<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 14, 2025, 5:09pm UTC](https://forum.codecrafters.io/t/mg5-doesnt-work-on-macos/15525/3 "2025-11-14T17:09:04Z")

</div>

Hey @DalekFunc, looks like you’ve got past this stage. Do you happen to remember what was wrong? Would love to see if we can improve the tester / instructions.

---

<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 25, 2025, 12:03am UTC](https://forum.codecrafters.io/t/mg5-doesnt-work-on-macos/15525/4 "2025-11-25T00:03:11Z")

</div>

Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!

---

<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 30, 2025, 12:03am UTC](https://forum.codecrafters.io/t/mg5-doesnt-work-on-macos/15525/5 "2025-11-30T00:03:49Z")

</div>

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