Skip to main content

Cloning and building

Build prerequisitesโ€‹

You need to have the following tools installed on your computer

Unix/Linuxโ€‹

Debian based distributions (Debian / Ubuntu / Linux Mint / elementary OS)โ€‹

In your terminal

sudo apt-get install -y golang-go build-essential git

Enterprise based distributions (Red Hatยฎ / CentOS / CloudLinux / Fedora)โ€‹

In your terminal

sudo yum install -y golang git

Windowsโ€‹

Installing Gitโ€‹

  1. Open Git Downloads page
  2. Download the Windows Installer(.exe)
  3. Run the downloaded Git-v.exe Installer

Installing Goโ€‹

  1. Open Go Downloads page
  2. Download the Windows Installer(.msi)
  3. Run the downloaded MSI Installer

Mac OS Xโ€‹

In your terminal

/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install git
brew install go

Getting the sourceโ€‹

In your terminal

# Clone kwatch repository
git clone https://github.com/abahmed/kwatch

Build kwatchโ€‹

In your terminal

go build