Tutorials¶
Learning-oriented, hand-held walkthroughs. Start here if you are new to v.
Vendor your first dependency¶
- Pick a repository you want to copy into your project.
- Run
v add <url>.vresolves the default branch to an exact commit, downloads the contents intovendor/, and writes avendors.tomlentry. - Commit both
vendor/andvendors.tomlto your repository.
Pin and later refresh a dependency¶
v add <url> v1.0.0— vendor a specific tag.- Some weeks later,
v update <url> v1.1.0— switch to a newer tag and re-fetch. - Review the diff in
vendor/and the newcommitinvendors.toml.
Placeholder
More step-by-step tutorials will be added here. See How-to for shorter, task-focused recipes.