install yarn in smd code example Example 1: install yarn brew install yarn Example 2: install dev dependency yarn yarn add nameOfPackage --dev