Install from source
Install LessCode with Node.js and start it on your computer or server.
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 lesscode2. Install the dependencies (once):
npm install3. Start LessCode:
npm start4. 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 8080Where 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.