Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From the command line in OSX, how can I open Google Chrome with a specific list of URLs open in tabs, with certain ones pinned?

share|improve this question

An alias to open Chrome:

alias chrome="/Applications/Google\\ \\Chrome.app/Contents/MacOS/Google\\ \\Chrome"

An alias to open Chrome with 2 given pages in tabs:

alias chromex="chrome --pinned-tab-count=2 http://www.google.com http://www.microsoft.com"

Open the 2 pinned pages

chromex

share|improve this answer

Alternatively, I have scripts that do it like this:

open -a /Applications/Google\ Chrome.app http://google.com http://stackoverflow.com
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .