# node.js setup See [[nvm setup]], do not install node.js "directly". # yarn setup Prefer [yarn](https://yarnpkg.com/getting-started/install) over npm/npx, it is easier to use and has cleaner output: ```shell npm install --location=global corepack ``` Old way: ```shell npm install --location=global yarn ``` # npm setup If you still want or need npm, you can set it up as follows: ```shell nvm install-latest-npm ```