Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Find existing version
- node --version
- # Search available Node versions.
- brew search node
- # I neeeded a version between > 10.0 < 11. So I chose node@10.
- brew install node@10
- # You can install multiple versions, but you cannot have them available all at once.
- # Hence unlink the generic version.
- brew unlink node
- # Link the version that you just installed.
- brew link node@10
- # For some older node versions (which are keg-only), it might be required to link them
- # with the --force and --overwrite options
- brew link --force --overwrite node@10
- # Find downgraded version
- node --version
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement