Yarn basics
Very common command is yarn install
. However, install is default command in yarn, so it is enough to execute only yarn
.
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
.
- Previous: YAML multiline syntax
- Next: Yarn Unauthorised exception