Free e-book

Programming for Kids

Learn Programming by Following Along in Ruby on a Mac

This book teaches kids between 10 and 14 years old to program. Get the first 5 chapters free...


When you click Get My Free Ebook, we will send you a link to your email address provided above. When you click that link, we will create a Leanpub account for you, and you will be able to download the Community Edition from your Leanpub library.

By clicking Get My Free Ebook you agree to share your name and email address with the author(s) of this book, and to join their mailing list if they have one. You also agree to Leanpub's Terms of Service and Privacy Policy.


Community Edition

This book is 100% complete

Last updated on 2022-04-14

Years ago, I wrote this book to teach my son the basics of programming. It may have helped spark an interest that continues to this day!

Peter Armstrong
Peter Armstrong

What is it all about?

This book teaches kids between 10 and 17 years old the basics of programming. You need a Mac computer to follow along with the examples. The examples use Terminal, nano, Ruby and irb. (Yes, I'm serious!) The Community Edition is the first 6 chapters of the book.

What you'll learn

This is the first 6 chapters of the book! You learn the basics of the command line, the interactive Ruby shell called irb, functions and programs.