How To Install Ruby and Set Up a Local Programming Environment

This tutorial series will guide you through installing Ruby on your local machine and setting up a programming environment via the command line. Ruby is a dynamic programming language you can use to create anything from simple scripts to complex web applications.

macOS

X

How To Install Ruby and Set Up a Local Programming Environment on macOS

Learn How To Install Ruby and Set Up a Local Programming Environment on macOS

Ubuntu

22.04

How To Install Ruby and Set Up a Local Programming Environment on Ubuntu 22.04

Learn How To Install Ruby and Set Up a Local Programming Environment on Ubuntu 22.04
16.04

How To Install Ruby and Set Up a Local Programming Environment on Ubuntu 16.04

Learn How To Install Ruby and Set Up a Local Programming Environment on Ubuntu 16.04

Windows

10

How To Install Ruby and Set Up a Local Programming Environment on Windows 10

Learn How To Install Ruby and Set Up a Local Programming Environment on Windows 10

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.