DeesseJS

Introduction

The DeesseJS CLI.

The @deessejs/cli npm package provides the deessejs command for discovering and scaffolding templates, inspecting blocks, publishing immutable managed releases, and signing in to the DeesseJS server. After scaffolding, the generated project runs independently of the CLI.

What the CLI does

  • Browse the registry: deessejs list shows every template, optionally filtered by category.
  • Inspect a template: deessejs info <slug> prints metadata plus the install line.
  • Scaffold a template: deessejs init <slug-or-github-url> uses the repository's deesse-template.json, detects the package manager, and installs dependencies.
  • Publish a managed release: deessejs template publish --slug <slug> --destination <organization-or-deessejs> uploads the current committed descriptor and selected files as an immutable version. deessejs block publish publishes a block release.
  • Request a catalog listing: deessejs organization template request-listing <organization> <slug> --confirm-distribution-rights asks for catalog review. It neither publishes a managed release nor approves a catalog entry.
  • Inspect blocks: deessejs block info reads block metadata. deessejs block check checks a local or GitHub block source.
  • Sign in: deessejs auth login opens the browser for a device-flow approval. The CLI stores the resulting token at ~/.deessejs/auth.json.

Use deessejs --help to see the top-level commands and deessejs <command> --help for command options. deessejs --version prints the installed version.

Install

# Use once, no install
npx --yes @deessejs/cli@latest init <slug>

# Or install globally
npm install -g @deessejs/cli
deessejs init <slug>

The release workflow publishes stable releases to npm’s latest channel. It can also publish an on-demand prerelease of the current staging branch to npm’s canary channel. Pull requests receive temporary previews through pkg.pr.new.

Requirements

  • Node.js 22.14.0 or newer: declared in apps/cli/package.json. npx and global installs both enforce it.
  • GitHub access: required by init to download the repository archive and read its descriptor.
  • A package manager: pnpm, npm, yarn, or bun. init picks one based on the generated project. Override with --pm <name>.

The CLI defaults to https://app.deessejs.com. Set DEESSEJS_API_URL to use another API host, for example in development, integration, or test environments.

What the CLI doesn't do

  • It doesn't host templates. They live in GitHub repositories, and the CLI uses each repository's descriptor to select files.
  • The API stores managed releases as private R2 artifacts. It checks and seals each archive, then returns short-lived download links after access checks. The catalog uses a placeholder when a repository has no preview image.
  • It doesn't manage your environment variables. Templates ship .env.example files. Copy one and add your values.
  • It doesn't deploy. Use your platform's tools to deploy the generated project, such as Vercel, Expo Application Services (EAS), or Cloudflare.

Where to go next

On this page