> For the complete documentation index, see [llms.txt](https://ploegert.gitbook.io/til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ploegert.gitbook.io/til/programmy/ruby/set-rvm-default-ruby.md).

# Set RVM Default Ruby

The default version of Ruby can be set for RVM using the `--default` flag. For instance, to set the default version of Ruby to `ruby-2.2.3`, use the following command:

```
$ rvm --default use ruby-2.2.3
```
