Skip to content

Commit 9a17e53

Browse files
authored
Improve winget installation instructions (zh_tw) (#3129)
1 parent 2d7c75b commit 9a17e53

File tree

1 file changed

+7
-1
lines changed
  • zh_tw/documentation/installation

1 file changed

+7
-1
lines changed

zh_tw/documentation/installation/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,13 @@ $ pkg install runtime/ruby
202202
在 Windows 上您可以使用 [Windows Package Manager CLI](https://github.com/microsoft/winget-cli) 來安裝 Ruby:
203203

204204
{% highlight sh %}
205-
> winget install RubyInstallerTeam.Ruby
205+
> winget install RubyInstallerTeam.Ruby.{MAJOR}.{MINOR}
206+
# 範例
207+
> winget install RubyInstallerTeam.Ruby.3.2
208+
# 查看所有可用的版本
209+
> winget search RubyInstallerTeam.Ruby
210+
# 注意:如果你正在為專案安裝 ruby,你可能也希望安裝 RubyWithDevKit
211+
> winget install RubyInstallerTeam.RubyWithDevKit.3.2
206212
{% endhighlight %}
207213

208214
### Chocolatey package manager for Windows

0 commit comments

Comments
 (0)