Skip to content

Commit dcc77b0

Browse files
committed
fix: linux instalation docs
1 parent c62794c commit dcc77b0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

_includes/install/_linux_platforms_tabs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
The Swiftly installer manages Swift and its dependencies. It supports switching between different versions and downloading updates.
77
</p>
88
<h4>Run this in a terminal:</h4>
9-
<div class="language-plaintext highlighter-rouge"><div class="highlight"><button>Copy</button><pre class="highlight"><code>curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz &amp;&amp; \
10-
tar zxf swiftly-$(uname -m).tar.gz &amp;&amp; \
9+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><button>Copy</button><pre class="highlight"><code>curlo! -O "https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz" &amp;&amp; \
10+
tar zxf "swiftly-$(uname -m).tar.gz" &amp;&amp; \
1111
./swiftly init --quiet-shell-followup &amp;&amp; \
1212
. ~/.local/share/swiftly/env.sh &amp;&amp; \
1313
hash -r

install/linux/swiftly/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ title: Getting Started with Swiftly on Linux
66
Download swiftly for [Linux (Intel)](https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-x86_64.tar.gz), or [Linux (ARM)](https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-aarch64.tar.gz).
77

88
```
9-
curl -O https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz
9+
curl -O "https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz"
1010
```
1111

1212
You can verify the integrity of the archive using the PGP signature. This will download the signature, install the swift.org signatures into your keychain, and verify the signature.
1313

1414
```
1515
curl https://www.swift.org/keys/all-keys.asc | gpg --import -
16-
curl -O https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz.sig
17-
gpg --verify swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz.sig swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz
16+
curl -O "https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz.sig"
17+
gpg --verify "swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz.sig" "swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz"
1818
```
1919

2020
Extract the archive.
2121

2222
```
23-
tar -zxf swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz
23+
tar -zxf "swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz"
2424
```
2525

2626
Run the following command in your terminal, to configure swiftly for your account, and automatically download the latest swift toolchain.

0 commit comments

Comments
 (0)