I can't find file path for zshrc because I need to export flutter path I am new in developing can you please help me out

MacBook Air 13″, macOS 10.15

Posted on Sep 25, 2020 5:22 AM

Reply
1 reply

Sep 25, 2020 7:33 AM in response to analey224

PATH is an environment variable setting, not a command you run from the Terminal prompt. The ~/.zshrc file in your home directory does not exist until you create it, and you would add your export PATH statement to it:


export PATH=".:$HOME:/usr/local/bin:$PATH"



Then you save the .zshrc file in your home directory. Whenever you switch shells, or open a new Terminal window, the contents of the ~/.zshrc file will be applied. If you want to set them immediately, then:


source ~/.zshrc


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I can't find file path for zshrc because I need to export flutter path I am new in developing can you please help me out

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.