Get started with Nue

1. Install Bun

First, install Bun:

# Install Bun
curl -fsSL https://bun.sh/install | bash

Nue uses Bun for its superior web standards support, including native CSS parsing. Check details on why Nue prefers Bun over Node.js from our FAQ.

2. Install Nue

Next, install Nue globally:

# Install Nue
bun install --global nuekit

Nue uses global installation because it is a command line tool like Git or Docker. Just go to a directory and type nue to develop.

3. Install app

Create your first app with:

nue create simple-blog

Alternatively, start with a multipage app

nue create simple-mpa

Done! Your browser should now open to: http://localhost:8083/:


Details

System Requirements

Known issues

Having Problems?

Please post an issue.

Node Setup

If you prefer to install Nue with pnpm, npm, or yarn, use:

pnpm install --global nuekit esbuild lightningcss

The default engine is Bun, so the command line interface starts with #!/usr/bin/env bun. To override the shebang with Node, run:

node $(which nue)

To make this command permanent, add the following alias to your ~/.bashrc or ~/.zshrc file:

alias node-nue="node $(which nue)"