vt CLI
Caution We recommend installing Val Town plugin or MCP server instead of the CLI. The MCP server has more tools, and the plugin includes platform skills.
Setup
vt is built with the Deno TypeScript runtimet, so make sure you have Deno installed.
Install the Val Town CLI:
deno install -grAf jsr:@valtown/vtRun
vtto login to Val Townvt create,vt remix, orvt clonea val. Select “Yes” to add editor files*cdinto your val's directory(Optional)
vt checkout -b <branch>to isolate changesvt watchto sync your changes to Val Town as you save files
* This will include AGENTS.md, which LLMs should respect (with some exceptions, like CLAUDE.md).
Tips, Troubleshooting
- Ask to list or examine your vals or read sqlite data, logs, etc.
- Ask your LLM to edit vals and even agentically iterate
- Broken code? Visit the
Versionstab orHistoryof your val to revert - Large changes? Use feature branches and merge when stable
- Need help? Ask in the Val Town Discord server