Right now I'm reinstalling Visual Studio on my workstation, and it's taking forever. Which reminds me I should have a backup environment available.

I'm looking for a portable Integrated Development Environment (IDE) for C and C++ that can be installed in the user folder and run with low priviledges.

It should be quick to install and configure. In particular, it should not require too much work to make it recognize a compiler. It would be nice if it came bundled with a compiler.

Needed features:

  • full support for UTF-8
  • runs on Windows
  • Open-Source and free to use
  • syntax highlighting (recognizing C++11)
  • code completion (at least for the STL)

Very welcome features:

  • runs on Linux
  • code formatting (like the one in Eclipse and Netbeans)
  • refactoring (ability to rename variables)
  • can run on a USB key (must be able to find a compiler)

The (optionally) bundled compiler should be up-to-date. I've seen many IDEs that do not meet this requirement, and come with an old version of GCC (4.8.1). I don't know why, since 4.9 has ben out for months already, and the 4.8 series has hit version 4.8.4 already.

Dev-C++ is lacking UTF-8 support, so please don't even mention it.


The easiest free GCC based IDE for Windows is Code::Blocks, which can be portable. But, alas, it doesn't currently have 4.9 - perhaps you could ask on the forums? Or, would you consider using 4.7 or 4.8 to build 4.9 from source & adding that in to whatever solution you choose?

Since you like NetBeans, you can use a portable version, but that leaves you with the problem of a compiler, for which I would recommend Cygwin (and make sure that the compiler is up to date)

Or, you could just create a VM and use portable VirtualBox.

  • 1
    Code::Blocks released an update in January 2016. It offers a sensible zip package with the compiler, the IDE and all its plugins. It ships with GCC 4.9.2 32bits, which is not the latest version, but still an improvement.
    – Agostino
    Feb 15 '16 at 14:48
  • Glad to hear that. You seem to be getting closer to a solution. Feb 15 '16 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.