🚢 About Harbour
IntroHarbour is a 100 % free, multi-platform xBase language compiler and development environment. It converts Clipper / xBase code into highly optimized C and then compiles it with GCC/Clang/MSVC.
- Cross-platform (Win, Linux, macOS, *BSD)
- Active community & nightly builds
- Full Clipper compatibility + modern extensions
- Extensive contrib libraries (HBQt, GTWVW, HMG, HWGUI…)
⚡ Quick install
30-sec start# 1) prerequisites (Ubuntu example) sudo apt install build-essential git # 2) clone git clone https://github.com/harbour/core.git $XBASE_WORKSPACE/harbour-core cd $XBASE_WORKSPACE/harbour-core # 3) build make
After build add bin
folder to PATH
.
- Download harbour-x.y.z-win64.zip from GitHub Releases
- Unpack to
%XBASE_WORKSPACE%\harbour
- Add
%XBASE_WORKSPACE%\harbour\bin
toPATH
- macOS (Homebrew):
brew install harbour
- Arch AUR:
yay -S harbour-core-git
- openSUSE:
sudo zypper install harbour
👋 Hello World
30 s// hello.prg PROCEDURE Main() ? "Hello from Harbour running on", OS() WAIT RETURN
Compile & run:
hbmk2 hello.prg -run
🔗 Docs & Links
Resources🛠️ Editors & IDEs
Productivity- VS Code – install extension Harbour + C/C++ IntelliSense
- Geany – lightweight, ships Harbour build menu
- JetBrains CLion – open
CMakeLists.txt
generated byhbmk2 -cmake
- Vim/Neovim –
harbour.vim
syntax file