Good resource, thanks @TonyG
It’s worth noting though - none of the “configuration notes” there are required for Discourse. Not sure why they need it… maybe because it’s a windows-based application?
Also, their note about “In an existing project, just delete the ‘node_modules’ folder” is handled automatically in Discourse by this script
So for us, it really should be as simple as:
npm install -g pnpm
pnpm install