## Vereisten
- Linux OS (Ubuntu 22.04 in dit voorbeeld)
- Terminalshell
1. Download yq binair
Bezoek de [officiële website](https://github.com/mikefarah/yq/releases/) en download het binaire bestand yq voor uw Linux-distributie
``` bash
wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.32.1/yq_linux_amd64
```
2. Controleer het gedownloade bestand
Controleer of yq correct is gedownload met behulp van controlesommen:
``` bash
sha256sum yq_linux_amd64
```
3. Maak het yq-bestand uitvoerbaar
Maak het yq-bestand uitvoerbaar door de volgende opdracht uit te voeren:
``` bash
chmod +x /usr/local/bin/yq
```
4. Test uw installatie
Om te controleren of yq correct is geïnstalleerd, voert u de volgende opdracht uit, die het versienummer van het programma zou moeten weergeven:
``` bash
yq --versie
```
5. Voeg yq toe aan het PATH van uw systeem (optioneel)
Als u vanuit elke map in uw terminal toegang wilt krijgen tot de opdracht yq, voegt u de installatiemap toe aan uw $PATH-omgevingsvariabele:
``` bash
export PATH=$PATH:/usr/local/bin
``` |