zsh-static
Summary
Section titled “Summary”Installs a statically-linked, hermetic, relocatable Zsh binary from romkatv/zsh-bin — no system dependencies required, runnable without installing to system paths.
Syntax / Usage
Section titled “Syntax / Usage”zi pack"bgn" for romkatv/zsh-binzi pack for romkatv/zsh-binzi pack"rootless" for romkatv/zsh-binAvailable profiles: default, bgn, rootless.
Details
Section titled “Details”- Provides: a static
zshbinary (and relatedzsh*tools). defaultprofile ices:git,depth"1",as"null",nocompile,nocompletions,lucid,atclone"./install -e yes -d /usr/local",atpull"%atclone". Installs to/usr/local— requires write access orsudo.rootlessprofile ices: identical butatclone"./install -e no -d ~/.local". Installs to~/.localwithoutsudo.bgnprofile ices:from"gh-r",bpick"*.tar.gz",as"null",sbin"bin/zsh*",nocompile,nocompletions,lucid,atclone"",atpull"%atclone". Downloads the pre-built release tarball and exposes the binary viasbinshim. Requiresbin-gem-nodeannex,cp,tar.nocompletionsprevents zinit from running completion installation for this entry.
Examples
Section titled “Examples”# Download release binary, bgn shim (no install script)zi pack"bgn" for romkatv/zsh-bin
# Clone and install to ~/.local (no sudo)zi pack"rootless" for romkatv/zsh-binCaveats / Common Mistakes
Section titled “Caveats / Common Mistakes”- The
defaultandrootlessprofiles run the./installscript which may requiresudoor write permissions to the target directory. - The
bgnprofile requires thebin-gem-nodeannex.
See Also
Section titled “See Also”- pkg-zsh — build Zsh from source instead of using a static binary
- pkg-overview — how
zi packworks