Skip to content

Commit 02815ce

Browse files
authored
Merge pull request #1655 from adsingh14/winget-cli
Git for Windows via winget
2 parents fcf5b8b + c648473 commit 02815ce

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

app/views/downloads/download_windows.html.erb

+9-4
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,25 @@
1717
<%= raw "<strong><a id=\"auto-download-link\" href=\"#{@download.url}\">Click here to download manually</a><span class=\"hide\">, if your download hasn't started.</span></strong>" %>
1818
</p>
1919
<h3>Other Git for Windows downloads</h3>
20-
<h4>Git for Windows Setup</h4>
20+
<h4>Executable Setup</h4>
2121
<p>
22-
<%= raw "<strong><a href=\"#{@download32.url}\">32-bit Git for Windows Setup</a>.</strong>" %>
22+
<%= raw "<strong><a href=\"#{@download32.url}\">32-bit Git for Windows Setup</a>.</strong>" %>
2323
</p>
2424
<p>
25-
<%= raw "<strong><a href=\"#{@download64.url}\">64-bit Git for Windows Setup</a>.</strong>" %>
25+
<%= raw "<strong><a href=\"#{@download64.url}\">64-bit Git for Windows Setup</a>.</strong>" %>
2626
</p>
27-
<h4>Git for Windows Portable ("thumbdrive edition")</h4>
27+
<h4>Portable ("thumbdrive edition")</h4>
2828
<p>
2929
<%= raw "<strong><a href=\"#{@download32portable.url}\">32-bit Git for Windows Portable</a>.</strong>" %>
3030
</p>
3131
<p>
3232
<%= raw "<strong><a href=\"#{@download64portable.url}\">64-bit Git for Windows Portable</a>.</strong>" %>
3333
</p>
34+
<h4>Using winget tool</h4>
35+
<p>
36+
Install <a href="https://docs.microsoft.com/en-us/windows/package-manager/winget">winget tool</a> if you don't already have it, then type this command in command prompt or Powershell.<br>
37+
<code>winget install --id Git.Git -e --source winget</code>
38+
</p>
3439
<p class="small">
3540
<%= raw "The current source code release is version <strong>#{@latest.name}</strong>. If you want the newer version, you can build it from <a href=\"#{@source_url}\">the source code</a>." %>
3641
</p>

0 commit comments

Comments
 (0)