Prerequisites
- The Veryfront CLI installed (see Installation).
- A terminal in which you can run
veryfront init.
Scaffold
minimal for a blank app or ai-agent for an agent and chat route. Pass
--template to skip the prompt:
Choose a runtime
By default,veryfront init scaffolds projects for Node.js. Pass
--runtime <node|bun|deno> to select a different JavaScript runtime:
- All runtimes get the same
package.jsonand template files. --runtime denoadditionally writes a thindeno.jsonsodeno task dev/deno task build/deno task previewwork without extra setup. Deno reads npm dependencies directly frompackage.jsonvianodeModulesDir: "auto".- The install command and the printed next-steps match your runtime
(
npm install/bun install/deno install).
"runtime": "deno" in the JSON file passed to --config.
Use a package manager
Use these commands when you do not have the Veryfront CLI installed globally.Run the dev server
Inspect the scaffold
Theminimal template creates:
ai-agent template also creates:
app/. The agent template also adds root-level agents/ and
tools/. For the convention behind these directories, see
Framework conventions.
Verify it worked
veryfront dev prints Ready on http://localhost:3000. Open the URL and save a
source file. The browser should hot-reload.