Install on Ubuntu¶
Installing Vapor on Ubuntu only takes a couple of minutes.
Add Vapor's APT repo to get access to all of Vapor's system packages.
Easily add Vapor's APT repo with this handy script.
eval "$(curl -sL https://apt.vapor.sh)"
Or add the repo manually.
wget -q https://repo.vapor.codes/apt/keyring.gpg -O- | sudo apt-key add - echo "deb https://repo.vapor.codes/apt $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vapor.list sudo apt-get update
Now that you have added Vapor's APT repo, you can install the required dependencies.
sudo apt-get install swift vapor
Double check the installation was successful by running:
eval "$(curl -sL check2.vapor.sh)"
Learn more about the Vapor toolbox CLI in the Toolbox section of the Getting Started section.