appbuilder-project-init
App Builder Project Initialization
Maps user intent to the right Adobe App Builder template and runs non-interactive aio app init. Default: @adobe/generator-app-excshell (SPA + actions). For headless/bare projects, use init-bare.
When the Developer Console project, workspace or API subscriptions don't exist yet, create them non-interactively with aio console … first (see Bootstrap below). Install the latest @adobe/aio-cli: its bundle has the non-interactive Console commands and aio app init --org/--project/--template-options.
Machine setup (first time)
Do this once per machine before initializing a project — plus a login per environment. If the CLI is already installed and you're logged in, skip to Bootstrap below.
1. Node 20
App Builder needs Node 20 (npm ships with it). Check what's active: node -v → expect v20.17 or later (@adobe/aio-cli 11 requires >=20.17.0).
- Have nvm?
nvm install 20 && nvm use 20 && nvm alias default 20so new shells keep it. If several Node versions are installed, the active one must be 20. - No Node / no nvm? Ask the user before installing anything. Prefer
brew install node@20or the official installer at nodejs.org. If they want nvm, have them install it from nvm's instructions themselves; don't pipe an installer from the network into a shell. Once nvm is there, in a new shell:nvm install 20 && nvm use 20 && nvm alias default 20