-
Notifications
You must be signed in to change notification settings - Fork 251
[install] Add Swiftly to the install page #830
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0ea0585
[install] Add Swiftly to the install page under beta/preview
shahmishal 4d36eb5
Adjust the download URLs and instructions to support upcoming swiftly…
cmcgee1024 1cda4bf
Swiftly preview (#866)
cmcgee1024 2796185
Update swiftly install pages (#887)
airspeedswift 6bc1224
container install directions (#888)
egernst 5e036b8
Update _includes/install/_linux_platforms_tabs.md
shahmishal b01fa81
Update the install command for Swiftly
shahmishal 696690d
Update the Getting started pages for Swiftly
shahmishal 36b8c76
Merge branch 'main' into swiftly-preview
shahmishal ea707ba
Add copy code button
federicobucchi 7fae307
Shoe copy button only at code block hover
federicobucchi 462701b
Add copy button for Linux
shahmishal c088e33
Don't jump to the platforms on linux page
shahmishal b5cd470
Fix swiftly macos GSG instructions to remove unnecessary paragraph (#…
cmcgee1024 3aa41bd
Update swiftly install one-liner and instructions (#936)
cmcgee1024 5f0c2e4
Update the install command to use latest swiftly installer
shahmishal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
layout: page | ||
title: Getting Started with Swiftly | ||
--- | ||
|
||
Download swiftly from the [install page](/install). | ||
|
||
Run the following command in your terminal, to configure swiftly for your account: | ||
|
||
``` | ||
$ swiftly init | ||
``` | ||
|
||
Once swiftly is installed you can use it to install the latest available swift toolchain like this: | ||
shahmishal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
``` | ||
$ swiftly install latest | ||
shahmishal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Fetching the latest stable Swift release... | ||
Installing Swift 6.0.1 | ||
Downloaded 488.5 MiB of 488.5 MiB | ||
Extracting toolchain... | ||
Swift 6.0.1 installed successfully! | ||
$ swift --version | ||
Swift version 6.0.1 (swift-6.0.1-RELEASE) | ||
Target: x86_64-unknown-linux-gnu | ||
``` | ||
|
||
Or, you can install (and use) a swift release: | ||
|
||
``` | ||
$ swiftly install --use 5.10 | ||
$ swift --version | ||
Swift version 5.10 (swift-5.10-RELEASE) | ||
Target: x86_64-unknown-linux-gnu | ||
``` | ||
|
||
There's also an option to install the latest snapshot release and get access to the latest features: | ||
|
||
``` | ||
$ swiftly install main-snapshot | ||
``` | ||
|
||
> Note: This last example just installed the toolchain. You can run "swiftly use" to switch to it and other installed toolchahins when you're ready. | ||
shahmishal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
layout: page | ||
title: Getting Started with Swiftly | ||
--- | ||
|
||
Download swiftly from the [install page](/install). | ||
|
||
Run the following command in your terminal, to configure swiftly for your account: | ||
|
||
``` | ||
$ swiftly init | ||
``` | ||
|
||
Once swiftly is installed you can use it to install the latest available swift toolchain like this: | ||
shahmishal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
``` | ||
$ swiftly install latest | ||
shahmishal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Fetching the latest stable Swift release... | ||
Installing Swift 6.0.1 | ||
Downloaded 1355.3 MiB of 1355.3 MiB | ||
Installing package in user home directory... | ||
installer: Package name is Swift Open Source Xcode Toolchain | ||
installer: Upgrading at base path /Users/swift | ||
installer: The upgrade was successful. | ||
Swift 6.0.1 installed successfully! | ||
$ swift --version | ||
Apple Swift version 6.0.1 (swift-6.0.1-RELEASE) | ||
Target: arm64-apple-macosx15.0 | ||
``` | ||
|
||
Or, you can install (and use) a swift release: | ||
|
||
``` | ||
$ swiftly install --use 5.10 | ||
$ swift --version | ||
Apple Swift version 5.10 (swift-5.10-RELEASE) | ||
Target: arm64-apple-macosx15.0 | ||
``` | ||
|
||
There's also an option to install the latest snapshot release and get access to the latest features: | ||
|
||
``` | ||
$ swiftly install main-snapshot | ||
``` | ||
|
||
> Note: This last example just installed the toolchain. You can run "swiftly use" to switch to it and other installed toolchahins when you're ready. | ||
shahmishal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.