Error when running `yarn next-expo`

I’m following the guidance here [0] to add Expo to an existing NextJS app. And I’m stuck on the step.

yarn next-expo

This gives the following error. Any idea what I’m missing?

yarn run v1.22.19
error Command "next-expo" not found.

[0] Using Next.js with Expo for Web - Expo Documentation