A CLI tool to scaffold new AbsoluteJS projects quickly and effortlessly.
Scaffold a new project called <project-name>
:
bun create absolutejs my-app
Alternatively, using npm, Yarn, or pnpm:
npm create absolutejs my-app
yarn create absolutejs my-app
pnpm create absolutejs my-app
By default, the CLI will interactively prompt you for any missing configuration values. You can also supply flags to skip those prompts:
- To skip all optional prompts and use
none
for every optional configuration:bun create absolutejs my-app --skip
- To skip one optional prompt without providing a real value, pass
none
to that flag:bun create absolutejs my-app --auth none --engine none
Usage: create-absolute [options] [project-name]
project-name
Name of the application to create. If omitted, you'll be prompted to enter one.
--help
,-h
Show the help message and exit.--debug
,-d
Display a summary of the project configuration after creation.--angular <name>
Directory name for an Angular frontend.--assets <name>
Directory name for your static assets.--auth <provider|none>
Preconfigured auth plugin ornone
to skip auth setup.--build <dir>
Output directory for build artifacts.--database <name>
Directory name for your database files.--directory <default|custom>
Directory-naming strategy:default
orcustom
.--engine <engine|none>
Database engine (postgresql
|mysql
|sqlite
|mongodb
|redis
|singlestore
|cockroachdb
|mssql
) ornone
.--frontend <framework>
Frontend framework(s) to include: one or more ofreact
,svelte
,html
,htmx
,vue
,angular
.--git
Initialize a Git repository.--host <provider|none>
Database host provider (neon
|planetscale
|supabase
|turso
|vercel
|upstash
|atlas
) ornone
.--html <name>
Directory name for an HTML frontend.--htmx <name>
Directory name for an HTMX frontend.--lang <ts|js>
Language:ts
orjs
.--lts
Use the latest published versions of required packages.--npm
Use the package manager that invoked this command to install dependencies.--orm <drizzle|prisma|none>
ORM to configure:drizzle
,prisma
, ornone
.--plugin <plugin>
Elysia plugin(s) to include (can be specified multiple times), ornone
to skip plugins.--quality <eslint+prettier|biome>
Code quality tool:eslint+prettier
orbiome
.--react <name>
Directory name for a React frontend.--script <ts|js|none>
HTML scripting option:ts
,js
, ornone
.--skip
Skip all non-required prompts and usenone
for every optional configuration.--svelte <name>
Directory name for a Svelte frontend.--tailwind
Include Tailwind CSS setup.--tailwind-input <path>
Path to your Tailwind CSS entry file.--tailwind-output <path>
Path for the generated Tailwind CSS bundle.--vue <name>
Directory name for a Vue frontend.
Choose between the default layout (pre-configured folder names) or custom, which prompts you to specify each directory name yourself:
bun create absolutejs my-app --directory custom
--debug
,-d
After scaffolding, prints a detailed summary of your configuration (language, frontends, directories, etc.).--lts
Instructs the CLI to fetch and pin the latest published versions of your dependencies instead of its default pinned versions.
Once the scaffold completes, you’re ready to go:
cd my-app
# (If you skipped automated install)
bun install
# Then start the dev server
bun run dev
Contributions are welcome! Feel free to open issues or submit pull requests to improve the CLI.
Licensed under CC BY-NC 4.0.