Skip to content

Instantly share code, notes, and snippets.

@kaimingguo
Created February 15, 2024 01:25
Show Gist options
  • Save kaimingguo/9c8c19d1b6d958df781b5da902b293e2 to your computer and use it in GitHub Desktop.
Save kaimingguo/9c8c19d1b6d958df781b5da902b293e2 to your computer and use it in GitHub Desktop.
Start chrome using a specified user profile

Start chrome browser with Profile 1 in a new tab.

$ open -a "Google Chrome" --args --profile-directory="Profile 1"

Start Brave browser with Default in a new tab.

$ /Applications/Brave\ Browser/Contents/MacOS/Brave\ Browser --profile-directory="Default"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment