mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
835 B
30 lines
835 B
download and install packages and dependencies||| |
|
Install downloads and installs the packages named by the import paths, |
|
along with their dependencies. |
|
|
|
This command works even you haven't installed any version control tool |
|
such as git, hg, etc. |
|
|
|
The install flags are: |
|
|
|
-p |
|
pure download packages without version control. |
|
-c |
|
download source code only. |
|
-d |
|
download without installing packages. |
|
-u |
|
force to update pakcages. |
|
-e |
|
download dependencies for examples. |
|
-s |
|
download from sources. |
|
|
|
The list flags accept a space-separated list of strings. To embed spaces |
|
in an element in the list, surround it with either single or double quotes. |
|
|
|
For more about specifying packages, see 'go help packages'. |
|
For more about bundle, see 'gpm help bundle'. |
|
For more about snapshot, see 'gpm help snapshot'. |
|
|
|
See also: gpm remove.
|
|
|