🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@nexus_js/create-nexus

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexus_js/create-nexus

Create a new Nexus app — npm create @nexus_js/nexus (scoped; avoids unscoped name conflicts on npm)

Source
npmnpm
Version
0.9.26
Version published
Weekly downloads
31
-95.54%
Maintainers
1
Weekly downloads
 
Created
Source

@nexus_js/create-nexus

Official project scaffold for Nexus. Published under the @nexus_js scope so you can publish without fighting for the global name create-nexus on npm.

npm maps npm create @scope/name to the package @scope/create-name:

npm create @nexus_js/nexus@latest
pnpm create @nexus_js/nexus
yarn create @nexus_js/nexus
bunx @nexus_js/create-nexus@latest

With a folder name:

npm create @nexus_js/nexus@latest my-app

Interactive setup (default in a terminal)

Running create without --yes starts a short wizard (similar to Next.js / Nuxt):

  • Project directory — folder name under the current path (default my-nexus-app, or the name you passed as the first argument).
  • Starterminimal or full (unless you already passed -t / --template).
  • Summary — confirm with Y before files are written.

If the target folder already exists, the CLI exits with an error (no overwrite).

Non-interactive / CI

Use --yes (or -y, --defaults) to skip all prompts:

  • Directory: first positional argument, or my-nexus-app.
  • Starter: --template, or full by default.
npm create @nexus_js/nexus@latest -- --yes
npx @nexus_js/create-nexus@latest ci-app --yes --template minimal

Starter templates

TemplateFlagWhat you get
Minimal--template minimal or -t minimalOne landing +page.nx, simple +layout.nx, no i18n, no example blog or /islands route — closest to a blank slate.
Full--template full or -t full (default when non-interactive)i18n (en/es/pt), islands presentation page, blog examples.
npm create @nexus_js/nexus@latest my-app -- --template minimal
npx @nexus_js/create-nexus@latest my-app -t full

Direct binary (same as above):

npx @nexus_js/create-nexus@latest my-app

Then:

cd my-app
npm install   # or: pnpm install / yarn / bun install
npm run dev     # or: pnpm dev / yarn dev / bun run dev

The implementation lives in @nexus_js/cli; this package only wires the create entrypoint.

License

MIT © Nexus contributors

Keywords

nexus

FAQs

Package last updated on 05 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts