5

Does anyone know how to load unpacked google chrome plugin from command line? I tried the following, but it doesn't work:

"C:\Users\<name>\AppData\Local\Google\Chrome\Application\chrome.exe" --load-extension="<path/to/unpacked/extension>"

The above command just opens a chrome browser window and doesn't load my extension.

Rob W
  • 341,306
  • 83
  • 791
  • 678
Maya
  • 95
  • 1
  • 3
  • 7
  • Did you verify that it is loaded and just not enabled? <-- Guess, I've never "loaded" an extension in Chrome this way. – Jmills Jul 31 '14 at 16:51
  • what's wrong with loading unpacked extensions in developer mode? –  Jul 31 '14 at 21:16

1 Answers1

11

Most of the command-line flags are only effective when all existing instances of Chrome that corresponds to the chrome profile have been terminated.

If you don't see any Chrome window, open the task manager and kill every process called chrome.exe. After doing that, you can use --load-extension=... to temporarily load a Chrome extension (the extension will be gone when you start Chrome without this flag, again only after closing all running instances of Chrome).

Rob W
  • 341,306
  • 83
  • 791
  • 678
  • Thanks! I noticed I did have some existing instances of chrome running. It works after killing all the instances of chrome. – Maya Aug 01 '14 at 15:36
  • 3
    How do we make that installation permanent instead of temporary? – TetraDev May 16 '18 at 17:37
  • 1
    How do we load more than one extension? – zero_cool Apr 27 '19 at 20:35
  • 1
    @zero_cool Separate them with commas. I'm loading react-dev-tools and redux-dev-tools in a NW.js manifest like this: ` --load-extension='./chrome_extensions/lmhkpmbekcpmknklioeibfkpmmfibljd/2.17.0_0,./chrome_extensions/fmkadmapgofadopljbjfkapdkoienihi/3.6.0_0'` – Julian Mann Jun 02 '19 at 04:09
  • @TetraDev Did find a solution? – Y K Aug 24 '22 at 15:21