Setup MontiArc
MontiArc runs on any platform. In the following tutorials, we will use both the CLI and the Gradle plugin.
Gradle
If you only ever want to use the Gradle plugin, the only thing you need is Java 21. So if you haven't already, now is the right time to install Java 21.
Run the CLI Manually
To run the CLI manually, you need to have Java 21 installed. Next, download the MontiArc-7.9.0.jar.
You can then run the tool with:
java -jar MontiArc-7.9.0.jar
Install the CLI (BETA)
If you also want to use the CLI, you can find installers for all platforms here.
- Download the installer for Windows(.exe), extract, and run it.
- To be able to run the MontiArc command from anywhere, you will need to update your path variable:
- Open the advanced system settings (Erweiterte System Eigenschaften) by pressing the Windows key and searching for it.
- Press Environment Variables (Umgebungsvariablen)
- Inside the user variables, look for
Path- If
Pathexists- Select
Path - Click Edit...
- Click New...
- Insert
C:\Program Files\MontiArc\ - Click OK three times
- Select
- If
Pathdoes not exist- Click New... in the user variables section
- Set Variable Name to
Path - Set Variable Value to
C:\Program Files\MontiArc\ - Click OK three times
- If
- Download the installer for MacOS(.pkg)
- Run the installer and follow the instructions.
- You will probably receive following message: ''Apple could not verify “MontiArc-[...].pkg” is free of malware that may harm your Mac or compromise your privacy.''
- Navigate to
System Settings - Navigate to
Privacy & Security - Navigate to
Security - Search for the message ''... was blocked from use because it is not from an identified developer''
- Click on Open anyway
- Navigate to
- You will probably receive following message: ''Apple could not verify “MontiArc-[...].pkg” is free of malware that may harm your Mac or compromise your privacy.''
- You are now able to use the MontiArc tool.
- To be able to run the MontiArc command from anywhere, you will need to update your path variable:
- Add
export PATH="/Applications/MontiArc.app/Contents/MacOS:$PATH"to your~/.zshrcfile. - If that file doesn't exist, create it.
- Restart your shell or run
source ~/.zshrcto load the changes.
- Add
Info
MontiArc can only be used via the terminal. Clicking on the MontiArc app icon displayed in your app overview will not work.
- Download the installer for Linux(.deb/.rpm) and run it.
- To be able to run the MontiArc command from anywhere, you will need to update your path variable:
- You should already know how to add a program to your path?
- If not, simply add
export PATH="/opt/montiarc/bin:$PATH"to whatever shell's rc script you're using (likely~/.bashrc).
You can then run the tool by running:
MontiArc
When you intend to run the simulation using the CLI, you'll need Java 21 anyway.
You can find detailed descriptions and available parameters in the usage section.