Created
February 15, 2023 23:57
-
-
Save rafex/9589cab6d5c052299536b0c46fba2daa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run script with root | |
PATH_NODE_MODEULES="/opt/nodejs/19.6.0/lib/node_modules" | |
npm install --global yarn | |
update-alternatives --install /usr/bin/yarn yarn ${PATH_NODE_MODEULES}/yarn/bin/yarn 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment