summaryrefslogtreecommitdiff
path: root/utils/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/install.sh')
-rwxr-xr-xutils/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/install.sh b/utils/install.sh
index 46d93f49..a25bfcdc 100755
--- a/utils/install.sh
+++ b/utils/install.sh
@@ -23,7 +23,7 @@ installnode() { \
[ -n "$(uname -a | grep Ubuntu)" ] && installnodeubuntu
[ -f "/etc/arch-release" ] && installnodearch
[ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ] && echo "Windows not currently supported"
- npm i -g neovim
+ sudo npm i -g neovim
}
installpiponmac() { \
@@ -59,7 +59,7 @@ installcocextensions() { \
cd ~/.config/coc/extensions
[ ! -f package.json ] && echo '{"dependencies":{}}'> package.json
# Change extension names to the extensions you need
- npm install coc-explorer coc-snippets coc-json --global-style --ignore-scripts --no-bin-links --no-package-lock --only=prod
+ sudo npm install coc-explorer coc-snippets coc-json --global-style --ignore-scripts --no-bin-links --no-package-lock --only=prod
}
cloneconfig() { \