# Installation

Starcounter can be installed in two different modes namely `Developer Mode` and `Production Mode`

&#x20;Following section describes these modes:

## Developer Mode

This is the default installation mode where the  `Starcounter Server Service`  can be started on-demand, typically when you start a Starcounter Application.&#x20;

### How to install

* Run the  `<Your setup file name>.exe`  by double clicking on it.
* Select `Production` on the Setup screen :

![](https://19387115-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fstarcounter%2F-L5JcUFOKmafR1ACva6J%2F-L5Jk-JW_duwoSAOP4CW%2FDeveloper.PNG?alt=media\&token=24775fed-533f-4714-bb43-3a676cec3114)

## Production Mode

In `Production Mode` the installer starts `Starcounter Server Service` as part of the installation process and also sets the `Startup Type` of the service to `Automatic` so that it can be started on Windows Logon.&#x20;

### How to install

There are two ways you can install Starcounter in Production Mode :

* Run the  `<Your setup file name>.exe`  by double clicking on it.
* Select `Production` on the Setup screen :

![](https://19387115-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fstarcounter%2F-L5JcUFOKmafR1ACva6J%2F-L5Jk2Ao5VYnqDSFTujl%2FProductionMode.PNG?alt=media\&token=38533e57-7aa2-48eb-8d81-b2e918cfa3ac)

### Installing with command line

* Open a `Command Prompt`window with `Administrator` privileges
* Browse the directory where the Starcounter setup file exists.
* Run the following command :

```
<Your setup file name>.exe productionmode
```

## Silent Installation

In `Silent Installation`the Starcounter installation process runs seamlessly without prompting any messages to the user or asking about any choices - Yes/No popups. This is particularly useful in production environments where user wants to install Starcounter in an unattended fashion with some commands or scripts. &#x20;

### How to install

* Open a `Command Prompt`window with `Administrator` privileges
* Browse the directory where the Starcounter setup file exists.
* Run the following command :

```
<Your setup file name>.exe Silent productionmode unattended
```

![](https://19387115-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fstarcounter%2F-L5JcUFOKmafR1ACva6J%2F-L5Jk526AJIaJqkGkrzh%2Fsilent%20mode.PNG?alt=media\&token=d3d0b21b-a9cf-48f7-83b1-89e976baf6a7)

* It should install Starcounter seamlessly

**Note**: By default the  `Starcounter Server Service` runs under the `Local Service` account.

## Docker

Starcounter can also be installed and run in Docker containers. For more information, see [Starcounter.Docker.Windows](https://github.com/Starcounter/Starcounter.Docker.Windows).
