There are a few options for installing flamegrill.
Thanks to npx, you can use flamegrill without any installation:
npx flamegrill --helpHowever, as flamegrill has some pretty weighty dependencies such as a puppeteer, which downloads a version of Chrome, it's recommended you install it locally.
npm install -g flamegrillTo get started, place this in the devDependencies section of your package.json:
npm install -D flamegrillor for yarn users:
yarn add -D flamegrill