oh-my-fish/docs/cli/install.adoc

24 lines
964 B
Plaintext
Raw Normal View History

Install one or more packages.
== USAGE
2017-06-18 05:19:36 +08:00
omf install <spec> [<spec> [...]] Install package by name or URL
omf install Install missing packages from bundle
== DESCRIPTION
2017-06-18 05:19:36 +08:00
Installs packages identified by each <spec> given. A package can be specified either by name or by a URL.
2017-06-18 05:19:36 +08:00
When specifying a package by name, the package name is searched for in each package repository currently installed. The first matching package is selected and downloaded. See `omf help repositories` for more information about repositories.
When a package is specified by URL, OMF assumes the URL points to a Git repository and installs the package by cloning the repository.
When called without arguments, any packages specified in your bundle file that are missing will be installed.
== EXAMPLES
omf install brew
omf install https://github.com/oh-my-fish/plugin-brew
2017-06-18 05:19:36 +08:00
omf install brew spark
omf install
== ALIASES
*omf i*, *omf in*, *omf get*