Skip to content
This repository was archived by the owner on Sep 13, 2026. It is now read-only.

Repository files navigation

Important

This project is archived. It is no longer maintained and will not receive updates. The code stays available and works as documented.

pkgline — Install developer tools from Git

Pkgline

A tool for downloading and building executables from Git repositories into the user's local directory.

Documentation OS Matrix

Features

  • Installs binaries to ~/.pkgline/bin (add it to your PATH).
  • Resolves GitHub / GitLab / Codeberg / Sourcehut shorthand (gh:, gl:, cb:, sh:) and full Git URLs.
  • Native builds for Go, Rust, Zig, Node, cbld/C/C++, Make, and CMake; custom install.sh scripts as fallback.
  • Backup binaries (.bak) with rollback after updates.
  • Global binary cache at ~/.pkgline/cache/prebuilt/<hash>/<bin> — identical OS+arch+commit builds are restored without recompiling.
  • Pkglinefile + pkgline bootstrap for reproducible toolchains, pkgline search for discoverability.

Quick Start

Installation

curl -fsSL https://pkgline.pages.dev/install.sh | sh

Windows:

Invoke-Expression (Invoke-WebRequest -Uri "https://pkgline.pages.dev/install.ps1" -UseBasicParsing).Content

Usage

pkgline install gh:user/repository
pkgline install --lang go --exec mytool gh:user/repository
pkgline bootstrap              # install all from Pkglinefile
pkgline list
pkgline remove package_name
pkgline sync
pkgline update package_name
pkgline rollback package_name
pkgline doctor
pkgline completion bash

Documentation

https://pkgline.pages.dev

License

MIT

About

A tool for downloading and building executables from Git repositories into the user's local directory.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages