To install the Amplify library to use the analytics features, run the following command in your project’s root folder: ```bash npm install aws-amplify ```