CLI Reference
Every command currently shipped by the AbsoluteJS CLI.
#Commands
Run commands from an AbsoluteJS project. Use the linked topic pages in this section for detailed workflows and examples.
| Command | Purpose |
|---|---|
absolute dev [entry] [--config path] | Start the development server. |
absolute workspace dev [--no-tui] [--config path] | Run every configured workspace service together. |
absolute build [--outdir dir] [--profile] [--config path] | Build production assets. |
absolute prepare [entry] [--outdir dir] [--config path] | Build production assets and the server without launching it. |
absolute start [entry] [--outdir dir] [--prebuilt] [--config path] | Start the production server, optionally from an existing build. |
absolute compile [entry] [--outdir dir] [--outfile path] [--config path] | Compile a standalone executable. |
absolute generate <page|api|component> <name> [--framework fw] | Scaffold a page, API plugin, or component. The g alias is also supported. |
absolute add <framework|integration|auth:feature> [--no-install] | Add a framework, an OpenAPI/telemetry/CORS/JWT/cron integration, or scaffold an auth feature. |
absolute remove <framework> [--prune] | Remove a framework from configuration. Source is always retained; --prune also uninstalls its dependencies. |
absolute config [--port n] | Open the unified ESLint, TypeScript, and Prettier configuration UI. |
absolute db <backup|restore|seed> | Back up or restore PostgreSQL data, or run the project seed script. |
absolute htmx [version] | Report, install, or upgrade the self-hosted pinned HTMX copy. |
absolute analyze [--save] [--json] | Inspect bundle size and compare it with a saved baseline. |
absolute api [--open] [--json] | Inspect the API surface or open the generated OpenAPI UI. |
absolute routes [--json] | List page and API routes exposed by a running development server. |
absolute islands [--sizes] [--json] | List cross-framework islands, hydration modes, pages, and optional sizes. |
absolute inspect [--json] | Inspect live requests handled by a running development server. |
absolute ls [--sizes] [--budget size] [--json] | List project pages by framework and optionally enforce a size budget. |
absolute ps [--watch] [--json] [--kill target] [--kill-all] | List and manage running AbsoluteJS servers. |
absolute mem [--json] | absolute mem diff <a> <b> | Report process memory or compare heap snapshots. |
absolute logs <name> [-f] [-n lines] | Read or follow logs for a named running server. |
absolute doctor [--fix] [--json] | Diagnose project tools, types, configuration, framework directories, environment, and ports. |
absolute env [--check] [--json] | Report environment variables read through getEnv and identify missing values. |
absolute eslint | Run the cached ESLint workflow. |
absolute prettier | Run the cached Prettier check. |
absolute typecheck [--config path] | Run the type checkers for all configured frameworks. |
absolute lint-proof <run|verify> -- <command> | Record or verify an exact-source local lint pass. |
absolute mkcert | Set up the local development certificate authority and certificate. |
absolute telemetry | Manage anonymous CLI telemetry preferences. |
absolute info | Print reproducible system information for bug reports. |
absolute tunnel-relay | Run the public reverse-tunnel relay used for webhook development. |