Skip to main content
Code and think

Yarn basics

Very common command is yarn install. However, install is default command in yarn, so it is enough to execute only yarn.

Reference

Yarn is also used to execute your scripts with yarn run my-script. However, if your script has not reserved name you can skip the run keyword and execute only yarn my-script.

Reference