-
-
Notifications
You must be signed in to change notification settings - Fork 126
Command Line
Warning
This page is for Processing 4. For command line usage in Processing 3 and earlier versions, see this wiki page.
Running sketches in the Processing IDE is cool, but running them in the command-line is even cooler! Running in the command-line means you can automate your sketches, run them without opening the IDE, run sketches on embedded devices, or have sketches run on boot... all super useful!
See the instructions below to get started.
Make sure Processing is installed, then run the help command to see all available options and examples for your version of Processing.
processing --help | more
processing --help
cd /Applications/Processing.app/Contents/MacOS
./Processing --help
Note: On macOS, the executable lives inside the .app bundle, so that's why there is a command to navigate to it's folder first. On Windows and Linux, Processing is typically added to your PATH by default, so no navigation is needed.