Linux
- Install Docker by using the packages available in your distro or by following the official instructions.
- You should already have Python and the
pipcommand installed. If not follow your normal distro procedures to install them:- On Debian or Ubuntu do:
sudo apt-get install python-pip. - On Fedora or CentOS do:
yum install python-pip.
- On Debian or Ubuntu do:
- Install Karton:
pip install karton. - Try running
karton. If it fails because the command was not found, add~/.local/binto your$PATHenvironment variable.- Open the
~/.bashrcfile (assuming you use the bash shell, which is the default for most users). - Add
PATH="~/.local/bin:$PATH"at the end of the file.
- Open the
macOS
- Install Docker for Mac following the official instructions.
- Install the
pipcommand by copying this in a terminal:which pip || sudo easy_install pip. - Install Karton:
pip install karton. - Try running
karton. If it fails because the command was not found, add~/Library/Python/2.7/bin/to your$PATHenvironment variable:- Open the
~/.bashrcfile. - Add
PATH="~/Library/Python/2.7/bin:$PATH"at the end of the file.
- Open the
From source (all platforms)
You can also run Karton from source. This is recommended only if you want to modify it.
- Close the repository from the Karton GitHub page.
- Create a symlink somewhere in your
$PATHpointing to thescripts/kartonfile in your clone of the repository.