Yarn – Ruby and Rails Blog https://rubyandrails.net This is where diamonds exists Wed, 04 Aug 2021 23:40:33 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 195321763 MacOS – Install NodeJS and Yarn https://rubyandrails.net/forums/topic/macos-install-nodejs-and-yarn/ Mon, 12 Jul 2021 23:04:28 +0000 https://rubyandrails.net/?topic=install-nodejs-and-yarn Install NodeJS and Yarn
  • Make sure brew is installed, if not follow link below to install it:
    Install Brew Mac OS
  • Open terminal by navigating to:
    Applications\Utilities\Terminal
  • First thing to do is to install gcc and make
  • To install gcc at terminal type:
    brew install gcc
  • To install make at terminal type:
    brew install make
  • To install Yarn at terminal type:
    brew install yarn
  • Check to see what version is currently installed:
    yarn --version
  • You should see something like shown below:
    1.22.10
  • To install NodeJS at terminal type:
    brew install nodejs
  • You may get message that is already installed, go to next step:
    node 16.4.2 is already installed and up-to-date
  • Check nodejs version:
    node --version
  • You should see like version below:
    v16.4.2
  • Your NodeJS and Yarn now installed
]]>
546