File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments