15
9

More than 5 years have passed since last update.

Macでコマンドから指定したURLをChromeで開く

Posted at

やりたいこと

Macでコマンドから、特定のURLをGoogle Chromeで開きたいです

コマンド

以下のコマンドできます

open -a '/Applications/Google Chrome.app' <URL>

具体例

以下はhttps://qiita.comを開く例です。

open -a '/Applications/Google Chrome.app' https://qiita.com

参考

macos - How can I open a URL in Google Chrome from the terminal in OS X? - Super User

15
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
9