Practical uses
- Build productive web applications
- Write readable automation and domain-specific languages
- Create developer tooling and static sites
- Prototype business ideas quickly
A readable, object-oriented scripting language, best known for web apps built with Rails.
Ruby is a dynamic, open source programming language designed to be simple and productive, with a syntax that is easy to read and write. It is widely used for web development through the Ruby on Rails framework, as well as for scripts and tooling.
On macOS and Linux, install Ruby with a version manager such as rbenv or rvm so you can switch versions per project. On Windows, use RubyInstaller.
# Download and run RubyInstaller from rubyinstaller.org
# Choose the version with MSYS2/MINGW development toolchain (DevKit).
# Verify:
ruby -v
gem -vLearn the basics first, then pick up these tools when a project needs them.