Path Problems on Mac - how to fix?

I’m new to Mac, so not familiar with internals. Each time I start Terminal I have to type the following in order to even use basic commands like “ls” or docker-compose.

export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Only after typing above can I run the docker container

What setup are you using on your mac? I’m running deepseek v2 and it’s really slow. Any suggestions as I’m a noob.

Add the export line to your .zshrc file and then you wont have to type it every time. (See https://www.geeksforgeeks.org/add-a-directory-to-path-in-zsh)

thank you… i ended up getting chatgpt to help me. My zshrc file was borken and not configured correctly. all sorted now. for anyone following, go look at your local .zshrc file (gpt it) and then edit and save

I’m using Docker as provided by the instructions. Was a bit unclear, but got it working