Get started with Nue
1. Install Bun
Install Bun:
# Install Bun
curl -fsSL https://bun.sh/install | bash
2. Install Nue
# Install Nue
bun install nuekit --global
3. Create a website
# Create a website
nue create simple-blog
Done. You should now have a new browser tab pointing to: http://localhost:8083/welcome/
:
4. Learn UX development
Follow the tutorial.
Details
System requirements
- Bun 1.0.10 or later. Recommended with macOS and Linux.
- Node.js 18.0.2 or later. Recommended with Windows or if you don't want to install Bun.
No Windows support
Nue currently does not work under Windows, but we're very close to get this fixed.
VS Code Extension
Is located here.
Having problems?
Please post an issue. Thank you!
Node setup
Install Nue with pnpm
, npm
or yarn
:
pnpm install nuekit --global
The default engine is Bun so the command line interface starts with #!/usr/bin/env bun
. Do the following to override the shebang:
node $(which nue)
To make the above command permanent you should store the following alias to your ~/.bashrc
or ~/.zshrc
file:
alias node-nue="node $(which nue)"