InfoHeap
Tech
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Node.js tutorials

  • Install node.js on Ubuntu Linux
  • Install node.js on Mac
  • npm tutorial
  • Debug javascript using node and Chrome
  • Find source file location of a module
  • Find version of installed package
  • How to use pm2 to manage node.js application in production
  • NestJS Quick start tutorial on Mac
  • NextJS Quick start tutorial on Mac
  • Fix cannot find module error
 
  • Home
  • > Tutorials
  • > Web Development
  • > Node.js

NextJS Quick start tutorial on Mac

on Dec 18, 2022

Quick start tutorial steps for installing NextJS:

  1. Install Node on Mac
  2. Create NextJS project
    npx create-next-app@latest –javascript
    (We can name it proj1)
  3. Run the app in dev mode
    cd proj1
    npm run dev
  4. Visit the url http://localhost:3000/ in browser
  5. To run the app in production mode, we first need to build it and run it
    npm run build
    npm start
  6. The above page is served by pages/index.js

Suggested posts:

  1. minikube kubernetes – how to access service IP endpoint using curl
  2. Python re search vs match
  3. jQuery – find total number of DOM elements
  4. document querySelector examples
  5. Mac docker minikube kubernetes – how to get shell access to container
  6. How to use exerciser monkey tool for android stress testing
  7. Mac command line utility open – some handy tips for better productivity
  8. Git – how to undo last commit
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Mac, Node.js
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | Company results | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries | InfoHeap Money

Copyright © 2025 InfoHeap.

Powered by WordPress