Skip to content

Commit 9a0c06a

Browse files
authored
Adjust the download URLs and instructions to support upcoming swiftly preview release (#857)
1 parent eabac05 commit 9a0c06a

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

_includes/install/_linux_platforms_tabs.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
Command line tool for installing, managing, and switching between Swift.org toolchains.
77
</p>
88
<!-- <br>
9-
<p>To install swiftly, run the following command in your terminal.</p>
9+
<p>To install swiftly, run the following commands in your terminal.</p>
1010
<pre><code>
11-
$ curl -s https://download.swift.org/linux/swiftly > /usr/local/bin/swiftly
11+
SWIFTLY_FILENAME=swiftly-0.4.0-dev-$(uname -m).tar.gz
12+
curl -s -O "https://download.swift.org/linux/$SWIFTLY_FILENAME" && tar zxf "$SWIFTLY_FILENAME" && ./swiftly init
1213
</code></pre> -->
13-
<h4>License: <a href="https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt">Apache-2.0</a> | PGP: <a href="https://download.swift.org/linux/swiftly.sig">Signature</a></h4>
14-
<a href="https://download.swift.org/linux/swiftly" class="cta-secondary">Download</a>
14+
<h4>License: <a href="https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt">Apache-2.0</a> | PGP: <a href="https://download.swift.org/linux/swiftly-0.4.0-dev-x86_64.tar.gz.sig">Signature</a></h4>
15+
<a href="https://download.swift.org/linux/swiftly-0.4.0-dev-x86_64.tar.gz" class="cta-secondary">Download</a>
1516
<a href="/install/linux/swiftly" class="cta-secondary">Instructions</a>
1617
</li>
1718
</ul>

install/macos/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ title: Install Swift
1212
<p class="description">
1313
Command line tool for installing, managing, and switching between Swift.org toolchains.
1414
</p>
15-
<a href="https://download.swift.org/macos/swiftly.pkg" class="cta-secondary">Download</a>
15+
<!-- <br>
16+
<p>To install swiftly, run the following command in your terminal.</p>
17+
<pre><code>
18+
SWIFTLY_FILENAME=swiftly-0.4.0-dev.pkg
19+
curl -O -s "https://download.swift.org/macos/$SWIFTLY_FILENAME" && installer -pkg "$SWIFTLY_FILENAME" -target CurrentUserHomeDirectory && ~/usr/local/bin/swiftly init
20+
</code></pre> -->
21+
<a href="https://download.swift.org/macos/swiftly-0.4.0-dev.pkg" class="cta-secondary">Download</a>
1622
<a href="/install/macos/swiftly" class="cta-secondary">Instructions</a>
1723
</li>
1824
</ul>

0 commit comments

Comments
 (0)