Installation
Skern ships pre-built binaries for macOS, Linux, and Windows. Pick the section that matches your operating system.
The full canonical install guide lives at INSTALL.md in the repo — including custom install paths, manual install, and uninstall instructions. This page covers the most common paths.
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/devrimcavusoglu/skern/main/scripts/install.sh | bashThe installer detects amd64/arm64, downloads the matching tarball, verifies its SHA-256 against the release's checksums.txt, and installs to ~/.local/bin/skern by default.
Windows (PowerShell)
irm https://raw.githubusercontent.com/devrimcavusoglu/skern/main/scripts/install.ps1 | iexInstalls to %LOCALAPPDATA%\skern\bin\skern.exe. If your PowerShell execution policy blocks the script:
powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/devrimcavusoglu/skern/main/scripts/install.ps1 | iex"Pin a Version
Set SKERN_VERSION before running the installer:
SKERN_VERSION=v0.3.1 curl -fsSL https://raw.githubusercontent.com/devrimcavusoglu/skern/main/scripts/install.sh | bash$env:SKERN_VERSION = 'v0.3.1'; irm https://raw.githubusercontent.com/devrimcavusoglu/skern/main/scripts/install.ps1 | iexCustom Install Directory
Both installers honor SKERN_INSTALL_DIR:
SKERN_INSTALL_DIR=/usr/local/bin curl -fsSL https://raw.githubusercontent.com/devrimcavusoglu/skern/main/scripts/install.sh | bashFrom Source (Go 1.25+)
go install github.com/devrimcavusoglu/skern/cmd/skern@latestWhen built this way, version info falls back to runtime/debug.ReadBuildInfo since ldflags aren't injected.
Build Locally
git clone https://github.com/devrimcavusoglu/skern.git
cd skern
make buildThe binary is placed at the repository root as skern. Move it onto your PATH to use it globally.
Manual Install
Download the archive for your platform from the releases page and extract the binary. Archive naming:
skern_<version>_darwin_<arch>.tar.gzskern_<version>_linux_<arch>.tar.gzskern_<version>_windows_<arch>.zip
<arch> is amd64 or arm64. Each release also publishes checksums.txt with SHA-256 sums.
Verify Installation
skern --versionIf the command is not found, the install directory is not yet on your PATH. The shell installer prints PATH instructions for your shell at the end — follow those, then open a new shell.
Uninstall
Delete the binary at the install location. The installer does not modify any other files.
