Skip to content

Commit 017f4c1

Browse files
committed
install Yarn with npm instead of Homebrew
Easier to update when Node.js version is updated.
1 parent 5147700 commit 017f4c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

macsetup.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -3297,8 +3297,11 @@ installkeg yamllint
32973297
#
32983298
# https://github.com/yarnpkg/yarn
32993299
#
3300+
# Notes:
3301+
# - Installing with npm instead of Homebrew so it's easier when updating Node.js version with asdf
3302+
#
33003303
if [[ "$(isCLAppInstalled yarn)" = "false" ]]; then
3301-
installkeg yarn
3304+
installNodePackages yarn
33023305
yarn config set --home enableTelemetry 0
33033306
fi
33043307

0 commit comments

Comments
 (0)