codex-lv2-may-2025

Node.js Setup Guide – Workshop Handout

#lesson #level2 #node #setup

Welcome! Before we begin coding with Node.js, follow the steps below to set up your development environment.


Step 1: Download Node.js

  1. Visit: https://nodejs.org

  2. Scroll down to: “Or get a prebuilt Node.js® for:”

  3. Select your operating system:

    • Windows: Download the Windows Installer (.msi)
    • macOS: Download the macOS Installer (.pkg)
    • Linux: Visit this page and scroll to “Code with JavaScript and Node.js” for instructions.
  4. Download the LTS (Long Term Support) version for maximum stability.


Step 2: Install Node.js

  1. Run the installer you downloaded:

    • Windows: .msi file
    • macOS: .pkg file
  2. Follow the prompts:

    • Accept the license
    • Keep default settings
    • Optional: Install additional tools
    • Click Install
  3. When complete, click Finish.

You may be asked for your system admin password — enter it if needed.


Step 3: Verify the Installation

  1. Open your terminal:

    • Windows: Press Win + R, type cmd, press Enter
    • macOS/Linux: Open the Terminal app
  2. Type each command and press Enter:

    node -v
    

    Expected: A version number like v22.17.1

    npm -v
    

    Expected: A version number like 10.9.2

If both show version numbers, you’re all set!


Next Steps

You’ve successfully installed Node.js and npm. These tools will power all coding activities in this workshop.


Need Help?

If you run into issues, ask the instructor.

Want this handout as a PDF, Google Doc, or with your workshop name/logo/date? Let me know!


Additional Reference