Installation Guide
Follow these steps to set up and start using the theme.
Prerequisites
Before you begin, ensure your system meets the following requirements.
Install Node.js
Lumio requires Node.js 22.12.0 or later. The theme uses modern Astro and Tailwind tooling, so using the version declared in package.json is the safest path.
Follow these steps to install Node.js on Windows:
- Download the latest suitable LTS/current version of Node.js from the official website: Node.js Downloads
- Run the installer after it’s downloaded, and follow the on-screen instructions.
- After installation, open the Command Prompt and verify the installation:
node -vYou should see a version number like v22.12.0 or newer.
Here’s how to install Node.js on macOS:
- Make sure Homebrew is installed.
- Open Terminal and run:
brew install node- Verify the installation:
node -vThe terminal should display the installed version of Node.js.
To install Node.js on Linux, follow these steps:
- Open Terminal and update your package list:
sudo apt update- Install Node.js:
sudo apt install nodejs npm- Verify the installation:
node -vIf everything worked correctly, the installed version will be displayed.
💡 Need help? Check out the official Node.js installation guide.
Setting Up Lumio
Once Node.js is installed, follow these steps to set up Lumio:
Install Dependencies
Navigate to your project directory and run:
npm installThis will install all dependencies for Lumio.
Start the Development Server
To start the local development server, run:
npm run devLumio’s dev script also starts the TOML watcher, so updates to src/config/config.toml are reflected in the generated config used by the app.
Create a Production Build
To generate an optimized production build, run:
npm run buildThis will generate the site, process multilingual/config helpers, and place the final output in the dist/ folder.
Preview the Production Build
To preview the built site locally, run:
npm run previewThis lets you verify the production output before deployment.
🚀 You’re all set. Next, review the project structure so you know where Lumio keeps its content, layouts, and configuration.