From cb698193912d9daf7465302236b43b2693f87479 Mon Sep 17 00:00:00 2001 From: Albert Einstein Date: Tue, 14 Jun 2016 14:25:35 -0700 Subject: [PATCH 1/2] minor correction to the right npm path --- CONTRIBUTING.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 899385f8b5aeb..ff8e5380be9fa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -102,11 +102,10 @@ echo prefix=~/.npm-packages >> ~/.npmrc curl -L https://www.npmjs.com/install.sh | sh ``` -The final step is to add -`~/.node/bin` to your `PATH` so commands you install globally are usable. -Add something like this to your `.bashrc` file. +The final step is to add `~/.npm-packages/bin` to your `PATH` so commands you install globally are usable. +Add something like this to your `.bashrc` file, then `source ~/.bashrc` to refresh the change. ``` -export PATH="$HOME/.node/bin:$PATH" +export PATH="$HOME/.npm-packages/bin:$PATH" ``` #### npm packages From 535d7d604558870e3c28ca0cdd9468bce07b7ead Mon Sep 17 00:00:00 2001 From: Peiji Chen Date: Tue, 14 Jun 2016 14:29:07 -0700 Subject: [PATCH 2/2] minor correction to the right npm path --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ff8e5380be9fa..ae1b06759f8cf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -103,7 +103,7 @@ curl -L https://www.npmjs.com/install.sh | sh ``` The final step is to add `~/.npm-packages/bin` to your `PATH` so commands you install globally are usable. -Add something like this to your `.bashrc` file, then `source ~/.bashrc` to refresh the change. +Add something like this to your `.bashrc` file, then `source ~/.bashrc` to reflect the change. ``` export PATH="$HOME/.npm-packages/bin:$PATH" ```