Web Dev tools
Set up Git, Node.js and npm for later projects
Use your editor and browser for the first website. This guide is for later lessons that ask you to save Git history, run a server, or build a SvelteKit project.
Install Git when a lesson uses project history
Open Command Prompt on Windows or Terminal on Mac and check whether Git is already installed.
git --versionWhat you should see · A line starting with git version.
Windows. If Git is missing, download Git for Windows. Open the installer and keep the option that makes Git available from the command line. Close and reopen Command Prompt, then repeat git --version.
Get Git for WindowsMac. If Git is missing, install the Apple Command Line Tools. Follow the system installer, then reopen Terminal and repeat git --version.
Git setup options for Macxcode-select --installGit saves project versions on your computer. GitHub is a separate website for sharing repositories. Start with the local commands in your lesson.
Install Node.js 24 and check npm
Open the official Node.js download page. Choose version 24 LTS for this course. On Windows select the Windows Installer (.msi). On Mac select the macOS Installer (.pkg). Choose the download for your computer and follow the installer.
Download Node.jsOpen a fresh Command Prompt on Windows or Terminal on Mac. The installer supplies Node.js and npm. Test them with these commands.
node --version npm --versionWhat you should see · The first line begins with v24. The second line shows the npm version.
Node.js runs JavaScript on your computer. npm installs the libraries listed in package.json and runs named project commands. nvm is an optional tool for switching Node versions across projects. The Node.js installer is sufficient for this course.
Install and run an existing framework project
When a lesson gives you an existing project, open the folder in VS Code and choose Terminal → New Terminal. Check that the folder contains package.json. For a project with package-lock.json, run the clean install command below while online, then start it.
npm ci npm run devWhat you should see · The development server prints a local URL, often http://localhost:5173.
Open the printed URL in your browser. Leave the terminal running while you work. Press Ctrl+C to stop it. If there is package.json with no lockfile, use npm install for the first install. For a new app, follow the exact scaffold command in the SvelteKit lesson.
Open the SvelteKit setup lessonOn Windows, choose Command Prompt as the VS Code terminal profile if PowerShell says it cannot run npm.ps1. If Node or npm is missing, close and reopen VS Code after installation. If npm cannot find package.json, open the project folder and try again.
Serve a plain website when a later lesson uses local data
Opening index.html directly works for Signal Station. For projects that fetch a local JSON file or use JavaScript modules, open the page through a local web server so the browser can request the files together.
If Python is installed, open a terminal in the project folder. Use the first command in Windows Command Prompt or the second command on Mac.
py -m http.server 8000 --bind 127.0.0.1 python3 -m http.server 8000 --bind 127.0.0.1Open http://127.0.0.1:8000 in your browser, then open index.html there if the page is not shown automatically. Press Ctrl+C in the terminal when you finish. If the port is in use, replace 8000 with 8001 in the command and in the browser address.
Install Python for this method