Authentication error

The following authentication error might display:

[Composer\Downloader\TransportException]
The 'https://repo.magento.com/packages.json' URL required authentication.
You must be using the interactive console to authenticate

If the error displays, change to your application installation directory and run composer update, which prompts you for your authentication keys.

Complete the sample data installation

After you download the sample data packages, log in to your application server as, or switch to, the file system owner and enter the following command in <app_root> directory:

bin/magento setup:upgrade