Skip to content

Building CodeLite from sources


  • Install compiler and other required tools (git etc) as described here
  • Build wxWidgets from sources. See build instructions here
  • Clone CodeLite sources:
    git clone
  • Download and install CodeLite for Windows (64 bit) from our Download Page
  • Open the workspace CodeLiteIDE.workspace (located in the CodeLite's folder)
  • Make sure that the project CodeLiteIDE is selected (the active project uses bold font)
  • Select the Win_x64_Release build configuration and click F7
  • When the compilation is over, close the workspace
  • Close CodeLite
  • To update your installation with the new CodeLite, close CodeLite and from a cmd.exe window (opened as Administrator), navigate to codelite-sources/Runtime/ and run the file update64.bat


  • To build CodeLite on your computer you will first need to Build wxWidgets from sources
  • Install libssh-dev and libsqlite3-dev packages (or similar, depending on your distro). On Ubuntu / Debian, you can use this command:
    sudo apt install build-essential git cmake \
                     libssh-dev libsqlite3-dev 
  • Git clone the sources:
    git clone
  • Build CodeLite:
 cd codelite
 mkdir build-release
 cd build-release
 make -j$(nproc)
 sudo make install



  • wxWidgets 3.1 or later
  • CMake
  • Git
  • Xcode
  • Xcode command-line tools
  • Homebrew.


  • (Optional) Make a separate folder for building if you want to get rid of all except the .app file after building
  • Install Xcode from Mac App Store
  • Install Xcode command-line tools: xcode-select --install
  • Install Homebrew:
 ruby -e "$(curl -fsSL"
  • Update Homebrew: brew update
  • (Optional) Upgrade Homebrew packages: brew upgrade
  • Install Git: brew install git
  • Install CMake: brew install cmake
  • Install wxWidgets: brew install wxmac --dev --use-llvm


You can choose to build wxWidgets from sources

Clone the repo (I will assume that your development folder is: /Users/$USER/src)

cd /Users/$USER/src
git clone
the above will create the folder /Users/$USER/src/codelite

To build CodeLite:

cd /Users/$USER/src/codelite
mkdir build-release
cd build-release
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . -j $(sysctl -n hw.physicalcpu)
cmake --build . --target install

You should now have an app bundle /Users/$USER/src/codelite/build-release/

To launch CodeLite:

open /Users/$USER/src/codelite/build-release/