Skip to content

Commit

Permalink
[arch] Use nvm instead of nodejs directly
Browse files Browse the repository at this point in the history
  • Loading branch information
matsp committed Mar 27, 2024
1 parent d931e78 commit eb353a6
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .arch/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,15 @@ yay -S --needed --noconfirm \
go \
tinygo \
dart \
nodejs \
npm \
# nodejs \
nvm \
# npm \
deno \
python \
python-pip \
wasmer \
protobuf \
lua-language-server \
pyright \
tailwindcss-language-server \
vscode-langservers-extracted \
marksman \
&> /dev/null

Expand All @@ -66,7 +64,9 @@ rustup default stable &> /dev/null
rustup component add rls rust-analysis rust-src &> /dev/null
rustup update &> /dev/null
# docker
sudo npm install -g dockerfile-language-server-nodejs &> /dev/null
npm install -g dockerfile-language-server-nodejs &> /dev/null
# nodejs
nvm install --lts &> /dev/null

# developer environment
echo 'installing developer environment \n'
Expand All @@ -89,9 +89,13 @@ yay -S --needed --noconfirm \

echo 'configuring developer environment \n'
# update global npm packages
sudo npm update -g &> /dev/null
npm update -g &> /dev/null
# netlify-cli
sudo npm install -g netlify-cli &> /dev/null
npm install -g netlify-cli &> /dev/null
# language servers
npm install -g pyright &> /dev/null
npm install -g tailwindcss-language-server &> /dev/null
npm install -g vscode-langservers-extracted &> /dev/null
# neovim
nvim --headless "+Lazy! sync" +qa &> /dev/null
# tmux
Expand Down

0 comments on commit eb353a6

Please sign in to comment.