diff options
author | Chris <[email protected]> | 2020-05-12 15:00:43 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-05-12 15:00:43 -0400 |
commit | 0e9a6547e1549be1982de67d837f0e5ab55b2fc6 (patch) | |
tree | e392e558cb3580071bb06bc3f9cca61e76a27cef | |
parent | bfaf9db7a591c80468fcfdb27d7d6db1c22962cd (diff) |
sudo npm
-rwxr-xr-x | utils/install.sh | 4 |
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() { \ |