First download the chrome browser "googlechrome.dmg" file
move this file in to Application folder
double click on "googlechrome.dmg" file
it will install chrome in application folder.
open Terminal
Open ~/.bash_profile file in your editor choce
example:
vim ~/.bash_profile
Add the following code in the bash profile file
chrome() {
open -a "Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome" "$1"
}
save the bash profile file
use the below command to open chrome from terminal"
open -a "Google Chrome"
Google Chrome browser will launch
move this file in to Application folder
double click on "googlechrome.dmg" file
it will install chrome in application folder.
open Terminal
Open ~/.bash_profile file in your editor choce
example:
vim ~/.bash_profile
Add the following code in the bash profile file
chrome() {
open -a "Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome" "$1"
}
save the bash profile file
use the below command to open chrome from terminal"
open -a "Google Chrome"
Google Chrome browser will launch
No comments:
Post a Comment