From 3ec8bd37119c4ced0bcadba5b8df4838152a8910 Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Tue, 20 Sep 2016 18:11:00 -0400 Subject: [PATCH] Change remote install urls to https equivalents. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6773c70..5ab1576 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ To change the default to, say, `$HOME`, prefix later calls to `n` with `N_PREFIX Additionally, consider third-party installer [n-install](https://github.com/mklement0/n-install), which allows installation directly from GitHub; for instance, - curl -L http://git.io/n-install | bash + curl -L https://git.io/n-install | bash sets both `PREFIX` and `N_PREFIX` to `$HOME/n`, installs `n` to `$HOME/n/bin`, modifies the initialization files of supported shells to export `N_PREFIX` and add `$HOME/n/bin` to the `PATH`, and installs the latest stable `node` version. @@ -95,7 +95,7 @@ Flags also work here: After switching Node.js versions using `n`, `npm` may not work properly. This should fix it (thanks [@mikemoser](https://github.com/mikemoser)!): ```sh -$ curl -0 -L http://npmjs.org/install.sh | sudo sh +$ curl -0 -L https://npmjs.org/install.sh | sudo sh ``` `sudo` may not be required depending on your system configuration.