@nevuto/cli
v0.1.0
Published
Create and run apps for the Nevuto admin.
Readme
@nevuto/cli
Create and run apps for the Nevuto admin.
Install
npm i -g @nevuto/cliOr run it without installing: npx @nevuto/cli app init. Requires Node.js 22.13 or later.
Usage
nevuto login # allow this terminal in the Partner dashboard
nevuto store create # a free development store to install on
nevuto app init my-app # a new app from the starter template
cd my-app
nevuto app devnevuto app dev:
- links the project to an app in the Partner dashboard (pick one, or create one) and writes its client ID and secret to
.env, - opens a free Cloudflare quick tunnel (cloudflared, no account needed),
- points the app at the tunnel and copies scopes and webhooks from
nevuto.app.json(draft and unlisted apps only; a draft becomes unlisted so it can be installed), - picks the store to install on (
--store, or your only development store) and starts the app. Your own development stores may install your apps already; any other store is allowed first.
Published apps keep their URLs: develop against a second, unlisted app.
Without nevuto login it asks for the handle, client ID and secret and prints the URLs to paste into the dashboard.
| Command | |
| --- | --- |
| nevuto login / logout / whoami | Partner sign-in (a 30-day token in ~/.config/nevuto/credentials.json) |
| nevuto app init [dir] | New project from the template (--name, --no-install) |
| nevuto app link | Link to an existing app (--handle) or a new one (--create --name) |
| nevuto app dev | --store, --port, --tunnel-url URL, --no-tunnel, --api-host URL |
| nevuto app info | What the project is configured to be |
| nevuto store list | Your development stores, with admin and storefront password |
| nevuto store create | A new development store (--name; up to 5, free, test payments only) |
Links
- Building apps for Nevuto: https://nevuto.dev
- Nevuto UI: https://design.nevuto.com
License
MIT
