If prompted, enter your password and try running REPL again. Ensure Swift is set up by running the Swift REPL in Terminal. Note: If you’re using Ubuntu 18.04, replace the path with the correct folder for the Swift toolchain you downloaded. Scroll to the bottom of the file and paste the following line:Įxport PATH=~/Downloads/swift-4.2.1-RELEASE-ubuntu16.04/usr/bin:"$" Ensure that you remember where, as you’ll need the path for future steps.įinally, to make sure you can use Swift even after you restart Terminal or your computer, you need to export your Swift path in your. Feel free to download and unzip Swift to your desired location. It is important to follow the steps laid out, as they ensure you are using a signed download of the language. If Swift isn’t already installed on your Linux OS, follow the installation instructions found on the page for Linux. Next, download Swift 4.2.1 with the following command:įinally, download the Signature file for Swift: To download Swift 4.2.1, start by navigating to your Downloads directory in Terminal: Note: Each time this tutorial refers to Terminal, it means a command prompt on Linux and not the macOS Terminal.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |