### Installation Steps
#### Step 1: Install Homebrew
[Homebrew](https://brew.sh/) is a package manager for macOS that simplifies the installation of software. Open Terminal and enter the following command to install Homebrew:
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
#### Step 2: Install Micromamba
[Micromamba](https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html) is a minimalistic package manager for the Conda ecosystem. Use Homebrew to install Micromamba:
```bash
brew install micromamba
```
#### Step 3: Create an empty environment for QGIS
```bash
micromamba create -n qgis
```
#### Step 4: Install QGIS and GDAL with GeoParquet Support
Now, use Micromamba to install QGIS and the GDAL library with support for GeoParquet. This step ensures that QGIS can work with GeoParquet files directly.
```bash
micromamba install -c conda-forge qgis libgdal-arrow-parquet -n qgis
```
> [!Note]
> You can add `movingpandas` and `PCRaster` if you want more tools :)
#### Step 5: Run QGIS
After the installation is complete, you can start QGIS using the following command. This launches QGIS from the environment where it was installed, ensuring all the correct libraries are used.
```bash
micromamba run -n qgis qgis
```
### Keeping QGIS and GDAL Updated
To ensure you're always using the latest versions of QGIS and GDAL with GeoParquet support, regularly update your installations with Homebrew and Micromamba. Use the following command to update:
#### Step 1: Update micromamba
```bash
brew upgrade micromamba
```
#### Step 2: Update QGIS
```bash
micromamba update -c conda-forge qgis libgdal-arrow-parquet -n qgis
```
### Setting Up the Development Environment
For developing within the QGIS environment, such as creating plugins or custom scripts, you need to activate the QGIS Conda environment. This sets up your shell to use the software and libraries within the environment, including QGIS and GDAL with GeoParquet support.
```bash
micromamba activate qgis
```
### Uninstall / Remove QGIS
If you installed QGIS in a specific environment (e.g., `qgis`), you can remove the entire environment. This will uninstall QGIS and all associated packages within that environment. Run the following command:
```bash
micromamba remove --name qgis --all
```