@drmhse/authos-cli

Pre-1.0 CLI for scaffolding AuthOS integrations
3,866 6
Install
npm install @drmhse/authos-cli
Latest Version:0.8.16
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: drmhse

@drmhse/authos-cli

npm version License: MIT

CLI for scaffolding AuthOS integration components into React, Next.js, Vue, and Nuxt projects.

This package is pre-1.0 and Beta. Pin an exact version and review the current AuthOS support matrix.

Full documentation: authos.dev/docs/packages/authos-cli/

AI agent skills: authos.dev/docs/ai-agent-skills/ and github.com/drmhse/authos_skill

Install

npm install -g @drmhse/authos-cli

Or run without a global install:

npx @drmhse/authos-cli init

Commands

Initialize a project

authos init

This command detects the framework, installs the relevant adapter package, and sets up the base AuthOS configuration. For Next.js it writes both AUTHOS_BASE_URL and NEXT_PUBLIC_AUTHOS_URL to .env.local; for Vite React/Vue it writes AUTHOS_BASE_URL and VITE_AUTHOS_BASE_URL.

Add a component template

authos add login-form
authos add org-switcher
authos add user-profile

Provision ACT

authos provision act \
  --base-url https://auth.example.com \
  --act-url https://act.example.com \
  --owner-email owner@example.com \
  --owner-password '...'

This command idempotently bootstraps the ACT organization, service, redirect URIs, GitHub scopes, and service API key. It can also write the one-time API key and AuthOS client ID to local files.

Typical flow

authos init
authos add login-form

For a fresh standalone AuthOS install, use the URL printed by sudo ./install.sh or shown in the lite Platform Setup workspace. The default local URL is usually http://localhost:3001 on the AuthOS host.

See the docs site for supported frameworks, template behavior, and troubleshooting.

Related Packages

@dashboardstack/cli

CLI for scaffolding full-stack DashboardStack projects with Next.js, Nuxt, and T...

6,403
@drmhse/authos-vue

Pre-1.0 Vue and Nuxt adapter for AuthOS authentication

4,367 6
kintura

Install production-grade motion page templates into your project — one command,...

175
@0xbojack/create-fhevm-dapp

Create FHEVM dApps with framework templates

1,977
create-strapi-launchpad

CLI to scaffold the official Strapi LaunchPad demo application with the frontend...

368

Version History

Version Released License
0.8.16 MIT
0.8.12 MIT
0.8.10 MIT
0.8.9 MIT
0.8.8 MIT