Installing the development version of Rocq
If you want to work with the latest development version of the Rocq prover, follow this quick setup guide.
Create a switch
First, create a dedicated switch to follow the development branch of Rocq:
opam switch create rocq-master 4.14.2+options
opam repo add core-dev https://rocq-prover.org/opam/core-dev
opam install rocq-core.dev
opam pin add rocq-core --current
Here we call the new switch rocq-master, you can of course pick any name you want.
Install packages
In addition to the core, you might want to include the standard library:
opam install rocq-stdlib
And add other packages from the development branch, for instance rocq-equations:
opam repo add extra-dev https://rocq-prover.org/opam/extra-dev
opam install rocq-equations
Configure VS Code
If you're using VS Code, install the language server:
opam pin add -n vsrocq-language-server.dev https://github.com/rocq-prover/vsrocq.git --subpath=language-server
Inside VS Code, go to workspace settings > rocq > path to vsrocqtop and setup the path (obtained via which vsrocqtop in a shell session).
Upgrade
When you want to upgrade to the latest development version of Rocq (and installed packages), simply:
opam update
opam upgrade
Help Improve Our Documentation
All Rocq docs are open source. See something that's wrong or unclear? Submit a pull request.