Pnpm support? how to install?

how to install pnpm and use in appflow

may can use this?
"build": "npm install pnpm && node build.js"