Commands.app

yarn init

Project Setup

Create a package.json file

Options & Flags
Available options for this command
-y

Skip questions, use defaults

Examples
Common usage examples

Initialize project interactively

yarn init

Initialize with defaults

yarn init -y