Last active
February 13, 2019 16:32
-
-
Save RockinPaul/bc597de6aa703cb0f0e174483c88a88d to your computer and use it in GitHub Desktop.
Creating a .bash_profile on your mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must-have. | |
Start up Terminal | |
Type "cd ~/" to go to your home folder | |
Type "touch .bash_profile" to create your new file. | |
Edit .bash_profile with your favorite editor (or you can just type "open -e .bash_profile" to open it in TextEdit. | |
Type ". .bash_profile" to reload .bash_profile and update any functions you add. | |
/* | |
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin | |
export PATH=$HOME/flutter/bin:$PATH | |
*/ - .bash_profile content for Flutter located inside Users/<USERNAME>/ | |
http://mrgott.com/misc/39-how-to-install-flutter-on-a-mac-and-set-path-variable - useful! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment