diff --git a/_includes/install/_linux_platforms_tabs.md b/_includes/install/_linux_platforms_tabs.md index fd8972220..bcb1bb539 100644 --- a/_includes/install/_linux_platforms_tabs.md +++ b/_includes/install/_linux_platforms_tabs.md @@ -6,8 +6,8 @@ The Swiftly installer manages Swift and its dependencies. It supports switching between different versions and downloading updates.
curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && \
-tar zxf swiftly-$(uname -m).tar.gz && \
+ curl -O "https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz" && \
+tar zxf "swiftly-$(uname -m).tar.gz" && \
./swiftly init --quiet-shell-followup && \
. ~/.local/share/swiftly/env.sh && \
hash -r
diff --git a/install/linux/swiftly/index.md b/install/linux/swiftly/index.md
index e45dbf3ae..d1286d38f 100644
--- a/install/linux/swiftly/index.md
+++ b/install/linux/swiftly/index.md
@@ -6,21 +6,21 @@ title: Getting Started with Swiftly on Linux
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).
```
-curl -O https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz
+curl -O "https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz"
```
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.
```
curl https://www.swift.org/keys/all-keys.asc | gpg --import -
-curl -O https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz.sig
-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
+curl -O "https://download.swift.org/swiftly/linux/swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz.sig"
+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"
```
Extract the archive.
```
-tar -zxf swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz
+tar -zxf "swiftly-{{ site.data.builds.swiftly_release.version }}-$(uname -m).tar.gz"
```
Run the following command in your terminal, to configure swiftly for your account, and automatically download the latest swift toolchain.