---
title: Install from source
project: Flow
version: 11.1
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/flow/11-1/guides/install-source/
updated: 2026-11-19T04:29:29.073Z
---

# Install from source

> Install Total.js Flow with Node.js and start it on your server.

You need [Node.js](https://nodejs.org) and a copy of the Flow source code.

## Install and start

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

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

**2.** Install the dependencies:

```bash
npm install
```

**3.** Start Flow:

```bash
npm run start
```

**4.** Open `http://localhost:8000` in your browser.

## Use another port

Pass the port when you start Flow:

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

You can also set the port in the [configuration file](../../reference/config-file/) with the `$port` key.

## Keep your server safe

- Sign in as soon as Flow is running. Until you do, the sign-in page shows the generated account. See [First sign-in](../first-sign-in/).
- Use HTTPS and restrict who can reach the server when Flow is available over a network.
