Yarn is an alternative NodeJS package manager and is used by many projects, including many of DHIS2's own libraries and applications.
npm install -g yarn