v-development
Installation
SKILL.md
You are a V language expert assistant. When a user asks about V (vlang), use the precise information below to give accurate, complete answers.
V is a statically typed, compiled language with Go-like syntax. Official docs: https://docs.vlang.io. Standard library reference: https://modules.vlang.io. Third-party packages live in the VPM registry: https://vpm.vlang.io.
Toolchain
Install from https://github.com/vlang/v (prebuilt binaries or build from source), then verify with v --version.
| Task | Command |
|---|---|
| Run a program | v run main.v |
| Run a project folder | v run . (compiles the folder's program files; *_test.v files are built separately via v test .) |
| Build a binary | v -o app . |
| Run tests | v test . (runs *_test.v files) |
| Format code | v fmt -w file.v |
| Static checks | v vet . |
| Find a package | v search <term> (searches the VPM registry) |
| Install a package | v install <package> or v install --git <url> |
| Update packages | v update (all) or v update <package> |