Prerequisites
- The Veryfront CLI installed (see Installation).
- A terminal in which you can run
veryfront init.
Scaffold
Runveryfront init to open the project wizard:
veryfront init skips every prompt and uses ai-agent on Node.js
without initializing Git. Passing --template also skips the whole wizard,
including the runtime and Git questions.
Choose a starting point directly when you already know what you want to build,
or when running the command from a non-interactive script:
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 start/deno task evalwork 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
localhost resolves to
127.0.0.1 on every machine without a DNS lookup. File changes reload the
browser.
Use project hosts from native clients
Multi-project browser URLs usehttp://<PROJECT>.localhost:<PORT>. Preview
browser URLs use http://<PROJECT>.preview.localhost:<PORT>. Chromium treats
the reserved .localhost tree as loopback on Windows.
Native Node, Deno, and command-line resolvers can depend on operating-system
resolver behavior for wildcard names. Veryfront’s Windows Server 2022 CI
currently records ENOTFOUND from Node 24 for project and preview hosts, while
Deno 2.7.7 resolves both to IPv4 and IPv6 loopback. Use literal loopback
transport and keep the canonical virtual host when a native request does not
resolve the browser URL:
Change the port
The dev server binds port 3000. Pass--port to bind a different one:
veryfront dev does not fail. It
scans forward for the first free port, reports the switch, and serves there:
Inspect the scaffold
Theminimal template creates:
ai-agent template creates:
app/. The agent template also adds root-level agents/,
tools/, and evals/. For the convention behind these directories, see
Framework conventions.
Generate additional app and AI primitives from the project root:
AGENTS.md. Coding agents should read that file first,
then use veryfront schema --json or the Veryfront MCP tools for current CLI
and project facts. Use Coding agents to connect
Claude Code, Cursor, Codex, or another MCP-aware agent.
Verify it worked
veryfront dev prints a Ready in <duration> line followed by
http://localhost:3000. Open that URL and save a source file. The browser
should hot-reload.