Bootstrap a New Project

Next.js is a framework. Because of this, getting a basic next app is easy to do. With Nodes package manager (npm), you need to run only one command. This lesson covers your first steps into Next.js.

Environment

This lesson covers how to run commands in Node.js for a local setup. Running Next.js locally might be important for you when you are ready to build your own unique app, or deploy it live. However, it is not important to do this to learn Next.js on Educative. There are many code playgrounds that you can use to learn how to use Next.js and play around with its features found throughout the course.

Node.js

Next.js runs in the Node JavaScript runtime environment. If you do not already have Node installed, you can install it from here: https://nodejs.org/en/

If you are already using Node, make sure you have version 10.03 or later.

You can check your version by running this command from your CLI:

Get hands-on with 1200+ tech skills courses.