# Installation

## Requirements

You will need:

* [Node.JS](https://nodejs.org/en/download) (10.x || 12.x)
* A Package Manager ([Yarn](https://yarnpkg.com/en/docs/getting-started) or [npm](https://docs.npmjs.com/getting-started/installing-node))
* Rollup CLI (Optional, install via `npm install -g rollup`)

## Installing `npm` modules

Open the folder in your terminal and run your package manager to install install the required packages and TypeScript declaration files:

```bash
# npm
npm install

# yarn
yarn
```

Once that's all done, let's [authenticate with the Screeps server](https://screepers.gitbook.io/screeps-typescript-starter/getting-started/authenticating).
