Install: Move devcontainer to be installed with npm

Having brew install node will conflict with the nvm installed version of
node. It can behave in weird ways, including having different versions
of node take priority whether in tmux or not.
This commit is contained in:
Tony Grosinger 2024-06-06 09:18:33 -07:00
parent ef64562fa9
commit 822412e259

View File

@ -86,15 +86,20 @@ function performSetup() {
sudo apt install build-essential visidata sudo apt install build-essential visidata
fi fi
# NOTE: Do not brew install anything with a dependency on node.
# Instead, install with npm -g.
brew install \ brew install \
gcc \ gcc \
tmux neovim \ tmux neovim \
eza bat fzf ripgrep fd jq gron \ eza bat fzf ripgrep fd jq gron \
git lazygit git-delta \ git lazygit git-delta \
crane dive devcontainer \ crane dive \
go sqlite \ go sqlite \
stripe-cli restic stripe-cli restic
npm install -g @devcontainers/cli
popd > /dev/null popd > /dev/null
} }