Follow the guide here: https://docs.phalcon.io/en/latest/reference/install.html
For window basically you just download the right dll and put it in apache ext folder.
For the rest use commands.
If you have that dll usually you don't need "ext-phalcon" in composer. Composer is dependency management for php so if you must then create a file named composer.json
in your repository and type the package name inside the file (in the correct format referenced in composer documentation) you need then do composer install.
You should set up composer first : https://getcomposer.org/
Rest of it is self-explainatory.