Created
November 26, 2016 19:18
-
-
Save anonymous/d84f82f7397fa60b4b81fcaa9f0eb5e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# as root | |
$ git clone https://github.com/ugexe/zef | |
$ cd zef | |
$ perl6 -Ilib bin/zef --install-to=site install . | |
# (--install-to=site shouldn't be needed, but is included for explicitness) | |
# as user | |
$ zef --install-to=home install HTTP::UserAgent | |
# (--install-to=home shouldn't be needed, but is included for explicitness) | |
# Want to set the default `install-to` target for all users? Edit: | |
# https://github.com/ugexe/zef/blob/master/resources/config.json#L6 | |
# Want to set the default `install-to` target for a *specific* user? Copy the above | |
# file to $USER_HOME/.zef/config.json and change any values you want | |
# Re: `DefaultCUR` of config.json: | |
# `auth` tries `site` and falls back to `home` (which is why the --install-to | |
# commands above shouldn't be needed anymore). Or you can give it an actual | |
# path like `inst#/home/user/perl6/modules` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment