How to Install Code Blocks for C++ on Windows?
Last Updated :
06 Oct, 2021
In this article, we will look into the process of installing code blocks for C++ on windows.
Installation Code Blocks for C++ on Windows:
Follow the below steps to install Code Blocks for C++ on windows:
Step 1: Open Your Web Browser
Step 2: Go to the Search Panel and Search for "Code Blocks"
Step 3: Click on the First Result shown on the Search Engine or click on this link.
Step 4: Click on the "Downloads" Section.
Step 5: Click On "Download the binary release".
Step 6: As per this Date, the Latest Version of Code Blocks is 20.03. Now here you'll find several download options
- codeblocks-20.03-setup.exe : It is a standard executable file that is easier to install.
- codeblocks-20.03-nosetup.zip : It is a zip file which you do not have to install , you can just unzip and run it.
I'll suggest you download the file with MinGW written on it ("codeblocks-20.03mingw-setup.exe") as MinGW is a Compiler that is needed to run the Program. If you download the normal setup file then you have to download The compiler separately.
Step 7: Click on Sourceforge.net under the Download Section of your desired file.
Step 8: then Download should begin within some seconds.
Step 9: When the download is completed, Open Your Code Blocks Setup File.
Step 10: Click on Next.
Step 11: Click on I agree.
Step 12: Click On Next ( you need to have at least 600 MB free storage on your drive for the installation).
Step 13: Select your Destination and Click on Install

Step 14: Once Installation gets completed, click on Next and then Click on Finish
Now You Code Blocks have been installed.
To Set the Environment Path of GCC compiler
Step 1: Go to your Code Blocks MinGW installation folder location ( For me it is C:\Program Files\CodeBlocks\MinGW\bin) and copy the address
Step 2: Go to Search Panel and type "Edit System environment variables"
Step 3: Click On Environment Variables
Step 4: Under System variables, Click on Path and Select Edit
Step 5: Click on New and Paste the Address into it and click on OK
Now Code Blocks will automatically detect GCC Compiler.
Similar Reads
How to Install Code Blocks for C++ on Linux? Code::Blocks is a free IDE( an integrated development environment), for C/C++ and FORTRAN languages. It is a cross-platform IDE and available for Windows, Mac, and Linux, In this article, we are going to discuss various methods using which we can install Code Blocks on Linux.: Installation Code Bloc
2 min read
How to Install Code Blocks for C++ on MacOS? Code::Blocks is a free and open-source IDE that supports a plethora of C++ compilers like GCC, Clang, and Visual C++. It is written in C++ and makes use of wxWidgets as the GUI toolkit. Code::Blocks is focused on C, C++, and Fortran development. It has a custom build system and optional Make support
2 min read
How to Install Cmder on Windows? Cmder is a command prompt user interface. It is often used in windows machines mainly. Generally, users like to interact with graphical user interfaces. As in command prompt in windows are not that graphical. Understanding some concepts of the GUI method is most important nowadays. Cmder is one of t
2 min read
How to Install CMake for Windows in Python? CMake is a cross-platform free and open-source software tool for managing the build process of software using a compiler-independent method. It supports directory hierarchies and applications that depend on multiple libraries. Installation of CMake CMake in Python can be easily installed with the us
1 min read
How to Install Go on Windows? Prerequisite: Introduction to Go Programming Language Before, we start with the process of Installing Golang on our System. We must have first-hand knowledge of What the Go Language is and what it actually does? Go is an open-source and statically typed programming language developed in 2007 by Robe
3 min read