---
title: Install from source
project: OpenMail
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openmail/1-0/guides/install-source/
updated: 2026-11-19T07:58:04.366Z
---

# Install from source

> Download OpenMail, install its dependency and start it.

OpenMail is a Node.js app. You need [Node.js](https://nodejs.org) with npm and, to download the code, Git.

## Download and start

**1.** Download the code:

```bash
git clone https://github.com/totaljs/openmail.git
cd openmail
```

**2.** Install the dependency (the Total.js framework):

```bash
npm install
```

**3.** Start the app:

```bash
npm start
```

OpenMail listens on port `8000`. Open `http://127.0.0.1:8000/` in your browser: you land on the admin interface at `/setup/`.

## Use another port

`npm start` runs `node index.js 8000`. To use another port, start the app with the port number:

```bash
node index.js 8080
```

## Where your data goes

OpenMail keeps everything in the `databases` folder inside the app folder: profiles, templates, tokens, the configuration and the logs. See [Back up your data](../backups/).

## Next step

Before you do anything else, set a primary access token: [First start](../first-start/).
