Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

permanently add the $PATH on mac

Dineth S answered on November 25, 2020 Popularity 9/10 Helpfulness 8/10

Contents


More Related Answers

  • change folder permisson in mac
  • export homebrew path macOS
  • xcode path mac
  • add folder to path mac
  • how to add to path mac zsh
  • set path environment variable mac for go
  • set android path in macos
  • change java path in mac
  • how to set adb path in mac
  • $path mac
  • remove from path mac
  • macbook current path
  • change java path in mac
  • macos add path environment variable
  • mac terminal get path of current directory
  • update path variable mac
  • how to set adb path in mac
  • mac move folder command
  • navigate to folder on mac
  • make directory mac
  • mac see current path
  • adding this directory to PATH mac
  • mac os update zsh path
  • which path variable should i use in mac
  • mac open path variable file
  • get file path mac

  • permanently add the $PATH on mac

    2

    Open your terminal and run the following command to open your .zshrc file:



    nano ~/.zshrc


    In the .zshrc file, add the following line at the end of the file:


    export PATH="$HOME/.composer/vendor/bin:$PATH"


    Save and exit the .zshrc file by pressing Ctrl + X, then Y, then Enter.

    Run the following command to reload your .zshrc file:

    source ~/.zshrc 

    Popularity 9/10 Helpfulness 8/10 Language shell
    Source: Grepper
    Tags: add shell
    Link to this answer
    Share Copy Link
    Contributed on Mar 21 2023
    Dineth S
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    10
    Popularity 10/10 Helpfulness 7/10 Language shell
    Source: Grepper
    Tags: path
    Link to this answer
    Share Copy Link
    Contributed on Nov 25 2020
    Disturbed Dugong
    0 Answers  Avg Quality 2/10

    0
    Popularity 8/10 Helpfulness 6/10 Language shell
    Source: Grepper
    Tags: add shell
    Link to this answer
    Share Copy Link
    Contributed on Mar 21 2023
    Dineth S
    0 Answers  Avg Quality 2/10

    0
    Popularity 9/10 Helpfulness 6/10 Language shell
    Source: Grepper
    Tags: path
    Link to this answer
    Share Copy Link
    Contributed on Dec 06 2021
    Friendly Hawk
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.