Developers
Create a project and share a preview
The shellui command scaffolds an app, serves it on your machine, and uploads a 7-day preview.
$ shellui init$ shellui start$ shellui deploy --buildPreview deploy complete.
Scaffold the project
Install @shellui/cli. It needs Node.js 20.19 or later, or Node.js 22.12 or later.
shellui init asks for a framework and a backend, then writes the project. The program name is shellui. An agent can learn those steps at shellui.ai.
$ npm install -g @shellui/cli$ shellui init
Run it locally
shellui start serves the shell with your app inside it. shellui dev is the same command.
shellui login shows a device code. You approve it in the browser. Tokens go to the keychain, or to a mode 0600 file when no keychain is available.
$ shellui startStarting Shellui...
Share a 7-day preview
shellui deploy uploads a preview for a workshop or a demo. There is no production deploy and no --prod flag.
shellui deploy history lists those previews. shellui deploy rollback makes an earlier preview live again.
$ shellui loginSign in to Shellui Code ABCD-1234 Link https://id.shellui.com/oauth/cli/device?user_code=ABCD-1234Opened the verification page in your browser.Logged in successfully.$ shellui deploy --buildPreview deploy complete.Browse: https://preview.example.com/
Upload that preview from CI
Create a deploy token in admin, under Hosting, then Apps, then Deploy tokens. Store it as a CI secret named SHELLUI_DEPLOY_TOKEN.
Do not put the token on the command line. npm ci installs the project. npx -p @shellui/cli runs the published package.
$ npm ci$ npx -p @shellui/cli shellui deploy --build