yarn install new package code example Example: install dev dependency yarn yarn add nameOfPackage --dev