File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
en/documentation/installation Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -225,8 +225,14 @@ latest version of Ruby.
225
225
On Windows, you can use the [ Windows Package Manager CLI] ( https://github.com/microsoft/winget-cli )
226
226
to install Ruby:
227
227
228
- {% highlight sh %}
229
- > winget install RubyInstallerTeam.Ruby
228
+ {% highlight ps1 %}
229
+ > winget install RubyInstallerTeam.Ruby.{MAJOR}.{MINOR}
230
+ # Example
231
+ > winget install RubyInstallerTeam.Ruby.3.2
232
+ # To see all versions avaliable
233
+ > winget search RubyInstallerTeam.Ruby
234
+ # Note: if you are installing ruby for projects, you may want to install RubyWithDevKit
235
+ > winget install RubyInstallerTeam.RubyWithDevKit.3.2
230
236
{% endhighlight %}
231
237
232
238
### Chocolatey package manager for Windows
You can’t perform that action at this time.
0 commit comments