Installing Node.js
The small server I’ve written to support your local WebRTC development relies on Node.js, a wildly popular JavaScript runtime that you might already be familiar with and have installed. Let’s figure out if you’ve got a copy of Node.js already, and install one if you don’t.
If you’re not sure if you have Node.js, run which node on your command line. You’ll see output showing the path to your Node.js installation, if you have one (now might be a good time to update it, if you haven’t in a while).
If you see no output or know for a fact you aren’t running Node.js yet, no problem: there are a few different ways to install it. You can find, download, and run a Node.js installer for your operating system of choice from https://nodejs.org ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access