Create a new neo.mjs app (workspace) using the 1-liner:
npx neo-app
npm create neo-app runs the same generator.
npx neo-app works on macOS, Linux and Windows 10+.
If errors occur for your local environment, please file an issue.
Please ensure you have node & npm installed.
You do not need to clone this repository or globally install the neo-app npm package.
Please take a couple of minutes to read this README.md file first.
- Quick Overview
- Script Options
- Starting a local web-server
- Viewing your app in development mode
- Viewing your app in dist modes
- Workspace Content
- package.json Scripts
- Working on your new neo.mjs App
- Learning neo.mjs
- Feedback and Questions
- Alternative options to create an App
- Kudos
npx neo-app
Running the script will prompt 3 questions:
- Choose a workspace folder name. This folder will get created inside the terminal / CMD folder you are in.
You can rename it later on if needed.

- Choose an app name (Pascal Case)

- Choose the themes you want to use (you can change this later on inside the neo-config.json)

You can pass additional params to the script:

Choose a workspace folder name:
npx neo-app -w workspace
Choose an app name:
npx neo-app -n MyApp
Choose the themes:
npx neo-app -t all
Copy the engine's docs app into the workspace (it shows nothing until you run npm run generate-docs-json):
npx neo-app --docs
Of course, you can combine the options, e.g.:
npx neo-app -w workspace -n MyApp -t all
Every new workspace is ready for a coding agent such as Claude Code or Codex:
AGENTS.md(and aCLAUDE.mdthat imports it) explains how the engine works and where its source, guides and examples live in the workspace;- the
neo-app-authoringandneural-linkskills are linked into.agents/skills/and.claude/skills/by the workspace's ownnpm install; - each app's
neo-config.jsonsetsuseAiClient: "development", so the app connects to the Neural Link while you build it; .mcp.json(Claude Code) and.codex/config.toml(Codex) start the Neural Link MCP server from npm (npx -y neo-neural-link). Your client asks once before it trusts a project's servers.
Leave all of that out:
npx neo-app --no-agent
Add it to a workspace you already have (it changes nothing else, and keeps an existing AGENTS.md or CLAUDE.md):
npx neo-app --agent-only -w workspace
Opt into standalone cross-harness persistent memory (neo-memory-core):
npx neo-app --memory
By default, npx neo-app starts the engine's file server right after the build, and a new browser tab opens on your app.
In case you do not want to start the server automatically, you can use the -s option:
npx neo-app -s false
You can use a different web-server of your choice (e.g. webstorm) or you can start the default one manually later:
cd workspace
npm run server-start
The dev mode works in all major browsers (Chromium, Firefox & Safari).
The tab the server opens shows your new app at:
The server takes the next free port when 8080 is in use; the terminal prints the address.
The beauty inside this screen is:
- You can see 4 threads inside the bottom left edge of the console
- Your app as well as most parts of neo.mjs run within the App thread
- You get the real JS modules directly into your browser
- No need to transpile JS code in this mode
- No need for source-maps
The first run installs and builds what dev mode needs: the engine, the icon font, a dozen packages and the development
themes. The dist modes exist after you build them. The first build adds the build tools (webpack, terser and the rest)
to your package.json and installs them:
npm run build-alldist/development is using webpack based builds (source-maps, not minified)
dist/production is using webpack based builds (no source-maps, minified)
Using the script will create the following content:

- .gitignore has a basic setup excluding IDE related files, the dist folder & the package-lock.json
- apps contains the source files of your new app. You can create multiple apps as needed.
- buildScripts contains meta-infos (in theory this could get stored inside the neo.mjs node_module, but then every framework version update would require to re-create it)
- dist holds the development themes after the first run;
npm run build-alladds the development, production and esm builds of your app - docs exists only with
--docs: a copy of the engine's docs app, which shows documentation views of your app and the engine's examples oncenpm run generate-docs-jsonhas run - node_modules => what dev mode and the file server need; the build tools arrive with your first build
- package.json => defines scripts and dependencies.
neo.buildToolslists the build tools. Your first build installs them and adds them todevDependencies; the list stays as the recipe, so a build that was interrupted finishes the install the next time.
You need to enter the workspace folder inside your terminal / CMD.
cd workspace
You can run each script via
npm run <script-name>
server-start: Starts the engine's file server and opens your app;npm run server-start -- --no-openstarts it without a browser, and-- --port <n>orPORT=<n>picks the portbuild-all: adds the build tools on its first run, then npm install & builds literally everything.add-build-tools: installs the packages the build scripts import. Every script that needs one runs it first, so you rarely call it yourself.build-all-questions: same as build all, but you can choose what to build using the inquirer interface.build-themes: builds the themes for dev and / or prod and lets you choose if want to use CSS variables.build-threads: builds main, data & vdom (or any combinations) for dev and / or prod.create-app: add an additional app to your project. You can also trigger npx neo-app multiple times.generate-docs-json: writes the data the docs app of a--docsworkspace reads. Run it once before that app shows anything, and again when you change your app code (e.g. adding new files).bundle-browser-deps: builds the browser bundles the engine loads fromnode_modules/neo.mjs/dist/. The npm package ships none of them.npm installbuilds the two the engine imports at startup (parse5,marked); run this script for the ones loaded on demand (Mermaid, Monaco, highlight.js).
It is recommended to use the development mode (non dist version) for developing your App(s). This way you can just reload the App page whenever you change the code base. No need for source-maps and a very smooth debugging experience.
You ideally want to start with changing the view/MainContainer.mjs file.
Once you get to a point where you want to test your changes inside the dist versions, take a look at: package.json Scripts.
Take a look into the new Learning Section
Feel free to use one of these options (or both):
Slack Channel Invite Link
Discord Chat Invite Link
- Use npx neo-app
- Clone or fork the neo.mjs workspace (if there are any issues with npx neo-app)
- In case you want to get the neomjs/neo repository running locally, please take a look at the neo.mjs Getting Started Guide. Step 6 creates a new App inside neo/apps
The npx neo-app script is deeply inspired by Create React App.
Copyright (c) 2019 - today, Tobias Uhlig


