Overview
Pkgline is a user-space package manager for Linux and macOS. It installs developer tools directly from git repositories without needing sudo.
Why Pkgline?
- No sudo: Binaries go into
~/.pkgline/bin(add it to yourPATH). - Git-first: Clone from forge shorthand (
gh:,gl:,cb:,sh:), full Git URLs, or local directories. - Native builds: Go, Rust, cbld/C/C++, Make, and CMake. Make/CMake can be inferred from
Makefile/CMakeLists.txtwhenlanguageis omitted. - Script fallback: Repos can ship
install.sh/uninstall.shhooks inpkgline.toml.
Architecture
mermaid
graph TD
A[Git remotes] -->|clone| B(Pkgline)
B -->|read pkgline.toml| C{Build type}
C -->|go / rust / cbld / make / cmake| D[Compile]
C -->|install.sh| E[Script hook]
D --> F[~/.pkgline/bin]
E --> F