S/ Stack Overflow


February 2015 edited February 2015

Hi! I write all my Processing code in Vim and run everything through the command line on Linux.

Firstly, you need to make sure that “processing-java” is in one of the bin directories on your computer - you should symlink it there, since it requires the directories around it, if that makes sense. After doing this, you should be able to run it from the command line like normal from any directory.

Then I use the command:

processing-java --run --force --output="./outputfolder" --sketch="../sketchfolder"

from within the sketch folder, but you have to make sure that there is a .pde file with the same name as the folder name. And yeah, this will overwrite whatever you already have in your output folder, so be careful if it’s something you want to save.

Hope that helps!


processing-java --sketch="/Users/thomas/Documents/dev/processing/PointsCloud" --run --force


processing-java --sketch="/Users/thomas/Documents/dev/processing/PointsCloud" --run --force —export="name"

Install command-line tool on Linux

Add processing-java to your executable search path. This can be done by adding the Processing directory to your PATH environment variable or by adding a symlink to any existing directory within your PATH. The following command should do this on most linux distributions (replace /path/to/processing with the path where processing is installed):

sudo ln -s /path/to/processing/processing-java /usr/local/bin/