Skip to content

Commit c000597

Browse files
authored
Merge pull request #639 from toniab/environment-cli
Mention CLI on Processing website's Environment Section
2 parents 4bc0ef7 + fa6292d commit c000597

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

content/pages/environment/index.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,3 +565,27 @@ Add contributed Examples by first opening the "Examples..." submenu from the Fil
565565
## Export
566566

567567
The [Export information and Tips](https://github.com/processing/processing/wiki/Export-Info-and-Tips) page on the Processing Wiki covers the details of exporting Applications from Java mode.
568+
569+
## Command Line Interface (CLI)
570+
571+
Processing includes a Command Line Interface (CLI) to run sketches from the terminal. This is helpful for automation, testing, and headless setups.
572+
573+
Make sure Processing is installed, then run the help command to see all available options and examples.
574+
575+
*Windows (PowerShell)*
576+
```
577+
processing.exe --help
578+
```
579+
580+
*Linux*
581+
```
582+
processing --help
583+
```
584+
585+
*macOS*
586+
```
587+
cd /Applications/Processing.app/Contents/MacOS
588+
./Processing --help
589+
```
590+
591+
_**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._

0 commit comments

Comments
 (0)