View Source mix igniter.install (igniter v0.5.0)
Install a package or packages, and run any associated installers.
Args
mix igniter.install package1 package2 package3
Package formats
package
- The latest version of the package will be installed, pinned at the major version, or minor version if there is no major version yet.package@version
- The package will be installed at the specified version. If the version given is generic, like3.0
, it will be pinned as described above. if it is specific, like3.0.1
, it will be pinned at that exact version with==
.package@git:git_url
- The package will be installed from the specified git url.package@github:project/repo
- The package will be installed from the specified github repo.package@path:path/to/dep
- The package will be installed from the specified path.
Additionally, a Git ref can be specified when using git
or github
:
package@git:git_url@ref
Switches
--dry-run
- Run the task without making any changes.--yes
- Automatically answer yes to any prompts.--example
- Request that installed packages include initial example code.