create .bash_profile in macOS
1 min readMay 9, 2019
Before you creating a .bash_profile, you may need to check if the file already exists. You can check inside a terminal emulator by typing:
It the file does not exist, then you may go ahead to create one.
Open the terminal emulator and type:
cd ~/
to go to the home directory.
touch .bash_profile
If the file doesn't already exist, touch command will create that file for you.
Thanks for reading.
Cheers 🍹🍻 ! Happy Coding 😀