简体   繁体   中英

Installing wget on mac - unable to find .bashrc file

I am trying to install WGET on my macbook. I am using this tutorial to do so.

I came to the final step but it says:

If you do not see output, edit $HOME/.bash_profile or $HOME/.bashrc and add/edit/append PATH as follows: export PATH=${PATH}:/usr/local/bin

Where can I find $HOME/.bash_profile ? Can someone give me the exact path to $HOME/.bash_profile ?

When I type $HOME/.bashrc I get the following output.

-bash: /Users/Clara/.bashrc: No such file or directory

$HOME refers to your home directory, which seems to be /Users/Clara in your case. If the files .bashrc or .bash_profile do not yet exist, you can just create them with a simple text editor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM