Book
Submodule 16.1: p5.js Introduction
Submodule 16.1: p5.js Introduction
Completion requirements
View
- Introduction to p5.js
- Examples of p5.js projects
- How p5.js works
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.