Kitura can run on both macOS and Linux.
To start, you’ll need to install a few prerequisites.
‣ Download and install Xcode 9.
‣ Install the Command Line Tools for Xcode:
$ xcode-select --install
‣ Install Homebrew.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Kitura is tested on Ubuntu 14.04 LTS and Ubuntu 16.04 LTS.
‣ Install the following Linux system packages:
$ sudo apt-get update $ sudo apt-get install clang libicu-dev libcurl4-openssl-dev libssl-dev
Kitura requires OpenSSL v1.0.x, whereas newer versions of Linux may install OpenSSL v1.1.x. If this occurs, install OpenSSL v1.0.x using:
$ sudo apt-get install libssl1.0-dev
‣ Download a Swift 4 toolchain from swift.org.
‣ After extracting the
.tar.gz file, update your
PATH environment variable so that it includes the extracted tools:
$ export PATH=<path to uncompressed tar contents>/usr/bin:$PATH
Now you are now ready to develop your first Kitura app. Learn how to Get Started.