Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 5cce785fa..ac9791073 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -85,8 +85,8 @@ cd "$TMP" \
$make clean install
else
$node cli.js cache clean
- $node cli.js rm npm -f
- $node cli.js install .
+ $node cli.js rm npm --force --global
+ $node cli.js install . --force --global
fi) \
&& cd "$BACK" \
&& rm -rf "$TMP" \