Install dependencies

Before we run the application locally, it’s a common practice to install third-party libraries or dependencies that your application might be using. These dependencies are defined in a file that varies depending on the runtime, for example package.json for NodeJS projects or requirements.txt for Python ones.

In the terminal, go into the sam-app/hello-world folder.

cd sam-app/hello-world

And install the dependencies:

npm install

Example:

NpmInstall