File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,15 @@ curl https://download.swift.org/swift-5.7.1-release/ubuntu2204/swift-5.7.1-RELEA
88tar zxvf swift.tar.gz
99rm swift.tar.gz
1010mv swift-5.7.1-RELEASE-ubuntu22.04/ swift
11- sudo mv swift/ /
12- echo 'export PATH=/swift/usr/bin:"${PATH}"' >> ~/.bashrc
13- source ~/.bashrc
11+
12+ echo "Adding Swift to PATH"
13+ echo 'export PATH=/swift/usr/bin:"${PATH}"' >> /root/.bashrc
14+ source /root/.bashrc
1415
1516echo "Checking Swift version"
1617swift -version
1718
18- echo "Adding Swift path for VSCode"
19+ echo "Adding Swift to PATH for VSCode"
1920echo 'export PATH=/swift/usr/bin:"${PATH}"' >> /config/.bashrc && source /config/.bashrc
2021
21- echo "Swift installed for VSCode"
22+ echo "Swift binaries installed for VSCode. Make sure to also install the 'sswg.swift-lang' extension in VSCode"
You can’t perform that action at this time.
0 commit comments