Skip to content

Installation

Graft is a lightweight CLI tool written in Go. You can install it on Linux, macOS, and Windows using various package managers or a simple shell script.

The fastest way to install Graft on any Unix-like system is via our installation script:

Terminal window
curl -sSL https://graftdocs.vercel.app/install.sh | sh

Open PowerShell as Administrator and run:

Terminal window
powershell -ExecutionPolicy ByPass -Command "iwr -useb https://graftdocs.vercel.app/install.ps1 | iex"

Terminal window
winget install graft
Terminal window
brew tap skssmd/tap
brew install graft
Terminal window
echo "deb [trusted=yes] https://apt.fury.io/skssmd/ /" | sudo tee /etc/apt/sources.list.d/graft.list
sudo apt update
sudo apt install graft
Terminal window
echo "[graft]
name=Graft Repository
baseurl=https://yum.fury.io/skssmd/
enabled=1
gpgcheck=0" | sudo tee /etc/yum.repos.d/graft.repo
sudo yum install graft
Terminal window
sudo snap install graft --classic
Terminal window
yay -S graft-bin
# or
paru -S graft-bin

If you have Go installed, you can build Graft from source:

Terminal window
git clone https://github.com/skssmd/Graft
cd Graft
go build -o graft cmd/graft/main.go

Requirements: Go 1.24+, SSH access to a Linux server (Docker is installed automatically on the host during graft init).