## Installation
**Linux:**
```bash
curl -fsSL https://raw.githubusercontent.com/corese-stack/corese-command/main/packaging/scripts/install-linux.sh -o /tmp/corese.sh && bash /tmp/corese.sh
```
**macOS:**
```bash
curl -fsSL https://raw.githubusercontent.com/corese-stack/corese-command/main/packaging/scripts/install-macos.sh -o /tmp/corese.sh && bash /tmp/corese.sh
```
**Windows:**
```powershell
iwr -useb https://raw.githubusercontent.com/corese-stack/corese-command/main/packaging/scripts/install-windows.ps1 | iex
```
**Manual / Cross-platform Installation:**
Use Corese CLI as a standalone `.jar`, or add it to your Java project via Maven.
> Requires Java 11 or higher.
## Uninstall / Update
If you installed Corese using one of the scripts above, you can uninstall or update it by simply running the same script again.
## Advanced usage (CI / silent install)
All install scripts support the following options:
```bash
# Install a specific version
./install-linux.sh --install 4.5.0
./install-macos.sh --install 4.5.0
.\install-windows.ps1 --install 4.5.0
# Install the latest available version
./install-linux.sh --install-latest
./install-macos.sh --install-latest
.\install-windows.ps1 --install-latest
# Uninstall Corese-Command
./install-linux.sh --uninstall
./install-macos.sh --uninstall
.\install-windows.ps1 --uninstall
# Show help
./install-linux.sh --help
./install-macos.sh --help
.\install-windows.ps1 --help
```