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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user