Skip to content

Installation Quickstart

This guide shows you two ways to get started with MolnOS quickly: running it locally on your machine, or deploying it to free cloud services for a demo accessible from anywhere.

The fastest way to try MolnOS is to run it on your local machine.

  • Node.js 24 or later (download)
  • Basic comfort with command-line interfaces
  • 10 minutes of your time

All of the below assumes Linux or MacOS or that you use equivalent tooling as expressed in the steps.

Choose your installation method. The npm method is the quickest way to get started, while the CLI installer provides additional CLI tooling for managing MolnOS.

Since version 1.0.3, you can install MolnOS Core directly via npm:

Global installation:

Terminal window
npm install -g molnos

Then run it with:

Terminal window
molnos

Local installation:

Terminal window
npm install molnos

Then run it with:

Terminal window
npx molnos

Create a configuration file manually (as per below) or generate a scaffold using:

Terminal window
molnos init

Edit molnos.config.json with your email settings. For local testing, you can use a service like Mailpit or your own SMTP server:

{
"$schema": "https://schemas.molnos.cloud/schema-config-v1.json",
"version": "1",
"email": {
"emailSubject": "Sign In To MolnOS",
"user": "[email protected]",
"password": "your-smtp-password",
"host": "localhost",
"port": 1025,
"secure": false
},
"auth": {
"jwtSecret": "your-secret-key-change-this",
"consoleUrl": "http://localhost:8000"
},
"server": {
"allowedDomains": ["*"]
},
"molnos": {
"dataPath": "data",
"initialUser": {
"userName": "User",
"email": "[email protected]"
}
}
}

Step 3: Download and Configure the Console

Section titled “Step 3: Download and Configure the Console”

Download the MolnOS Console from releases.molnos.cloud and extract it.

Open config.json in a text editor and verify the MolnOS Core (API) endpoint configuration:

{
"api": {
"baseUrl": "http://localhost:3000"
}
}

Note: The default configuration automatically uses http://localhost:3000 when accessing the app via localhost, which matches MolnOS’s default port.

Start the MolnOS Core:

Terminal window
molnos start

In a separate terminal, serve the MolnOS Console using any static file server:

Terminal window
# Navigate inside of the console directory
cd path/to/molnos-console
# Simple example using a basic Node.js package called http-server
npx http-server -o -p 8000 --proxy http://localhost:8000?

You should receive an email asking you to join your MolnOS organization. MolnOS automatically invites the initial user’s email when there is no existing data.

  1. Click the join button in the email you have received (the one you set as INITIAL_USER_EMAIL)
  2. MolnOS will process your join request and you’ll be able to sign in
  3. Sign in with your email in the Console
  4. Check your inbox for a magic link from MolnOS
  5. Click the link to complete sign-in
  6. You’re in! Start exploring MolnOS’s features.

The MolnOS CLI provides several commands for managing your installation:

Terminal window
# Install the MolnOS Core (API)
molnos install
# Check for and install updates
molnos upgrade
# Create a config file template
molnos init
# Start the MolnOS Core server
molnos start
# Validate your MolnOS license key
molnos license
# Activate your MolnOS license key
molnos activate # Implicit: picks "molnos.licenseKey" value from local molnos.config.json
molnos activate <key>. # Explicit
# Deactivate your MolnOS license key
molnos deactivate # Implicit: picks "molnos.licenseKey" value from local molnos.config.json
molnos deactivate <key> # Explicit
# Read the MolnOS documentation
molnos docs
# Read the MolnOS software agreement
molnos legal
# Remove MolnOS from your system
molnos uninstall

To update to the latest version:

Terminal window
molnos upgrade

This checks for updates and installs them automatically. Your configuration and data are preserved.

MolnOS stores all data locally on your host:

  • Installation: ~/.molnos/ (Core/API binary and version info)
  • Configuration: molnos.config.json (in your working directory)
  • Data: In the MolnOS folder and the data path (data, by default)

Now that MolnOS is running, here’s what to explore: