Skip to content

Instantly share code, notes, and snippets.

@wsagen
Created March 1, 2016 03:17
Show Gist options
  • Save wsagen/c4858114e9a094e4b04e to your computer and use it in GitHub Desktop.
Save wsagen/c4858114e9a094e4b04e to your computer and use it in GitHub Desktop.
Authentication for M2 installation via composer
Follow instructions here to generate keys
http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html
When using composer install command, enter public key and private key as username and password, if prompted
If not prompted and get authentication error
Add public and private key as username and password in your auth.json file found in a hidden .composer folder in the ~/User/{Home Directory}/ directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment