Skip to content

Commit 5dd722f

Browse files
eagletmthsbt
authored andcommitted
Fix winget installation instructions (ja)
1 parent 60f1de3 commit 5dd722f

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

ja/documentation/installation/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,14 @@ $ pkg install runtime/ruby
198198
{: #winget}
199199
WindowsでRubyをインストールするには[Windows Package Manager CLI](https://github.com/microsoft/winget-cli)を利用します。
200200

201-
{% highlight sh %}
202-
> winget install RubyInstallTeam.Ruby
201+
{% highlight powershell %}
202+
> winget install RubyInstallerTeam.Ruby.{MAJOR}.{MINOR}
203+
#
204+
> winget install RubyInstallerTeam.Ruby.3.2
205+
# 利用可能なすべてのバージョンを表示する
206+
> winget search RubyInstallerTeam.Ruby
207+
# 注意: プロジェクトで使用する Ruby をインストールする場合、RubyWithDevKit をインストールできます
208+
> winget install RubyInstallerTeam.RubyWithDevKit.3.2
203209
{% endhighlight %}
204210

205211
### Chocolatey package manager for Windows

0 commit comments

Comments
 (0)