wharfy 0.15.0 — a no-sudo install, and one for Windows
What’s new
Two changes to the no-package-manager install path (the script channel):
# macOS / Linux — installs to ~/.local/bin, no sudo
curl -fsSL https://github.com/…/releases/latest/download/install.sh | sh
# Windows — installs to %LOCALAPPDATA%\<app>\bin, no admin
irm https://github.com/…/releases/latest/download/install.ps1 | iex
| Before | After | |
|---|---|---|
| macOS / Linux | /usr/local — needs sudo |
~/.local — per-user, no sudo |
| Windows | no script installer | install.ps1 → %LOCALAPPDATA% |
Why per-user
curl \| sh is meant to be the frictionless default, but /usr/local is root-owned on a stock macOS (and on Linux without sudo), so the install failed with a permission error right where it was supposed to just work. Per-user ~/.local/bin needs no elevation.
Override with PREFIX=/usr/local (or $env:WHARFY_PREFIX on Windows) for a system-wide install. If the target directory isn’t on PATH, the script says so and prints the line to add.
Windows gets the same path
Until now Windows had scoop or go install and no prereq-free option. install.ps1 is the PowerShell sibling of install.sh: it detects the CPU, downloads the matching build, and drops the binary in %LOCALAPPDATA%\<app>\bin — no package manager, no admin. release ships it to the same GitHub Release, next to install.sh.
Getting it
brew upgrade wharfy / scoop update wharfy / go install github.com/ShiroDoromoto/wharfy/cmd/wharfy@latest. On Linux, from the apt / yum repo.