# Installation

Step by Step Guide how to install CS2-Web NextJs with Sharptimer support

{% hint style="info" %}
If you encounter any issues contact us on Discord
{% endhint %}

## Install all Requirements (Nodejs, NPM)

### git clone

First clone the Github Project

```
git clone https://github.com/jke-cs/cs2-web
```

Install all the Nextjs dependencies

```
npm install --legacy-peer-deps
```

## Dev Server

```
npm run dev
```

## Build server

```
npm run build
```

```
npm run start
```

## Run Server with PM2

PM2 allows you to run the npm instance in the background

```
npm install pm2
```

Start server with PM2

```
pm2 start cs2-web
```

Stop server with PM2

```
pm2 stop cs2-web
```
