how to set system package installer on node to yarn code example Example 1: install yarn npm install -g yarn Example 2: yarn latest version choco install yarn