Download the example or clone the repo:
curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/nextjs
cd nextjs
Install it and run:
npm install
npm run dev
or:
Next.js is a framework for server-rendered React apps.