Hands-On Server-Side Web Development with Swift
上QQ阅读APP看书,第一时间看更新

Installing Vapor on Ubuntu

You can install the Vapor packages after you have added the APT repository:

# Step 3a: Install Vapor on Ubuntu
$ sudo apt-get install vapor

That's it. You now have Vapor properly installed on your Ubuntu. Try the following commands to double-check that the Vapor CLI works as expected:

# Step 3b: Check Swift and Vapor installation
$ vapor --help