diff --git a/install/linux/swiftly/index.md b/install/linux/swiftly/index.md index 0c3ca1a89..e45dbf3ae 100644 --- a/install/linux/swiftly/index.md +++ b/install/linux/swiftly/index.md @@ -29,6 +29,8 @@ Run the following command in your terminal, to configure swiftly for your accoun ./swiftly init ``` +Note: You can set the SWIFTLY_HOME_DIR and SWIFTLY_BIN_DIR environment variables to customize your install location. + Your current shell may need some additional steps to update your session. Follow the guidance at the end of the installation for a smooth install experience, such as sourcing the environment file, and rehashing your shell's PATH. There can be certain packages that need to be installed on your system so that the Swift toolchain can function. The swiftly initialization routine will show you how to install any missing packages. @@ -64,4 +66,4 @@ Check for updates to swiftly and install them by running the self-update command swiftly self-update ``` -You can discover more about swiftly in the [documentation](https://www.swift.org/swiftly/documentation/swiftlydocs/) \ No newline at end of file +You can discover more about swiftly in the [documentation](https://www.swift.org/swiftly/documentation/swiftlydocs/) diff --git a/install/macos/index.md b/install/macos/index.md index 71d14d0ec..531af22e6 100644 --- a/install/macos/index.md +++ b/install/macos/index.md @@ -15,8 +15,8 @@ title: Install Swift
curl -O https://download.swift.org/swiftly/darwin/swiftly-{{ site.data.builds.swiftly_release.version }}.pkg && \
installer -pkg swiftly-{{ site.data.builds.swiftly_release.version }}.pkg -target CurrentUserHomeDirectory && \
-~/usr/local/bin/swiftly init --quiet-shell-followup && \
-. ~/Library/Application\ Support/swiftly/env.sh && \
+~/.swiftly/bin/swiftly init --quiet-shell-followup && \
+. ~/.swiftly/env.sh && \
hash -r