From 822412e259f6fe6b3e352a9e1d5aa49fc0c28a48 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Thu, 6 Jun 2024 09:18:33 -0700 Subject: [PATCH] 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. --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e17f059..b75a507 100755 --- a/install.sh +++ b/install.sh @@ -86,15 +86,20 @@ function performSetup() { sudo apt install build-essential visidata fi + # NOTE: Do not brew install anything with a dependency on node. + # Instead, install with npm -g. + brew install \ gcc \ tmux neovim \ eza bat fzf ripgrep fd jq gron \ git lazygit git-delta \ - crane dive devcontainer \ + crane dive \ go sqlite \ stripe-cli restic + npm install -g @devcontainers/cli + popd > /dev/null }