yarn install --save code example
Example 1: yarn add install all packages in package,json
yarn install
Example 2: yarn frozen lockfile
yarn install --frozen-lockfile
Example 3: install dev dependency yarn
yarn add nameOfPackage --dev
Example 4: yarn add --save-exact
yarn add <package...> [--exact/-E]