install command
zigmod install
Installs a command from any remote compatible repository into $HOME/.zigmod/bin/.
zigmod install [git|hg|http] [url]
- The
gittype for Git requires havinggitin $PATH. - The
hgtype for Mercurial requires havinghgin $PATH. - The
httptype requires havingwgetand (tarorunzip) in$PATH.
[url] may be the link to any remote repository that contains a Zig project with a zigmod.yml manifest. If your project currently does not have one, you may create one using zigmod init.
$ zigmod install git https://github.com/nektro/zigmod
debug: modpath: /home/me/.cache/zigmod/deps/git/github.com/nektro/zigmod
debug: argv: { /home/me/.local/share/zig/0.16.0/zig, build, --prefix, /home/me/.zigmod }
info: success!