yarn command to install all dependencies code example
Example 1: yarn add install all packages in package,json
yarn install
Example 2: yarn save dev
yarn add <package...> [--dev/-D]
yarn install
yarn add <package...> [--dev/-D]