Skip to content

Commit eb231d6

Browse files
committed
per platform specifications
1 parent fc751d4 commit eb231d6

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

content/pages/environment/index.mdx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,21 @@ The [Export information and Tips](https://github.com/processing/processing/wiki/
569569
## Command Line Interface (CLI)
570570

571571
Run sketches from the terminal using Processing's Command Line Interface (CLI).
572-
To view a list of available commands, open a terminal and run:
572+
573+
*Windows (PowerShell)*
574+
```
575+
processing.exe --help
576+
```
577+
578+
*Linux*
573579
```
580+
processing --help
581+
```
582+
583+
*macOS*
584+
```
585+
cd /Applications/Processing.app/Contents/MacOS
574586
./Processing --help
575587
```
576-
Run this command from the directory containing the Processing executable. For example, on macOS, the executable is usually located at /Applications/Processing.app/Contents/MacOS/Processing.
588+
589+
_**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)