aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xzsh/.zsh/nodejs.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/.zsh/nodejs.zsh b/zsh/.zsh/nodejs.zsh
index 269109e..fb762b5 100755
--- a/zsh/.zsh/nodejs.zsh
+++ b/zsh/.zsh/nodejs.zsh
@@ -16,3 +16,9 @@
#
#█▓▒░ node version manager
source ~/.nvm/nvm.sh
+
+#█▓▒░ aliases
+alias node="sudo node"
+alias npm="sudo npm"
+alias npminstall="sudo rm -rf node_modules && sudo npm cache clear && sudo npm cache clean && npm install"
+# alias npminstall="sudo rm -rf node_modules && sudo npm cache clear && sudo npm cache clean && sudo PYTHON=/usr/bin/python2 npm install"