Skip to content

Instantly share code, notes, and snippets.

@dhcmrlchtdj
Last active January 17, 2017 09:43
Show Gist options
  • Select an option

  • Save dhcmrlchtdj/6c4d5e7e8d889120c81b0867160ffda4 to your computer and use it in GitHub Desktop.

Select an option

Save dhcmrlchtdj/6c4d5e7e8d889120c81b0867160ffda4 to your computer and use it in GitHub Desktop.
yarn && node@6
$ ### install
$ brew install yarn
🍺 /usr/local/Cellar/node/7.4.0: 4,129 files, 46.3M
🍺 /usr/local/Cellar/yarn/0.18.1: 5,639 files, 18.2M
$ brew unlink node
Unlinking /usr/local/Cellar/node/7.4.0... 7 symlinks removed
$ brew install node@6
🍺 /usr/local/Cellar/node@6/6.9.4: 3,891 files, 41.3M
$ yarn versions
yarn versions v0.18.1
{ yarn: '0.18.1',
http_parser: '2.7.0',
node: '6.9.4',
v8: '5.1.281.89',
uv: '1.9.1',
zlib: '1.2.8',
ares: '1.10.1-DEV',
icu: '57.1',
modules: '48',
openssl: '1.0.2j' }
$ ### upgrade
$ brew unlink node@6 && brew link node
Unlinking /usr/local/Cellar/node@6/6.9.4... 8 symlinks removed
Linking /usr/local/Cellar/node/7.4.0... 7 symlinks created
$ brew upgrade yarn
🍺 /usr/local/Cellar/yarn/0.19.1: 4,803 files, 17.6M
$ brew unlink node && brew link node@6
Unlinking /usr/local/Cellar/node/7.4.0... 7 symlinks removed
Linking /usr/local/Cellar/node@6/6.9.4... 8 symlinks created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment