Currently in Beta - View old docs

Installation for Linux

Kitura is tested on Ubuntu 14.04 LTS (trusty), 16.04 LTS (xenial) and 18.04 LTS (bionic).

Step 1: Install Swift

First ensure your source list is up to date by running the following:

sudo apt-get update

Next install the required Linux system packages:

sudo apt-get install clang libicu-dev libcurl4-openssl-dev libssl-dev libpython2.7

Download Swift for the platform you're using.

You can then extract files to system root.

If you choose a directory other than the system root, you will need to run the following:

export PATH=/path/to/Swift/usr/bin:"${PATH}"

Where ${PATH} is the path to your Swift installation.

You can verify Swift has been installed successfully by running:

swift --version

You should see something similar like this:

Swift version x.x.x

Next steps

Create a Kitura server: Make use of SPM to create a server.

Optional: Install Kitura CLI

Install via npm

For this installation method you need to have npm installed.

If you do not have npm installed you can follow the npm installation steps.

Then run the following in a terminal:

npm install -g kitura-cli

Verify the Kitura CLI is installed by running the following:

kitura --version

You should see output similar to this:


Next steps

Create a Kitura server: Make use of the Kitura CLI to create a server.

Back to top