PuTTY is free and open-source software under the MIT license. Explore the source code, build from source, and contribute.
PuTTY's source code is maintained in a Git repository hosted by Simon Tatham.
The primary Git repository. Contains the complete PuTTY suite: PuTTY, PuTTYgen, PSCP, PSFTP, Plink, and Pageant.
Download source tarballs for specific releases. Build PuTTY from source on Windows, Linux, or macOS without Git.
Instructions for compiling PuTTY on different platforms.
git clone https://git.tartarus.org/simon/putty.git
cd putty
# Install dependencies (Ubuntu/Debian)
sudo apt install cmake build-essential libgtk-3-dev
# macOS
brew install cmake gtk+3
# Build
cmake . -DCMAKE_BUILD_TYPE=Release
cmake --build .
# Visual Studio
cmake . -G "Visual Studio 17 2022" -A x64
cmake --build . --config Release
# MinGW
cmake . -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
cmake --build .
Tip: For cross-compiling Windows binaries on Linux, use MinGW-w64: cmake . -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-mingw.cmake
PuTTY is free software released under the MIT license.
PuTTY is copyright 1997-2024 Simon Tatham.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND...
Found a bug? Report it via the official PuTTY feedback page with detailed steps to reproduce.
Check the PuTTY wishlist for planned features. Submit new ideas through the feedback page.
Security vulnerabilities should be reported privately to the PuTTY team via email.
Submit patches via email. Review the coding style and build system before contributing.
PuTTY was originally written and is maintained by Simon Tatham. Development began in 1998 and PuTTY has been continuously updated for over 25 years.