Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Update composer.md #4181

Merged
merged 2 commits into from
Apr 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions guides/v2.1/install-gde/composer.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@ To get the Magento metapackage:

**{{site.data.var.ce}}**
```bash
composer create-project --repository=https://repo.magento.com/magento/project-community-edition:<version-tag> <install-directory-name>
composer create-project --repository=https://repo.magento.com/ magento/project-community-edition:<version-tag> <install-directory-name>
```

**{{site.data.var.ee}}**
```bash
composer create-project --repository=https://repo.magento.com/magento/project-enterprise-edition:<version-tag> <install-directory-name>
composer create-project --repository=https://repo.magento.com/ magento/project-enterprise-edition:<version-tag> <install-directory-name>
```

When prompted, enter your Magento authentication keys. Your _public key_ is your username; your _private key_ is your password.

To install {{site.data.var.ce}} version 2.2.2 run in current folder:
```bash
composer create-project --repository=https://repo.magento.com/magento/project-community-edition:2.2.2 .
composer create-project --repository=https://repo.magento.com/ magento/project-community-edition:2.2.2 .
```

If you encounter errors, such as `Could not find package...` or `...no matching package found`, make sure there are no typos in your command. If you still encounter errors, you may not be authorized to download {{site.data.var.ee}}. Contact [Magento support](https://magento.com/support) for help.
Expand Down