Development Study/Background Knowledges

[Mac, Brew] Upgrade & Downgrade Node Versions

  • -
728x90

In here, we use Homebrew to upgrade & downgrade you node version

 

1. Check your node version and search your node lists

brew search node
node -v

2. Unlink your current node version

brew unlink node

+ If(I don't have that version I want to use!) {

brew install node@14

}

You can use that command to install the version

 

3. Install new node version that you want

brew link --overwrite --force node@19

+ you can link your node versions like node@19 / node@12 / node@18 / etc..


End

728x90
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.