Spanish Total.js
English
Documentation For AI agents
Contents

Install from source

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

.md GitHub
On this page

You need Node.js 19 or newer and Git.

Install and start

1. Get the code and open its folder:

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

2. Install the dependencies (once):

npm install

3. Start LessCode:

npm start

4. Open http://localhost:8000/ in your browser. See 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:

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 and Back up your flow.

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.

Made in Europe