We recommend three ways to interact with Coq:
- (Friendly for beginners) Use CoqIDE, which is included in the standard Coq installation process.
- (Recommended, if you work on large Coq projects) Use Coq + Emacs + Proof General.
- Use Coq + VSCode (+ the extension VsCoq).
Install Coq (and CoqIDE) on Windows:
- Download Coq from https://coq.inria.fr/download , and install it. As an example, my installation directory is "C:\Coq".
- Add the installation directory (in my case "C:\Coq\bin") to the system environment "Path".
Install Coq + Emacs + Proof General on Windows:
- Install Coq on Windows.
- Install Emacs on Windows:
- Download Emacs for windows from https://www.gnu.org/software/emacs/download.html#windows
or https://sourceforge.net/projects/emacsbinw64/.
- Run emacs after installation, and do some random change of options in the "Options" menu (you can always change it back) and then press "Save options". This will generate ".emacs" in your HOME directory. For me on Windows 10, as an example, the generated .emacs file is found at C:\users\userID\AppData\Roaming .
- Follow the
quick installation instructions to install Proof General in Emacs.