The p5.js CLI
This p5.js CLI helps you to manage p5.js sketches quickly and easily:
- creating p5.js sketches in
~/Sketches
directory. - open your sketch with VS code and start to code.
- serving them in your browser with hot reloading.
🐙 Install
npm i -g p5js
npm update -g p5js
💡 Usage
p5js new <sketch> --run
sketch.js
file to show your creativity!
p5js list
p5js code <sketch> [--run]
p5js run <sketch> [--code]
p5js [command] --help