Val Town Blog 10月02日 20:51
vt命令行工具介绍
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

vt是Val Town的命令行工具,让用户可以使用VS Code、Claude Code等编辑器和本地工具。它支持实时监控文件变化并自动重新部署,提供类似git的操作体验。vt watch功能可以即时推送更新,vt branch和vt checkout -b命令操作直观。此外,vt还支持与LLM工具集成,并提供浏览器扩展实现自动刷新功能。

🔧 vt是Val Town的命令行工具,允许用户使用VS Code、Claude Code等编辑器和本地工具,提供高效的本地开发体验。

⚙️ vt watch功能可以实时监控文件夹变化,自动推送和重新部署更新,实现即时反馈的开发循环。

🌳 vt的操作体验类似git,支持vt branch和vt checkout -b等命令,方便用户管理不同的分支和部署环境。

🤖 vt支持与LLM工具集成,可以自动初始化AGENTS.md文件,提供必要的上下文信息用于编写Val Town平台的代码。

🌐 vt还提供浏览器扩展,与vt watch配合使用时可以自动刷新浏览器标签页,进一步提升开发效率。

Introducing vt, the CLI for Val Town that lets you use your favorite editorsand local tools. Now you can use VS Code, Claude Code, Codex and more with oursuper-fast feedback loop, deploying software instantly as you develop it.

To get vt,install Deno,then run

deno install -grAf jsr:@valtown/vt

With vt, you can:

    Use vt watch to watch a folder for changes, pushing updates and redeployinginstantly as you saveRemix or create brand-new Val Town projects directly from your command lineLivestream logs from your Val directly to your terminalManage branches, switching between separate deployments or prod & dev branchesof a project

We designed vt to work much like git, so vt branch and vt checkout -b workjust like you'd expect. But the real magic is in the vt watch command: vt canresolve deltas between Val Town and a local folder of TypeScript and text files,automatically detecting file changes like renames and modifications. As you editin VS Code, neovim, or your favorite editor, every time you save the changes golive. Or, if you don't want to live on the edge, you can use vt push toexplicitly push new changes.

Bring your own editor - and LLMs!

vt works perfectly with your favorite LLM tools: it can even initialize aAGENTS.md file that contains all of the context necessaryto write code for the Val Town platform.

People are already using vt to build cool projects, likeGeoffrey Litt's Stevensproject, a really cool AI personal assistant telegram bot, built locally withcursor and vt. We built Val Town's new Val searchon Val Town itself, with Claude Code and vt.

Use the companion browser extension

vt also has a companion browser extension which pairs with vt watch toautomatically reload the tab as you edit your Val.

It's available forChromeor Firefox.

If you have vt watch running, it should "just work"! The companioncommunicates with vt's watcher over a local WebSocket connection.

We want feedback!

vt is a big leap forward in the local development experience for Val Town. Butwe're always looking to improve and polish the experience. If you have anyfeedback we'd love to hear it. You can join our Discord serverhere, and contribute ideas, PRs, or issues tothe val-town/vt GitHub repo.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

vt Val Town CLI工具 本地开发 LLM集成
相关文章