Skip to content

Commit

Permalink
Improve winget installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nopeless authored and hsbt committed Oct 11, 2023
1 parent 887f1c3 commit a64bb7b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions en/documentation/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,14 @@ latest version of Ruby.
On Windows, you can use the [Windows Package Manager CLI](https://github.com/microsoft/winget-cli)
to install Ruby:

{% highlight sh %}
> winget install RubyInstallerTeam.Ruby
{% highlight ps1 %}
> winget install RubyInstallerTeam.Ruby.{MAJOR}.{MINOR}
# Example
> winget install RubyInstallerTeam.Ruby.3.2
# To see all versions avaliable
> winget search RubyInstallerTeam.Ruby
# Note: if you are installing ruby for projects, you may want to install RubyWithDevKit
> winget install RubyInstallerTeam.RubyWithDevKit.3.2
{% endhighlight %}

### Chocolatey package manager for Windows
Expand Down

0 comments on commit a64bb7b

Please sign in to comment.