nustack
How-to

Install

Install Nu from PyPI. For hacking on Nu itself, see Install from source. For editable dev across the full nustack (nu + virtuals + invisibles), see Cross-repo dev.

Prerequisites

  • Python 3.10 or later.

Install

The everything-included install:

pip install "nustack-py[all]"

For a lean install, pick the extras you need instead of [all]. One extra per fabric: [kv], [mem], [ui], [ray], [proxy], [http], [cc].

pip install "nustack-py[mem,ui]"

Verify

Check the install:

python -c "import nu; print(nu.__version__)"

Run the bundled counter demo. A live counter renders in a browser dashboard and persists across restarts:

nu demo counter

Open the browser tab that pops up. Kill the process, run it again, it picks up where it left off. nu demo shows all bundled demos.

Next: Hello, Nu for your first program, or Your first app for a full walkthrough.

On this page