yarn install production only code example
Example 1: yarn install production only
yarn install --production
# OR
yarn install --production=true
# OR
yarn install --prod
Example 2: yarn install production only
NODE_ENV=production yarn install
yarn install --production
# OR
yarn install --production=true
# OR
yarn install --prod
NODE_ENV=production yarn install