Skip to content

Commit 40be858

Browse files
committed
apply feedback updates
1 parent a4a75ba commit 40be858

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Documentation/SwiftlyDocs.docc/automated-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tar zxf swiftly.tar.gz
1919
On macOS, download the pkg file and extract it like this from the command-line:
2020

2121
```
22-
curl -L <location_of_swiftly_swift_org> > swiftly.pkg
22+
curl -L https://download.swift.org/swiftly/darwin/swiftly.pkg > swiftly.pkg
2323
installer -pkg swiftly.pkg -target CurrentUserHomeDirectory
2424
```
2525

Documentation/SwiftlyDocs.docc/getting-started.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ To get started with swiftly you can download it from [swift.org](https://swift.o
66

77
@TabNavigator {
88
@Tab("Linux") {
9-
If you are using Linux then you can verify and extract the archive like this:
9+
If you are using Linux then you can download the binary:
1010

1111
```
12-
tar zxf swiftly-x.y.z.tar.gz
12+
curl -L https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz > swiftly.tar.gz
13+
tar zxf swiftly.tar.gz
1314
```
1415

1516
Now run swiftly init to finish the installation:
@@ -23,13 +24,14 @@ To get started with swiftly you can download it from [swift.org](https://swift.o
2324
On macOS you can either run the pkg installer from the command-line like this or run the package by double-clicking on it (not recommended):
2425

2526
```
26-
installer -pkg swift-x.y.z.pkg -target CurrentUserHomeDirectory
27+
curl -L https://download.swift.org/swiftly/darwin/swiftly.pkg > swiftly.pkg
28+
installer -pkg swiftly.pkg -target CurrentUserHomeDirectory
2729
```
2830

2931
Once the package is installed, run `swiftly init` to finish the installation:
3032

3133
```
32-
~/usr/local/bin/swiftly init
34+
~/.swiftly/bin/swiftly init
3335
```
3436
}
3537
}
@@ -74,7 +76,7 @@ Uninstall this toolchain after you're finished with it:
7476
$ swiftly uninstall main-snapshot
7577
```
7678

77-
# Installing toolchains through a proxy
79+
# Installing toolchains through an HTTP proxy
7880

7981
Swiftly downloads a list of toolchains from https://www.swift.org/ and retrieves them from CDN via https://download.swift.org.
8082
If your environment requires a proxy, Swiftly attempts to use the standard environment variables `http_proxy`, `HTTP_PROXY`, `https_proxy` or `HTTPS_PROXY` to determine which proxy server to use instead of making a direct connection.

0 commit comments

Comments
 (0)