Version 5.3 · Free · macOS, Windows & Linux

Your first Python program,
ready for liftoff.

Lunar Module is a calm, friendly Python editor for beginners. Write a few lines, press ▶ Run, and watch them work, with lessons, plain-English errors and Python built right in.

Opens and runs your first programs right away. Install Python too to unlock packages, and Lunar Module sets it up by itself.

The Lunar Module editor with a small Python program and its output
A real screenshot: a countdown program, run with one click.
12step-by-step lessons
10ready-to-run examples
7colour themes
$0AI helper, runs on your computer

Mission equipment

Everything a beginner needs. Nothing they don't.

Lunar Module starts simple and grows with you. Advanced tools stay out of the way until you ask for them.

Python, set up for you

Install Python from python.org and Lunar Module finds it and sets everything up, even while it's open. Until then, a built-in Python runs your first programs.

Lessons that check your work

Twelve short lessons, from print() to a guessing-game project. Press Run and it tells you if you got it, or gives you a hint.

Errors in plain English

When a program crashes, you see what went wrong and on which line: “You tried to join text and a number…” instead of a wall of red.

Building Blocks

Double-click “Ask a question” or “Repeat 5 times” and the code appears, imports and all. Tab jumps to the next part to change.

A package manager that looks out for you

Install pygame, requests or numpy with a click. Look-alike names, brand-new packages and version clashes are flagged before anything installs.

A real terminal

Your own shell, right in the editor, already inside your project's private environment. On macOS, Windows and Linux.

Restricted Mode

Code you download opens in safe mode, so nothing runs until you say so. Your own files and lessons run straight away.

Make it a real app

Turn your program into an app you can double-click and share with friends, pictures and sounds included.

A free AI helper, if you want one

Ask why your code crashed or what it does, and get hints, not homework done for you. It runs on your own computer with Ollama: no account, no cost, nothing sent online.

Flight deck

Take a look around.

Lesson 1 open in the Daylight theme
Lessons open with a small task. Press Run and Lunar Module tells you if you got it.

Launch sequence

From download to “Hello, world!” in a minute.

  1. 01

    Download

    Grab the app for your computer, and install Python from python.org. Lunar Module finds it and sets it up by itself.

  2. 02

    Write

    Start from a template full of friendly comments, a lesson, or a blank page.

  3. 03

    Run

    Press ▶ Run (or F5). Whatever your program prints shows up instantly.

# your first program
name = input("What's your name? ")
print(f"Hello, {name}! Ready for launch!")

About

Why Lunar Module exists.

Most code editors are built for professionals. They greet beginners with settings, extensions, terminals and errors written for experts. Lots of people give up before their first program ever runs.

Lunar Module goes the other way. It opens on a friendly welcome page and explains things in plain words. It keeps you safe from code you didn't write. The tools you'll need later, like a debugger, a linter, a terminal and packages, are all there, waiting until you're ready.

The name comes from the Apollo lunar module: small, focused, and built to carry first-timers somewhere new.

Made by an independent developer, SleepyDev.

Lunar Module icon
Version
5.3
Runs on
macOS · Windows · Linux
Price
Free
Built with
Python & Tkinter
License
Free to use · All rights reserved

Download

Ready when you are.

Lunar Module 5.3 · Free

1

First, install Python

Lunar Module uses the Python on your computer to install packages and make apps. Get it from python.org/downloads. On Windows, tick “Add python.exe to PATH” in the installer. Already have it? Skip this step.

Installed it after opening Lunar Module? No restart needed: it notices Python within seconds and switches to it.

Get Python

2 Then download Lunar Module

macOS

Apple chip (M1 or newer) or Intel

Download for Mac
First time opening it?
  1. Unzip it and drag Lunar Module into Applications.
  2. Open it. macOS says it can't check the app, so click Done.
  3. Go to System Settings › Privacy & Security, scroll down and click Open Anyway.

You only do this once. It happens because Lunar Module isn't notarized by Apple yet, not because something is wrong.

Windows

Windows 10 & 11, 64-bit

Download for Windows
First time opening it?
  1. Right-click the zip, choose Extract All.
  2. Open the folder and run Lunar Module.exe.
  3. If you see “Windows protected your PC”, click More info, then Run anyway.

The warning shows for new apps that aren't code-signed yet.

Linux

64-bit · Ubuntu 22.04+, Mint, Debian, Fedora · Chromebooks

Download for Linux
How to install
tar xzf LunarModule-linux.tar.gz
cd LunarModule
./install.sh

install.sh adds Lunar Module to your app menu, no password needed. The full guide is in README.txt inside the download, and ./uninstall.sh removes it again. On a Chromebook, turn on Linux development environment first.

All versions & release notes →

Questions

Frequently asked.

Is it really free?

Yes. No accounts, no ads, no trial. Download it and use it.

Do I need to install Python?

Yes, we recommend it. Install it from python.org and Lunar Module finds it and sets it up for you, even if the app is already open. Without it, a small built-in Python still runs your programs, but you can't install packages like pygame or turn programs into apps, and Lunar Module shows a reminder.

Why does my computer warn me when I open it?

macOS and Windows show a warning for apps that haven't been signed with a paid Apple or Microsoft certificate. Lunar Module isn't signed yet. The steps in the Download section get you past it once. Always download Lunar Module from this website or its official download page, never from somewhere else.

Is it safe to install packages with it?

Lunar Module checks every package before installing it: that it exists, that the name isn't a look-alike of a popular package, how new it is, and whether it works with your Python. Then it shows everything that will be installed and asks. Each project keeps its packages in its own private environment, so projects can't break each other.

Does it have an AI assistant? Does it cost anything?

Yes, and it's free. The ✦ AI panel explains your code and errors in simple words and gives hints, so you learn to fix things yourself. It never writes or changes your code. It runs on your own computer through Ollama, a free program, so there's no account, no subscription, and your code never leaves your computer. It's optional: you choose a model to download (from 1 GB for older computers to 4.7 GB for the best answers), or don't use it at all.

Can I make games with it?

Yes. turtle works out of the box, and pygame, Pygame Zero, arcade and Ursina are one click away in Tools › Packages. Their windows open in front of the editor.

Is it only for beginners?

It's designed for them, but turn off Simple Mode and you get a debugger with breakpoints, linting and formatting with ruff, smart completions with Jedi, go to definition, rename, a real terminal and more.

Ready for launch?

Your first program is a few minutes away.

Download Lunar Module