Install COBOL on Windows 11
Download the installer
GnuCOBOL ships a Windows installer from its GitHub releases page. Download the 64-bit setup file for the latest 3.x release.
Run the installer
Run the setup file and keep the defaults. The installer adds GnuCOBOL to your PATH, which is what lets every command prompt find cobc.
cobc --version
cobc (GnuCOBOL) 3.2.0
cobc --version
Open a fresh command prompt and check the compiler. The first line shows GnuCOBOL and the build date:
cobc --version
cobc (GnuCOBOL) 3.2.0
The cobc --version output on this page was produced by GnuCOBOL 3.2.0 on Alpine Linux 3.24.3 (x86_64) in a Docker container. The install steps were not run: they need Windows 11.
Article author: Arthur Isaev