SWIG

SWIG 4.5.1

Interface compiler that connects C/C++ to other languages.

  • By SWIG
  • Open Source
  • Portable
  • Updated Sep 4, 2026
Download for Windows

About SWIG

SWIG is an interface compiler that connects programs written in C and C++ with scripting languages such as Perl, Python, Ruby, and Tcl. It works by taking the declarations found in C/C++ header files and using them to generate the wrapper code that scripting languages need to access the underlying C/C++ code.

Technical details

PublisherSWIG
Version4.5.1
Release date2026-09-04
LicenseGPL-3.0
Installer typezip
Architecturex64
Package IDSWIG.SWIG

Install SWIG from the command line

Install with Windows Package Manager
winget install --id=SWIG.SWIG -e
Update to the latest version
winget upgrade --id=SWIG.SWIG -e
Uninstall
winget uninstall --id=SWIG.SWIG -e

Install SWIG together with other apps in one command »

bindingscc++

SWIG version history

4.5.0 Aug 5, 2026
4.4.1 Dec 7, 2025
4.4.0 Oct 20, 2025

Other versions

  • 4.3.1
  • 4.3.0
  • 4.2.1

Frequently asked questions

Is SWIG free?

Yes. SWIG is free and open-source software released under the GPL-3.0 license.

What is the latest version of SWIG?

The latest version is 4.5.1, released on Sep 4, 2026.

Is it safe to download SWIG?

The download button links to the official installer published on prdownloads.sourceforge.net, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 6a8662c063ba4d1e72beaecef24da4af3d631d73ffdde958fb42aa50fdefb962.

Which Windows versions does SWIG support?

SWIG runs on Windows and is available for 64-bit (x64) systems.

How do I uninstall SWIG?

Open Settings › Apps › Installed apps, find SWIG and select Uninstall. From the command line, run winget uninstall --id=SWIG.SWIG -e.

Is there a portable version of SWIG?

Yes. SWIG is available as a portable ZIP archive (swigwin-4.5.1.zip, 64-bit (x64)) that runs without installation. Copy it to any folder or USB drive and run it from there.