How to Reset Path Variable on Mac Terminal

Поділитися
Вставка
  • Опубліковано 2 січ 2025

КОМЕНТАРІ •

  • @julienk_
    @julienk_ 10 місяців тому +1

    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!!!!

    • @Programming-for-all-u2l
      @Programming-for-all-u2l 10 місяців тому

      Same problem I have right now but I could not able to fix it. Can you help me to fix?

  • @xjosk_
    @xjosk_ 2 роки тому +19

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

    • @MoonDesignDev
      @MoonDesignDev  2 роки тому +2

      Don’t tell anyone…but me too

    • @lesedi44
      @lesedi44 Рік тому +1

      You and me both my man💀

    • @Abhishekkumar-zl2rb
      @Abhishekkumar-zl2rb Рік тому +2

      @@MoonDesignDev Same Here 😜

    • @jeanfernandez5397
      @jeanfernandez5397 Рік тому +1

      Dude...I'm in the same boat. Tried to install flutter and messed it up. How's everything running for you?

    • @jeanfernandez5397
      @jeanfernandez5397 Рік тому

      @@Abhishekkumar-zl2rb Did ya fix it? same happened to me :(

  • @ramromanxey1295
    @ramromanxey1295 2 роки тому +5

    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

    • @ramromanxey1295
      @ramromanxey1295 2 роки тому

      damn it not working my man
      shows this error:
      Last login: Mon Dec 26 02:43:38 on ttys000
      /etc/zshrc:7: command not found: locale
      /etc/zshrc_Apple_Terminal:104: command not found: mkdir

    • @manthanpatel2024
      @manthanpatel2024 Рік тому +1

      @@ramromanxey1295 bro same error, have you found any one solution, i had watched 100+ video

    • @mariadahbi9911
      @mariadahbi9911 Рік тому

      @@manthanpatel2024 u made it ? I have the same prob

    • @BurkhaLifter
      @BurkhaLifter Рік тому

      ​@@mariadahbi9911 Last login: Thu Aug 24 14:55:04 on ttys001
      /Users/aadi/.zshrc:export:5: not valid in this context: /Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin

    • @BurkhaLifter
      @BurkhaLifter Рік тому

      how it can be fixed bro?

  • @akinolamichael8822
    @akinolamichael8822 Рік тому +37

    no code in the description ...

    • @stanislavfedyna8237
      @stanislavfedyna8237 4 місяці тому +4

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

  • @_iam_rupantar_
    @_iam_rupantar_ 7 місяців тому +2

    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 ❤

    • @ankitvats3295
      @ankitvats3295 5 місяців тому

      exactly same situation - part2

    • @ankitvats3295
      @ankitvats3295 5 місяців тому

      were you facing this after installing mysql server? Enter password:
      ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) even after giving right password???
      if yes then how to fix this

  • @vorial6602
    @vorial6602 Рік тому +3

    how did you select the exit option at 2:25

  • @Ashish-hv1ib
    @Ashish-hv1ib Рік тому +2

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

  • @mohdsafiuddin7379
    @mohdsafiuddin7379 10 місяців тому +6

    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 PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH"' >> ~/.zshrc
    and press Enter.
    This command appends the export line to the end of the .zshrc file.

  • @tarunjena5865
    @tarunjena5865 2 місяці тому

    Thanks man....I was banging my head trying to reset the terminal.

  • @kraigwastlund7443
    @kraigwastlund7443 Рік тому +1

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

  • @artinmayur
    @artinmayur Рік тому +1

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

  • @sainiranjan40
    @sainiranjan40 Рік тому +1

    At 2:18 as I enter nano ~/.zsh_profile I am getting zsh: command not found: nano and none of the basic commands works even though I have installed all necessary tools.
    > clear = zsh: command not found: clear
    > which java = java not found
    > java -version = zsh: command not found: java
    > appium -v = zsh: command not found: appium
    > npm -v = zsh: command not found: npm
    > node -v = zsh: command not found: node
    > nano ~/.zshrc = zsh: command not found: nano
    So far I have watched atleast 100 videos and no luck. Any idea how do I fix this ?
    Please help!

    • @goodboyreaction
      @goodboyreaction Рік тому +3

      right click on the terminal screen got inspector , stop the .cat/ whatever then paste : export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

    • @sainiranjan40
      @sainiranjan40 Рік тому

      @@goodboyreaction Solved. Thank you! :)

    • @kunalchaugule6951
      @kunalchaugule6951 Рік тому

      @@goodboyreaction Thanks ❤

    • @messigonnawin2144
      @messigonnawin2144 10 місяців тому +1

      where bro please reply
      @@goodboyreaction

    • @goodboyreaction
      @goodboyreaction 10 місяців тому

      Right click(mouse ) on terminal ….

  • @kaziemranhasan3935
    @kaziemranhasan3935 Рік тому

    In 2:23 - 2:28; After Pressing 'y' for yes, TAB Complete appears. and then I pressed the 'Tab' button but that doesn't work for me. What should I do then?

  • @lance3681
    @lance3681 9 місяців тому

    John, thank you for the detailed video. I am sure that it will resolve en issue. But, I am having the issue of not recognizing commands in the recovery mode. The nasty thing is that also the command 'nano' is not recognized. I have temporarily reset the PATH but can't save it. Further even after setting a temp PATH there are no commands found. And strange enough, the shell is 'bash' in recovery whilst I use 'zsh' in working mode.many commands are not found: nano, jl, chsh, etc Having said all that, I don't see any possibility to rest PATH in recovery. Would you pls try to advise? Many thanks in advance, André

  • @koredeo1418
    @koredeo1418 4 місяці тому

    Thank you bro, you saved me from heartache🙏🏾

  • @furvytech
    @furvytech Рік тому +3

    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.

    • @lesedi44
      @lesedi44 Рік тому

      Did you ever find the solution to this? I have the same problem.

    • @shreyanstawada9891
      @shreyanstawada9891 Рік тому +2

      @@lesedi44 after u export the path, before closing the terminal type vi ~/.zshrc and check if u have anyother paths exported(coz that was the issue in my case)

    • @archananegi9647
      @archananegi9647 Рік тому

      @@shreyanstawada9891 yeah you have to add :$PATH in each export line.I added 1 export line without adding $PATH and it caused the issue.
      Solution: Check your file after temporary fixing PATH issue. run export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH" in terminal.Then sudo nano ~/.zshrc. it will open your file in nano editor. check all the export paths carefully. you must have missed $PATH in one of the exports. you should add :$PATH to every export line in this file if missing. save it using ctrl+x and select Y.

  • @TonAsh242
    @TonAsh242 7 місяців тому

    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?

    • @mustafizurrahmanshadhin6335
      @mustafizurrahmanshadhin6335 7 місяців тому +1

      same here.. using mac m1

    • @TonAsh242
      @TonAsh242 7 місяців тому

      @@mustafizurrahmanshadhin6335I actually got straight. Instead of nano zsh_profile I had to do nano zshrc (something like that, I can’t remember exactly right now. Hopefully you can search and get sorted out based on that 🙏🏿)

    • @mustafizurrahmanshadhin6335
      @mustafizurrahmanshadhin6335 7 місяців тому +1

      you have to do one more step tonAsh
      vim ~/.zshrc type this line in command and press 'i' then paste that directory line and press ESC then type :wq
      Hope this will help or for more help reply again thanks

    • @TonAsh242
      @TonAsh242 7 місяців тому

      @@mustafizurrahmanshadhin6335 yea bro I got it fixed a couple days ago. The methods in those video didn’t solve it completely. I had to edit the path with “nano ~/.zshrc” this did it permanently for me.

  • @KartikDeotare
    @KartikDeotare 4 місяці тому

    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

  • @RahulKumar-on6hs
    @RahulKumar-on6hs Рік тому +2

    tab botton not responding after exiting please help

  • @javiers.996
    @javiers.996 9 місяців тому +1

    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.

    • @danielbeltran4174
      @danielbeltran4174 Місяць тому

      can you elaborate a little bit more please? I am having problems with every command

  • @anushreesuresh1892
    @anushreesuresh1892 4 місяці тому

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

    • @shaneyt246
      @shaneyt246 3 місяці тому

      how do you exit from the profile menu ?

  • @PujithSrisai
    @PujithSrisai 10 місяців тому

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

  • @LokeshKumar-kc2ww
    @LokeshKumar-kc2ww Рік тому

    I just got a doubt. I have upgraded my mac os version to ventura using Open Core legacy patcher so will doing this affect my mac?

  • @bharathsv5389
    @bharathsv5389 Рік тому +2

    what should i do after pressing exit ?

  • @sachinstephen708
    @sachinstephen708 6 місяців тому

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

  • @vrishab9648
    @vrishab9648 7 місяців тому

    dude thanks alot i wasted 2 days installing flutter after i reach this error you are a saver and those who still getting the same error when opening a new terminal set the given path on.zshrc file also so copy the same path on both the file .zshrc and zsh_profile i dont which worked but it solved the error for me

  • @govindjha1956
    @govindjha1956 Рік тому

    its worked for me, thanks for again srtarting my terminal

  • @mahlahlana
    @mahlahlana Рік тому

    Thanks Mr Higgins, you a life saver!

  • @Bugsy0987987
    @Bugsy0987987 Рік тому

    Where is cod in the description? 1:57?

    • @shotokazbek
      @shotokazbek Рік тому

      in his ass probably, cause I don't see it too

  • @yusufshaik08
    @yusufshaik08 6 місяців тому

    It's working 😍........ Thanks a lot, man🤝

  • @maspruel
    @maspruel Рік тому +1

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

  • @NinoVerse22
    @NinoVerse22 Місяць тому

    i dont know if youre still replying to this video, but every step worked except for saving the path to the profile. it keeps saying cannot open writing: is a directory

    • @DenisNjiru-cp9wj
      @DenisNjiru-cp9wj Місяць тому

      after opening the profile on the text editor, paste the line of code then save by pressing control+o then enter, then exit by pressing control x

  • @ashuu00022
    @ashuu00022 Рік тому

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

  • @RatherBeCancelledThanHandled
    @RatherBeCancelledThanHandled 11 місяців тому

    Wow I was loosing my mind , thank you ❤

  • @the_Alchemist01
    @the_Alchemist01 Рік тому

    How to exit from the terminal ..what the shortcut you used ?

    • @paulstaden968
      @paulstaden968 11 місяців тому

      Save using Ctrl - O (letter o) and then hit enter to save to file name just above letters at bottom of screen

  • @sunny27jan
    @sunny27jan 5 місяців тому

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

  • @shaneyt246
    @shaneyt246 3 місяці тому

    how do you save at the end ??

  • @AlmasAlmsk
    @AlmasAlmsk Рік тому

    hey man, you did it! I messed up with my first m2 trying to install f*cking flutter :D love you

    • @AlmasAlmsk
      @AlmasAlmsk Рік тому

      i installed brew before, after setting path to default, I can't use brew now. what is the solution? sorry for this I am completely new to this :)

    • @AlmasAlmsk
      @AlmasAlmsk Рік тому

      @moondesigndev or anyone who could save me? @MoonDesignDev

  • @chillvibes4u912
    @chillvibes4u912 9 місяців тому +1

    Quitting terminal and reopen again ls command not found.

  • @cansisco
    @cansisco Рік тому

    you didnt leave the code on the description!!!

  • @OmerEyes
    @OmerEyes Рік тому

    You saved my life man!

  • @messigonnawin2144
    @messigonnawin2144 10 місяців тому

    hey I followed all your steps but it still is showing ls zsh command not found

  • @khouloudberbagui7645
    @khouloudberbagui7645 21 день тому

    Thanks 🙏 it’s work for me

  • @stevemcgowan3017
    @stevemcgowan3017 Рік тому

    cant get terminal right to write on usb got the elcapitan downloaded its in applications

  • @kainoanewton2241
    @kainoanewton2241 9 місяців тому

    omg tysm u saved my life

  • @alanbosco7174
    @alanbosco7174 Рік тому +2

    Can some one put the code in the description

    • @shxdyshot1933
      @shxdyshot1933 Рік тому +2

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

    • @archananegi9647
      @archananegi9647 Рік тому

      @@shxdyshot1933 Check your file after temporary fixing PATH issue. run export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH" in terminal.Then sudo nano ~/.zshrc. it will open your file in nano editor. check all the export paths carefully. you must have missed $PATH in one of the export. you should add :$PATH to every export line in this file if missing. save it using ctrl+x and select Y.

  • @mariadahbi9911
    @mariadahbi9911 Рік тому +1

    it says nano is command not found ..

  • @sirvaant
    @sirvaant 6 місяців тому

    You won’t even let me type anything in there it says process completed but you can’t type nothing in there

  • @Alwayssticktogether
    @Alwayssticktogether 8 місяців тому

    How can you exit , what bottun. Do I need to push ?

  • @aabidakhan3458
    @aabidakhan3458 8 місяців тому

    Hello Sir..my macbook terminal showing this error([forkpty: Device not configured]
    [Could not create a new process and open a pseudo-tty.]
    ) i can i figure out this ..m not able to type anything on it

  • @Niikkkhiil
    @Niikkkhiil 9 місяців тому

    man when i exit and save its not saving asking me to name the file which i did and then when i press complete nothing happens.. what can i do

  • @jeanfernandez5397
    @jeanfernandez5397 Рік тому

    GREAT VIDEO. If it can work for me, it can work for anyone.

  • @sannelynlequin3490
    @sannelynlequin3490 2 місяці тому

    how do you exit and save ?

  • @abunaim9624
    @abunaim9624 7 місяців тому

    Thank You bro. Amazing!!

  • @swathim-b4v
    @swathim-b4v Рік тому

    Thanks my issue got resolved

  • @madarauchiha1605
    @madarauchiha1605 Рік тому

    HOW DID you exit through that?

  • @Bugsy0987987
    @Bugsy0987987 Рік тому

    nothing: "zsh: command not found:" ls is working but I can't install npm for example

  • @OYEBI246
    @OYEBI246 5 місяців тому

    how do I exit from the operation pls?

  • @painKuro01
    @painKuro01 9 місяців тому

    its showing command not found even after saving and exiting it what to do

  • @alesiav4338
    @alesiav4338 Рік тому

    it helps a lot! tysm!

  • @brandao_software
    @brandao_software Рік тому

    thank u man, God bless you

  • @Programming-for-all-u2l
    @Programming-for-all-u2l 10 місяців тому

    you saved my life

  • @elijahwilliams6026
    @elijahwilliams6026 Рік тому

    Tried to open my terminal and it did a pop up and went to the Apple logo?

  • @mryusif-hs8ty
    @mryusif-hs8ty Рік тому

    How do I exit and save? Which keys to use? Please help, I’m working now. I need urgent help.

    • @paulstaden968
      @paulstaden968 11 місяців тому

      it is unclear. Control - O .. "writeOut" will save the file then hit Enter to save to the listed file name OR change the file name if you want to but not in this case... this will take you back to the terminal screen. I had the same problem as the advice didn't work because he SAID .... (exit and then save). So I was hitting Ctrl - X

    • @issansabimana5122
      @issansabimana5122 11 місяців тому

      @@paulstaden968hello I’m getting the same problem I don’t know to save and exit and I try to do what you wrote but still being lost. Could you help me please? Tell me how to save it

  • @J-algo-the-first
    @J-algo-the-first 10 місяців тому

    after quoting and reopening the terminal it does not work agin

  • @chicagobears-ov1fb
    @chicagobears-ov1fb 7 місяців тому

    Thank u so much for your help

  • @vladvan1960
    @vladvan1960 9 місяців тому

    Thank u homie🤲🏾

  • @pranavrajput7154
    @pranavrajput7154 7 місяців тому

    Please give the code in description.....its not working for me😭

  • @2165_BobiBarua
    @2165_BobiBarua 7 місяців тому

    If anyone in the comment section reading this comment, please help..
    I made some changes to the path using terminal with the help of chatgpt.. after that whatever command i run, the terminal only shows "Process Completed", then doesnot let me write any other command..I have to quit the terminal and open again to write another command.. but whatever i write it shows process completed only.. How can I fix this issue? please help. this week is my project submission deadline..😣

  • @Editzable
    @Editzable 11 місяців тому

    HOW DO U EXIT I KEEP PRESSING X

  • @alanbosco7174
    @alanbosco7174 Рік тому

    Im still not able to fix it permanentaly, once I close the termianl again the ls command is not found
    can someone help

    • @RahulKumar-on6hs
      @RahulKumar-on6hs Рік тому

      same problem did you solved that please help

    • @alanbosco7174
      @alanbosco7174 Рік тому +1

      @@RahulKumar-on6hs yes, I fixed it. Check your path and verify all the paths are added correctly.

    • @RahulKumar-on6hs
      @RahulKumar-on6hs Рік тому

      @@alanbosco7174 thank you for responding, the issue was solved I messed up with path source edited that and problem solved. 😁

    • @archananegi9647
      @archananegi9647 Рік тому +6

      I am able to fix it. Check your file after temporary fixing PATH issue. run export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH" in terminal.Then sudo nano ~/.zshrc. it will open your file in nano editor. check all the export paths carefully. you must have missed $PATH in one of the export. you should add :$PATH to every export line in this file if missing. save it using ctrl+x and select Y.

    • @LokeshKumar-kc2ww
      @LokeshKumar-kc2ww Рік тому

      ​@@archananegi9647thanks a lot

  • @albedo9617
    @albedo9617 Рік тому

    You're a lifesaver

  • @Shruthi_2797
    @Shruthi_2797 2 роки тому +1

    you are a saviourrrrrrrrr

  • @ekmoon9759
    @ekmoon9759 Рік тому

    ❤ u are prooooof ❤❤

  • @ankitvats3295
    @ankitvats3295 5 місяців тому

    Life saver video

  • @jafa_sadiku_sa
    @jafa_sadiku_sa Місяць тому

    Bro how to exit

  • @abitsalihu7031
    @abitsalihu7031 2 роки тому

    Hey man, whenever I try to do a "npm run command" I get this error "/var/folders/j6/w6_lmkks2rg1trf884sh1lx00000gn/T/compile-sass-83ea1f62.sh: line 1: node-sass: command not found" , I even formatted my mac but still not fixed, you have any idea how to fix this?

  • @nagendrababukante7370
    @nagendrababukante7370 Рік тому

    How to exit from the terminal

    • @archananegi9647
      @archananegi9647 Рік тому +1

      I am able to fix it. Check your file after temporary fixing PATH issue. run export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH" in terminal.Then sudo nano ~/.zshrc. it will open your file in nano editor. check all the export paths carefully. you must have missed $PATH in one of the export. you should add :$PATH to every export line in this file if missing. save it using ctrl+x and select Y.

    • @web3cfl
      @web3cfl Рік тому

      this worked thank you ! he forgot to add :$PATH when you are exporting in the editor in the video, thats why its not fixed permanently. @@archananegi9647

  • @abdullahnaim8073
    @abdullahnaim8073 Рік тому

    Thank you man!!!!

  • @KennyZhuang
    @KennyZhuang Рік тому

    why can't i enter the code?

  • @Chandan_Singh10
    @Chandan_Singh10 Рік тому

    TAB key not working

  • @sumethiranwattana145
    @sumethiranwattana145 10 місяців тому

    Thanks a lot!!!

  • @MrDiceman21
    @MrDiceman21 9 місяців тому

    appreciate it🙏

  • @balu3811
    @balu3811 Рік тому +3

    nano ~/.zshrc
    Use this Instead of nano ~/.zsh_profile from the video

  • @alexgates8059
    @alexgates8059 Рік тому

    Thanks helped it

  • @abishekab21
    @abishekab21 10 місяців тому

    bro it I did everything you said and its still the same😭

    • @B.Haripriya
      @B.Haripriya Місяць тому +1

      before closing the terminal type vi ~/.zshrc (this opens the .zshrc file in the vi text editor) and check for other paths inside it, iff present try to remove them (edit that folder) which are not relevant to ua application.
      how to edit:
      1) type i ( insert mode -- INSERT --) add or modify content in the file,
      2) press Esc to go back to normal mode
      3)Type :w to write/save the changes OR save and exit at the same time, type :wq
      4) restart your terminal and check again(eg: ls)

  • @Tids_
    @Tids_ 2 роки тому

    Thank you!

  • @mihirsavla
    @mihirsavla Рік тому

    THANKS MAN

  • @abhikmaji6329
    @abhikmaji6329 6 місяців тому

    nice video...

  • @muradhamed2960
    @muradhamed2960 11 місяців тому

    thank you thank you thank you

  • @ekrajghimire
    @ekrajghimire 5 місяців тому

    And, where's the PATH code?

  • @Zidane-DLMLAI
    @Zidane-DLMLAI Рік тому

    Thanks

  • @erakbiyiksema
    @erakbiyiksema 11 місяців тому

    its not permanent

  • @chedderstudios
    @chedderstudios 9 місяців тому

    NANO NOT FOUND

  • @recursion.
    @recursion. Рік тому

    WOW

  • @6oKCER
    @6oKCER 7 місяців тому +1

    A command from the video: export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:sbin

  • @SamsonShuttle
    @SamsonShuttle Рік тому +1

    export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
    Still cant get it to work, when I save it to the profile

  • @gonza_rojas
    @gonza_rojas 7 місяців тому

    Here you go!:
    export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

  • @surajpowar4915
    @surajpowar4915 6 місяців тому +1

    In case you are looking for: export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

  • @OmerEyes
    @OmerEyes Рік тому +4

    First:
    nano ~ /.zsh_profile
    Then:
    export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
    Press Control +Y
    Press Tab
    Press Inter
    Done