Submodule 16.1: p5.js Introduction
Getting Started with p5.js I (v1)
The p5.js Command Line Interface
We will use the Node.js
to innstall the p5-manager
on the computer.
Open your terminal
and run this command to install the p5 manager:
npm install -g p5-manager
What that did was use NPM (a package manager for programs written in Node.js) to install the p5-manager library (that's us!) globally (-g) on your machine.
To see if it worked, try running
p5 --version
from your command line. If the command works and outputs a number, the CLI is installed correctly.