Skip to content

[Swiftly] Download the swiftly package in /tmp/ #944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _includes/install/_linux_platforms_tabs.md
Original file line number Diff line number Diff line change
@@ -6,8 +6,8 @@
The Swiftly installer manages Swift and its dependencies. It supports switching between different versions and downloading updates.
</p>
<h4>Run this in a terminal:</h4>
<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; \
tar zxf swiftly-$(uname -m).tar.gz &amp;&amp; \
<div class="language-plaintext highlighter-rouge"><div class="highlight"><button>Copy</button><pre class="highlight"><code>curl -o /tmp/swiftly-$(uname -m).tar.gz https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz &amp;&amp; \
tar zxf /tmp/swiftly-$(uname -m).tar.gz &amp;&amp; \
./swiftly init --quiet-shell-followup &amp;&amp; \
. ~/.local/share/swiftly/env.sh &amp;&amp; \
hash -r
4 changes: 2 additions & 2 deletions install/macos/index.md
Original file line number Diff line number Diff line change
@@ -13,8 +13,8 @@ title: Install Swift
To download toolchains from Swift.org, use the Swiftly toolchain installer. Swift.org toolchains include experimental features like Embedded Swift and support for WebAssembly.
</p>
<h4>Run this in a terminal:</h4>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><button>Copy</button><pre class="highlight"><code>curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg &amp;&amp; \
installer -pkg swiftly.pkg -target CurrentUserHomeDirectory &amp;&amp; \
<div class="language-plaintext highlighter-rouge"><div class="highlight"><button>Copy</button><pre class="highlight"><code>curl -o /tmp/swiftly.pkg https://download.swift.org/swiftly/darwin/swiftly.pkg &amp;&amp; \
installer -pkg /tmp/swiftly.pkg -target CurrentUserHomeDirectory &amp;&amp; \
~/.swiftly/bin/swiftly init --quiet-shell-followup &amp;&amp; \
. ~/.swiftly/env.sh &amp;&amp; \
hash -r