Skip to main content
glnc

GETTING STARTED

Install glnc

glnc ships as a single prebuilt binary for macOS and Linux. Pick the path you prefer: Homebrew for the one-line install, the curl script when you want to inspect what runs before it runs, or a from-source build for contributors.

Homebrew

The recommended path on macOS and Linux. Adds the official tap and installs a prebuilt binary. No Bun, no Node, no language runtime on your host.

brew install aryarahimi1/glnc/glnc
==> Tapping aryarahimi1/glnc
==> Downloading glnc-v1.0.9-darwin-arm64.tar.gz
==> Verifying SHA256
==> Installing glnc
/opt/homebrew/Cellar/glnc/1.0.9: 4 files, 8.2MB

Confirm the install:

glnc --version
glnc 1.0.9

curl install script

For Linux distros without Homebrew, or when you prefer to vet what runs. The script picks the right binary for your platform, verifies its SHA256 against the release manifest, and installs it to ~/.local/bin or /usr/local/bin.

curl -fsSL https://glnc.dev/install.sh | bash
glnc installer · v1.0.9
detected linux-x86_64
downloading glnc-v1.0.9-linux-x86_64.tar.gz
verifying SHA256 ............................ ok
installing to /home/you/.local/bin/glnc

Paranoid mode (read the script before it runs):

curl -fsSL https://glnc.dev/install.sh -o install.sh && less install.sh && bash install.sh
(script is ~120 lines of POSIX sh; no obfuscation)

Environment overrides

The install script honours two environment variables:

GLNC_VERSION=v1.0.7 GLNC_INSTALL_DIR=/opt/bin bash install.sh
pinning version v1.0.7
installing to /opt/bin/glnc

Build from source

For contributors. Requires Node 18 or newer, or Bun 1.0 or newer. There is no functional difference between a from-source build and the prebuilt binary, so if you just want to use glnc, prefer Homebrew or the install script.

git clone https://github.com/aryarahimi1/glnc && cd glnc && npm install && npm link
glnc 1.0.9 → /usr/local/bin/glnc

Uninstall

If glnc is not for you, uninstall is symmetric. Homebrew: brew uninstall glnc. curl install: delete the binary from your install dir (the script prints the path it wrote to). State, if any, lives in ~/.glnc/ and can be removed by hand.