Yarn automatically installs new modules when they are added to package.json code example Example: yarn add install all packages in package,json yarn install