Install Vagrant
vagrant up
Vagrantfile
Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64"
config.ssh.pty = true
config.vm.provision "shell", inline: <<-SHELL sudo apt-get update sudo apt-get install -y git clang libicu-dev
SWIFT_SNAPSHOT_DIR="swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a" SWIFT_SNAPSHOT="swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a-ubuntu14.04" SWIFT_SNAPSHOT_FULL="$SWIFT_SNAPSHOT_DIR/$SWIFT_SNAPSHOT"
SWIFT_SNAPSHOT_BASE_URL="https://swift.org/builds/development/ubuntu1404/" SWIFT_SNAPSHOT_EXTENSION=".tar.gz" SWIFT_SNAPSHOT_FILE="$SWIFT_SNAPSHOT$SWIFT_SNAPSHOT_EXTENSION"
wget "$SWIFT_SNAPSHOT_BASE_URL$SWIFT_SNAPSHOT_FILE" tar xzvf $SWIFT_SNAPSHOT_FILE
echo $SWIFT_SNAPSHOT echo "export PATH=/home/vagrant/$SWIFT_SNAPSHOT/usr/bin:$PATH" >> ~/.profile
swift --version SHELL end
4. `wget https://swift.org/builds/development/ubuntu1404/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a-ubuntu14.04.tar.gz`
[swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a-ubuntu14.04.tar.gz](https://swift.org/builds/development/ubuntu1404/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a-ubuntu14.04.tar.gz)