add node and yarn to path code example Example 1: install yarn npm install -g yarn Example 2: install yarn brew install yarn