Installing puttygen on Mac OS


To install puttygen on macOS, you need to install the PuTTY suite, which is part of a package called putty. This can be done using Homebrew, a popular package manager for macOS. Follow these steps:

Step 1: Install Homebrew (if not installed)

If you don't already have Homebrew installed, you can install it by running the following command in your terminal:


Below is single line command. Make sure you run as single line.


/bin/bash -c
"$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Step 2: Install PuTTY (which includes puttygen)

Once Homebrew is installed, you can install PuTTY, which includes the puttygen tool:


brew install putty

Step 3: Verify the installation

After the installation is complete, verify that puttygen is installed by running the following command:


puttygen --help

This should display usage information for puttygen, confirming that it has been installed successfully.

Step 4: Use puttygen to convert PPK to PEM

You can now use puttygen for conversions, such as converting a .ppk file to a .pem file. For example:


puttygen your-key.ppk -O private-openssh -o your-key.pem

Now you're ready to use puttygen on your macOS system.







Please do like and subscribe to my youtube channel: https://www.youtube.com/@foalabs If you like this post please follow,share and comment