yarn install as in lock code example Example: install dev dependency yarn yarn add nameOfPackage --dev