---
title: Install from source
project: OpenTemplates
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/opentemplates/1-0/guides/install/
updated: 2026-11-19T07:56:18.024Z
---

# Install from source

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

You need [Node.js](https://nodejs.org) (a current LTS release) and Git.

## Install and start

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

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

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

```bash
npm install
```

**3.** Start OpenTemplates:

```bash
npm start
```

**4.** Open `http://localhost:8000/` in your browser. It takes you to the interface at `/setup/`. See [First start](../first-start/).

OpenTemplates 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 OpenTemplates with Node.js and pass the port:

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

## Where your data is saved

Profiles, templates, tokens, the configuration, the logs and uploaded files are saved in the `databases` folder inside the OpenTemplates folder. See [The data folder](../../reference/data-folder/) and [Back up your data](../backups/).

Before you open OpenTemplates to other people, read [Run in production](../production/).
