Agent-friendly installer for dAppBooster that scaffolds Web3 dApps via TUI or non-interactive CLI/CI with JSON output.
- Node >= 20
- pnpm
pnpm dlx dappboosterdAppBooster documentation: https://docs.dappbooster.dev/
Use --info to discover features, then run a non-interactive install that returns JSON.
pnpm dlx dappbooster --info
pnpm dlx dappbooster --ni --name my_dapp --mode fullThe installer supports a non-interactive mode for CI pipelines and AI agents. It activates automatically when stdout is not a TTY, or explicitly with the --ni flag.
pnpm dlx dappbooster --info{
"features": {
"demo": {
"description": "Component demos and example pages",
"default": true
},
"subgraph": {
"description": "TheGraph subgraph integration",
"default": true,
"postInstall": [
"Provide your own API key for PUBLIC_SUBGRAPHS_API_KEY in .env.local",
"Run pnpm subgraph-codegen from the project folder"
]
},
"typedoc": {
"description": "TypeDoc API documentation generation",
"default": true
},
"vocs": {
"description": "Vocs documentation site",
"default": true
},
"husky": {
"description": "Git hooks with Husky, lint-staged, and commitlint",
"default": true
}
},
"modes": {
"full": "Install all features",
"custom": "Choose features individually"
}
}pnpm dlx dappbooster --ni --name my_dapp --mode full{
"success": true,
"projectName": "my_dapp",
"mode": "full",
"features": ["demo", "subgraph", "typedoc", "vocs", "husky"],
"path": "/absolute/path/to/my_dapp",
"postInstall": [
"Provide your own API key for PUBLIC_SUBGRAPHS_API_KEY in .env.local",
"Run pnpm subgraph-codegen from the project folder"
]
}pnpm dlx dappbooster --ni --name my_dapp --mode custom --features demo,subgraph{
"success": true,
"projectName": "my_dapp",
"mode": "custom",
"features": ["demo", "subgraph"],
"path": "/absolute/path/to/my_dapp",
"postInstall": [
"Provide your own API key for PUBLIC_SUBGRAPHS_API_KEY in .env.local",
"Run pnpm subgraph-codegen from the project folder"
]
}Errors return structured JSON with a non-zero exit code:
pnpm dlx dappbooster --ni --mode full{
"success": false,
"error": "Missing required flag: --name"
}Clone the repo
git clone git@github.com:BootNodeDev/dAppBoosterInstallScript.gitMove into the folder you just created and install the dependencies
cd dAppBoosterInstallScript
pnpm iYou can run the script by doing
node cli.jsNew releases are automatically uploaded to NPM using GitHub actions.