vix note starts the Vix Note workspace.
Use it to open an interactive note UI, run note cells, work from the current project directory, or export a .vixnote document to a standalone HTML lesson.
vix notevix note runs a local Vix Note server.
Without a file, it starts a workspace for the current directory.
vix noteWith a .vixnote file, it loads that document.
vix note lessons/pointers.vixnoteThe command exposes the note UI through HTTP.
http://127.0.0.1:5179/It can also open the note UI inside a desktop WebView shell when desktop shell support is available.
vix note --desktopvix note [file.vixnote] [options]
vix note export <file.vixnote> --out <file.html> [options]vix noteThis starts a note workspace in the current directory.
Vix creates an untitled note document in memory and uses the current folder as the project context.
Example output shape:
Vix Note
HTTP: http://127.0.0.1:5179/
Status: listeningvix note examples/hello.vixnoteA note file must use the .vixnote extension.
vix note lessons/pointers.vixnoteUse a custom port:
vix note lessons/pointers.vixnote --port 5180Use a custom host:
vix note lessons/pointers.vixnote --host 127.0.0.1 --port 5179vix note --desktopor:
vix note lessons/pointers.vixnote --desktopDesktop mode starts the local note server, waits until it is ready, then opens the note UI inside a desktop shell.
Set the desktop window size:
vix note lessons/pointers.vixnote --desktop --width 1400 --height 900Enable developer tools:
vix note --desktop --devtoolsStart fullscreen:
vix note --desktop --fullscreenDisable resizing:
vix note --desktop --no-resizableUse browser/server mode explicitly:
vix note --browservix note export examples/hello.vixnote --out hello.htmlThis exports the .vixnote document to a standalone HTML lesson.
Export without cell outputs:
vix note export examples/hello.vixnote --out hello.html --no-outputsExport with outputs:
vix note export examples/hello.vixnote --out hello.html --with-outputsCell outputs are included by default.
| Option | Description |
|---|---|
--host <host> |
Host used by the local note server. Default: 127.0.0.1 |
--host=<host> |
Same as --host <host> |
--port <port> |
Port used by the local note server. Default: 5179 |
--port=<port> |
Same as --port <port> |
| Option | Description |
|---|---|
--desktop, --shell |
Open the note UI in a desktop WebView shell |
--browser |
Keep browser/server mode |
--width <px> |
Desktop shell width. Default: 1280 |
--height <px> |
Desktop shell height. Default: 820 |
--devtools |
Enable WebView developer tools when supported |
--no-devtools |
Disable WebView developer tools |
--fullscreen |
Start the desktop shell fullscreen |
--resizable |
Allow the desktop shell to be resized |
--no-resizable |
Disable desktop shell resizing |
| Option | Description |
|---|---|
--out <file.html> |
Output HTML file |
--out=<file.html> |
Same as --out <file.html> |
--with-outputs |
Export with cell outputs |
--no-outputs |
Export without cell outputs |
| Option | Description |
|---|---|
--quiet, -q |
Only print errors |
--json |
Emit machine-readable lifecycle events |
--no-color |
Disable ANSI colors |
--color |
Force ANSI colors |
Start notes for the current project:
vix noteOpen a saved lesson:
vix note lessons/cpp-basics.vixnoteOpen a note on another port:
vix note lessons/cpp-basics.vixnote --port 5180Open the note UI as a desktop app:
vix note lessons/cpp-basics.vixnote --desktopExport a lesson to HTML:
vix note export lessons/cpp-basics.vixnote --out cpp-basics.htmlExport a clean lesson without outputs:
vix note export lessons/cpp-basics.vixnote --out cpp-basics.html --no-outputsUse JSON lifecycle events:
vix note lessons/cpp-basics.vixnote --jsonRun quietly:
vix note lessons/cpp-basics.vixnote --quietWhen the note server is running, the main routes are:
| Route | Purpose |
|---|---|
/ |
Vix Note UI |
/api/document |
Current document JSON |
/api/cells/<i>/run |
Run one cell |
/api/run-all |
Run all executable cells |
Wrong:
vix note lesson.mdCorrect:
vix note lesson.vixnotevix note expects .vixnote files.
Wrong:
vix note --port 999999Correct:
vix note --port 5179The port must be between 1 and 65535.
Wrong:
vix note export lessons/pointers.vixnoteCorrect:
vix note export lessons/pointers.vixnote --out pointers.htmlvix note --desktopDesktop mode requires the CLI to be built with UI shell support.
When it is not available, use browser/server mode:
vix note --browserCheck the path:
vix note lessons/pointers.vixnoteThe file must exist and must be a regular .vixnote file.
Use another port:
vix note --port 5180Another process may already be using the default port.
Use normal server mode:
vix noteThen open the printed local URL in your browser.
The CLI must be built with Note support enabled.
cmake -S . -B build -DVIX_ENABLE_NOTE=ON
cmake --build build -j| Mode | Command | Purpose |
|---|---|---|
| Workspace | vix note |
Start notes for the current directory |
| File | vix note file.vixnote |
Open an existing note document |
| Desktop | vix note --desktop |
Open the note UI inside a desktop shell |
| Export | vix note export file.vixnote --out file.html |
Export a note to standalone HTML |
| Command | Purpose |
|---|---|
vix run |
Build and run a Vix target |
vix desktop |
Run a Vix web UI inside a desktop shell |
vix mobile |
Generate and run a mobile WebView shell |
vix dev |
Run a development server with reload |