Install Kapitan in Ubuntu
$ sudo apt-get update && sudo apt-get install -y python3.8-dev python3-pip python3-yaml
$ pip3 install --user --upgrade kapitan
# kapitan will be installed in $HOME/.local/lib/python3.7/bin
#not recommended
$ sudo pip3 install --upgrade kapitanCode language: PHP (php)
Install Kapitan using Docker Container
# Linux
$ alias kapitan="docker run -t --rm -u $(id -u) -v $(pwd):/src:delegated kapicorp/kapitan"
$ kapitan -h
# Mac
$ alias kapitan="docker run -t --rm -v $(pwd):/src:delegated kapicorp/kapitan"
$ kapitan -h
Code language: PHP (php)
Create Kapitan Project from Scratch
If you want to start off with a clean kapitan project, you can run kapitan init --directory <directory> to populate a new directory with the recommended kapitan folder structure.
The bare minimum structure that makes use of kapitan features may look as follows:
$ kapitan init –directory <directory>

I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services โ all in one place.
Explore Hospitals