Make sure you have Node.js installed either from the nodejs.org page or via HomeBrew (brew install node
).
You’ll also need yarn
set up in order to run this code. You can get yarn
with:
npm install -g yarn
Create a new Next.js app (it will prompt for a name)