diff --git a/_data/new-data/install/linux/releases.yml b/_data/new-data/install/linux/releases.yml index 5510be1f0..f8fac7846 100644 --- a/_data/new-data/install/linux/releases.yml +++ b/_data/new-data/install/linux/releases.yml @@ -3,20 +3,7 @@ latest-release: pre-code-text: | The Swiftly installer manages Swift and its dependencies. It supports switching between different versions and downloading updates. headline: Swiftly - tabs: - - label: Bash - code: |- - 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 && \ - . "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh" && \ - hash -r - - label: Fish - code: |- - 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 && \ - set -q SWIFTLY_HOME_DIR && source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.local/share/swiftly/env.fish + code: curl -fsSL https://swift.org/swiftly-install | sh links: - href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt' copy: 'License: Apache-2.0' diff --git a/_data/new-data/install/macos/releases.yml b/_data/new-data/install/macos/releases.yml index 2e79670ad..e3562ad63 100644 --- a/_data/new-data/install/macos/releases.yml +++ b/_data/new-data/install/macos/releases.yml @@ -3,20 +3,7 @@ latest-release: pre-code-text: | To download toolchains from Swift.org, use the Swiftly toolchain installer. Swift.org toolchains support Static Linux SDK, include experimental features like Embedded Swift and support for WebAssembly. headline: Swiftly - tabs: - - label: Bash - code: | - curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \ - installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \ - ~/.swiftly/bin/swiftly init --quiet-shell-followup && \ - . "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh" && \ - hash -r - - label: Fish - code: | - curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \ - installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \ - ~/.swiftly/bin/swiftly init --quiet-shell-followup && \ - set -q SWIFTLY_HOME_DIR && source "$SWIFTLY_HOME_DIR/env.fish" || source ~/.swiftly/env.fish + code: curl -fsSL https://swift.org/swiftly-install | sh links: - href: 'https://raw.githubusercontent.com/swiftlang/swiftly/refs/heads/main/LICENSE.txt' copy: 'License: Apache-2.0' diff --git a/install/linux/index.md b/install/linux/index.md index 9afddbde0..3a18e235f 100644 --- a/install/linux/index.md +++ b/install/linux/index.md @@ -8,7 +8,7 @@ title: Install Swift - Linux