Step-by-step guide to install Thonny and start writing Python code right away

🐍 How to Install Thonny (Python IDE)

✅ Step 1: Download Thonny

  1. Go to the official website:
    👉 https://thonny.org

  2. Click on the Download button for your operating system:

    • Windows: thonny-setup.exe

    • macOS: thonny.dmg

    • Linux: .deb or install via Terminal


🪟 For Windows Users

✅ Step 2: Install Thonny

  1. Double-click the downloaded thonny-setup.exe file.

  2. Click Next, choose installation location (default is fine).

  3. Check the option:

    • ✅ “Add desktop shortcut”

  4. Click Install.

  5. When finished, check “Run Thonny” and click Finish.

🎉 Done! Thonny also installs Python automatically, so no separate Python setup is needed.


🍎 For macOS Users

✅ Step 2: Install Thonny

  1. Open the downloaded .dmg file.

  2. Drag the Thonny icon to your Applications folder.

  3. Open Thonny from Launchpad or Applications.

💡 If macOS blocks it, go to System Preferences > Security & Privacy > General, and click “Open Anyway”.


🐧 For Linux (Ubuntu/Debian)

Option 1: Install using .deb file

  1. Download .deb file from https://thonny.org

  2. In Terminal, run:

    bash
    sudo dpkg -i thonny_*.deb
    sudo apt-get install -f

Option 2: Install via terminal

bash
sudo apt update
sudo apt install thonny

🚀 Step 3: Write Your First Python Program

  1. Open Thonny.

  2. In the editor area, type:

    python
    print("Hello, world from Thonny!")
  3. Click the green Run button (or press F5).

  4. You’ll see the result in the bottom shell window.


✨ That’s It! Thonny is Ready to Use

You now have: ✅ Python installed
✅ Thonny set up
✅ First Python program working

Leave a Comment