Skip to content

Installing Quetzal Language

This guide walks you through installing the Quetzal Language interpreter on Windows.

Windows only

Operating system

  • Windows 10 (64-bit) or later
  • Windows 11 (recommended)

Minimum hardware

  • RAM: 512 MB minimum (1 GB recommended)
  • Storage: 100 MB of free space
  • Processor: compatible x64 CPU
  1. Download the executable

    Visit the GitHub releases page and download the latest version:

  2. Create an installation directory

    Create a folder for Quetzal on your system. We recommend:

    C:\\quetzal\\

    Move the downloaded quetzal.exe file into this folder.

  3. Configure environment variables

    To run Quetzal from any location:

    • Press Win + R, type sysdm.cpl, and press Enter
    • Go to the “Advanced” tab
    • Click “Environment Variables”
    • Under “System variables”, find Path and click “Edit”
    • Click “New” and add the path: C:\\quetzal
    • Click “OK” on every dialog
  4. Verify the installation

    Open a new Command Prompt or PowerShell window and run:

    Ventana de terminal
    quetzal --version

    You should see something like:

    Lenguaje Quetzal v0.0.2
Ventana de terminal
quetzal mi_programa.qz
Ventana de terminal
quetzal --ayuda

Create a file named prueba.qz with the following content:

consola.mostrar_exito("¡Lenguaje Quetzal instalado correctamente!")
entero edad = 25
texto nombre = "María"
consola.mostrar("Hola " + nombre + ", tienes " + edad.texto() + " años")
si (edad >= 18) {
consola.mostrar("Eres mayor de edad")
} sino {
consola.mostrar("Eres menor de edad")
}

Run the file:

Ventana de terminal
quetzal prueba.qz

If you see the correct output, the installation was successful!

Command not recognized

Error: 'quetzal' is not recognized as an internal or external command

Solution:

  • Confirm you added the correct path to PATH
  • Restart Command Prompt/PowerShell after changing the environment variables
  • Ensure the file is at C:\\quetzal\\quetzal.exe

Permission error

Error: Cannot run the file

Solution:

  • Run Command Prompt as administrator
  • Check that you have read permissions in the installation folder
  • Make sure Windows is not blocking the file (right-click > Properties > Unblock)

Antivirus blocks the file

Error: The antivirus flags the file as a threat

Solution:

  • Add C:\\quetzal\\ to your antivirus exceptions
  • Download again from the official GitHub Releases page
  • Report the false positive to your antivirus vendor
Ventana de terminal
# Make sure the file exists
dir C:\\quetzal\\quetzal.exe
# Check environment variables
echo %PATH%
# Run with detailed information
quetzal --info

To upgrade to a new version:

  1. Download the latest quetzal.exe from GitHub Releases
  2. Replace the previous file in C:\\quetzal\\
  3. Confirm the new version with quetzal --version

To remove Quetzal from your system:

  1. Delete the C:\\quetzal\\ folder
  2. Remove C:\\quetzal from the PATH environment variable
  3. (Optional) Delete any .qz files you created

Great! Quetzal Language is ready to use. Continue with:

Practical examples

Explore sample code for different use cases.

See examples →


Any trouble with the installation? Open an issue in our GitHub repository.