You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The installation instructions do not work when one sets up SWIFTLY_HOME_DIR before following them.
$ env -i zsh -df
$ export TERM=xterm-256color
$ export PATH="${HOME}/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
$ export XDG_DATA_HOME="${HOME}/.local/share"
$ export SWIFTLY_HOME_DIR="${XDG_DATA_HOME}/swiftly"
$ export SWIFTLY_BIN_DIR="${HOME}/.local/bin"
$ envHOME=/Users/redactedLOGNAME=redactedSHLVL=1PWD=/Users/redacted/DownloadsOLDPWD=/Users/redacted/DownloadsPATH=/Users/redacted/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbinXDG_DATA_HOME=/Users/redacted/.local/shareSWIFTLY_HOME_DIR=/Users/redacted/.local/share/swiftlySWIFTLY_BIN_DIR=/Users/redacted/.local/binTERM=xterm-256color_=/usr/bin/env
$ curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \~/.swiftly/bin/swiftly init --quiet-shell-followup && \. ~/.swiftly/env.sh && \hash -r...Swiftly will be installed into the following locations:/Users/redacted/.local/share/swiftly - Data and configuration files directory including toolchains/Users/redacted/.local/bin - Executables installation directory...The global default toolchain has been set to `Swift 6.0.3`Swift 6.0.3 installed successfully!.: no such file or directory: /Users/redacted/.swiftly/env.sh
I think the installation instructions should be updated to:
This change belongs on the swift website repo. You might be interested in this PR, which fixes this problem and adds fish support too: swiftlang/swift-org-website#946
https://www.swift.org/install/macos/
The installation instructions do not work when one sets up
SWIFTLY_HOME_DIR
before following them.I think the installation instructions should be updated to:
The text was updated successfully, but these errors were encountered: