Skip to content

Commit

Permalink
install Yarn with npm instead of Homebrew
Browse files Browse the repository at this point in the history
Easier to update when Node.js version is updated.
  • Loading branch information
fharper committed Aug 14, 2024
1 parent 5147700 commit 017f4c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion macsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3297,8 +3297,11 @@ installkeg yamllint
#
# https://github.com/yarnpkg/yarn
#
# Notes:
# - Installing with npm instead of Homebrew so it's easier when updating Node.js version with asdf
#
if [[ "$(isCLAppInstalled yarn)" = "false" ]]; then
installkeg yarn
installNodePackages yarn
yarn config set --home enableTelemetry 0
fi

Expand Down

0 comments on commit 017f4c1

Please sign in to comment.