1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vpm: support v install -once module_name(#13977)

This commit is contained in:
pancake
2022-04-09 13:29:41 +02:00
committed by GitHub
parent e3da3101f6
commit 804f2f56d4
3 changed files with 35 additions and 10 deletions

View File

@@ -4601,13 +4601,19 @@ v install ui
Modules can be installed directly from git or mercurial repositories.
```powershell
v install [--git|--hg] [url]
v install [--once] [--git|--hg] [url]
```
**Example:**
```powershell
v install --git https://github.com/vlang/markdown
```
Sometimes you may want to install the dependencies **ONLY** if those are not installed:
```
v install --once [module]
```
Removing a module with v:
```powershell