---
title: Install from source
project: OpenReports
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/openreports/1-0/guides/install-source/
updated: 2026-11-19T07:46:45.185Z
---

# Install from source

> Install OpenReports with Node.js and start it on your computer or server.

You need [Node.js](https://nodejs.org) 16 or newer, Git, and a PostgreSQL database that OpenReports can reach.

## Install and start

**1.** Get the code and open its folder:

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

**2.** Install the dependencies (once):

```bash
npm install
```

**3.** Start OpenReports:

```bash
npm start
```

**4.** Open `http://localhost:8000/` in your browser. See [First access](../first-access/).

OpenReports keeps running until you stop it with Ctrl+C in the terminal.

## Use another port

`npm start` uses port 8000. To use another port, start OpenReports with Node.js and pass the port:

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

## Where your work is saved

Your settings, views and reports live in the file `databases/memorize_data.json` inside the OpenReports folder. See [Back up OpenReports](../backups/).

## Keep your server safe

OpenReports has no sign-in page of its own. Before you install it on a server that others can reach, read [Run in production](../production/).
