$ sudo apt-get install nodejs
$ npx create-next-app nextjs-pages --use-npm --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"
$ cd nextjs-pages
$ npm run dev
Firefoxでhttp://localhost:3000/を開くと、Next.jsが表示できた。
$ sudo apt-get install nodejs
$ npx create-next-app nextjs-pages --use-npm --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"
$ cd nextjs-pages
$ npm run dev
Firefoxでhttp://localhost:3000/を開くと、Next.jsが表示できた。