We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887f1c3 commit a64bb7bCopy full SHA for a64bb7b
en/documentation/installation/index.md
@@ -225,8 +225,14 @@ latest version of Ruby.
225
On Windows, you can use the [Windows Package Manager CLI](https://github.com/microsoft/winget-cli)
226
to install Ruby:
227
228
-{% highlight sh %}
229
-> winget install RubyInstallerTeam.Ruby
+{% highlight ps1 %}
+> 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
236
{% endhighlight %}
237
238
### Chocolatey package manager for Windows
0 commit comments