---
title: Install from source
project: LessCode
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/lesscode/1-0/guides/install-source/
updated: 2026-11-19T04:41:09.987Z
---

# Install from source

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

You need [Node.js](https://nodejs.org) 19 or newer and Git.

## Install and start

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

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

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

```bash
npm install
```

**3.** Start LessCode:

```bash
npm start
```

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

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

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

## Where your work is saved

Your flow lives in the file `flowstreams/lesscode.flow` inside the LessCode folder. See [The flow file](../../reference/flow-file/) and [Back up your flow](../backups/).

## Keep your server safe

The designer has no sign-in. Anyone who can open its address can change your flow and run code on the server. Before you install LessCode on a server that others can reach, read [Run in production](../production/).
