How to Reset Path Variable on Mac Terminal

preview_player
Показать описание
How to Reset Path Variable on Mac Terminal
Рекомендации по теме
Комментарии
Автор

Thanks a lot sir, I was recently installing mysql and guess what I messed up the environment variables. was hunting for the default path and here I got it. This video is lifesaver ❤

_iam_rupantar_
Автор

mad props to you, thanks buddy, this is my first ever mac os lol and i messed up really bad trying to install flutter

xjosk_
Автор

Thanks alot my man i had just bought Macbook and was trying to learn programming .
i had changed nano and path while installing mysql watching some random video from youtube not knowing anything.
and after i restarted my MAC simple commands would not work and i searched but could not find any good resource on how to fix those problems.
Then i found this GOLDEN video thanks alot man

ramromanxey
Автор

I encountered the "zsh: command not found: ls" issue, and thanks to this video, I was able to resolve it. 🙌

Ashish-hvib
Автор

Thank you so much!!!! I was completely lost and I contacted Apple support, who asked me to reinstall my entire Mac!!!! Thank you so much!!!!

julienk_
Автор

I was trying to install brew on my M2 macbook air, but it seems it didn't like it to my laptop.
So I did your steps correctly, but it didn't work as expected.
The problem came up on every single terminal I opened, then I did the export command thing you showed us, and then go into the command "nano .zshrc" (no quotes) and hit enter.
Then I deleted all the previous lines for homebrew and saved the changes.
The problem was fixed finally!.

P.S. please consider this is a brand new mac, but this may be helpful if you are programming and you need to delete specific entries into this file.

javiers.
Автор

To make the change permanent, you need to add the export command to your shell’s configuration file. Since you’re using zsh, the configuration file is ~/.zshrc. Here’s how you can add the line:

Open Terminal.
Type or just copy the whole below line
echo 'export >> ~/.zshrc
and press Enter.
This command appends the export line to the end of the .zshrc file.

mohdsafiuddin
Автор

thank you so much. Being a first time in using Mac OS, you helped me fix the .zsh command not found problem.

anushreesuresh
Автор

it does not work if i close and re open terminal

notshubhm
Автор

I encountered the "zsh: command not found" issue, and thanks to this video, I was able to resolve it.

sachinstephen
Автор

Thank you bro, you saved me from heartache🙏🏾

koredeo
Автор

Fantastic video. Short and to the point. Very well explained!! :)

kraigwastlund
Автор

THANKS A ARE REALLY GREAT, NO INTERNET HELPED ME BUT YOUR VIDEO DID

artinmayur
Автор

can u please post that Export command in description not able to find it, this problem happened when i tried to set the java path

KartikDeotare
Автор

superb bro thanku so much finally I got a video reset my terminal

PujithSrisai
Автор

First of all thank you they both work...but then when i quit the terminal and open it again i literally have the same issue and have to repeat the steps you provided. Any idea why?

TonAsh
Автор

Most underrated video for ~/.zshrc error.
Thanks a lot man.
Now i can sleep😅.

rai.ajit
Автор

Thank you so much!! Thought I was going to have to reinstall the OS.

maspruel
Автор

I have to define input and output file path which in Document folder but getting 'error: unrecognized arguments:'

sunnyjan
Автор

temporary it works but permanently not worked when i close terminal and again type - ls its shows "zsh command not found" please help me out.

manthanpatel