This post shows a walk-through of the Install and configure the Amplify CLI instructions posted at [link]:
Actual instructions at [link]:
Versions
Node.js version 8.x or higher
npm version 5.x or higher
Install Node.js and npm on Windows
Follow the instructions at [link]
Test Node.js on Windows
1. Open a CMD.exe window
2. Type node -v
You should see v10.14.2 or higher.
3. Type npm -v
You should see 6.4.1 or higher.
Install and Configure the Amplify CLI
1. Open a CMD.exe window
2. Type npm install -g @aws-amplify/cli
You should see something like:
Note: on my machine this installs amplify and amplify.cmd and node_modules\@aws-amplify\cli in C:\Users\pfefferz\AppData\Roaming\npm\
Note 2: you can look at the Windows' PATH variable by typing echo %path:;=&echo.%
you'll see that C:\Users\pfefferz\AppData\Roaming\npm (or something like it) is listed in your path.
3. Type amplify configure
You should see something like:
Note: I picked us-east-2 because my device shadows are in us-east-2
See [link] for setting up the node and the us-east-2 reference:
4. A browser will pop up. Log in.
5. Accept defaults and click Next: Permissions
6. Accept defaults and click Next: Tags
7. Accept defaults and click Next: Review
8. Accept defaults and click Create user
9. (A) Download the csv, (B) save the sign-in link, (C) save the User name and (D) click Close
You should see:
10. Back in CMD.exe, press Enter
You should see:
11. Open the csv file, find the Access key ID column, find the value and paste it in.
12. Find the Secret access key column, find the value and paste it in.
13. Accept default as the Profile Name
You should see:
The full log:
References
Comments