Skip to content

Installation

Platform Method Command
macOS / Linux Homebrew brew tap ops4life/awsp && brew trust ops4life/awsp && brew install awsp
macOS / Linux / WSL install script curl -fsSL https://raw.githubusercontent.com/ops4life/awsp/main/install.sh \| sh
Windows (PowerShell) install script irm https://raw.githubusercontent.com/ops4life/awsp/main/install.ps1 \| iex
Windows Chocolatey choco install awsp --params "/Profile"
Debian / Ubuntu .deb from Releases sudo dpkg -i awsp_<version>_all.deb
Any from source git clone https://github.com/ops4life/awsp.git && cd awsp && make install

Recent Homebrew versions refuse to load formulae from a tap you have not trusted, so the install needs the brew trust step. If your Homebrew has no brew trust command, skip it.

awsp is a shell function, so a package can only install the files — your shell must source them. After installing, add the matching line to ~/.bashrc / ~/.zshrc (the install script and make install do this for you):

# Homebrew
[ -f "$(brew --prefix)/share/awsp/awsp.sh" ] && . "$(brew --prefix)/share/awsp/awsp.sh"
# .deb
[ -f /usr/share/awsp/awsp.sh ] && . /usr/share/awsp/awsp.sh

Upgrade with the same tool you installed with (brew upgrade awsp, re-run the install script, or install the newer .deb). On Windows, use the PowerShell installer above (WSL and Git Bash use the POSIX install script). The Chocolatey package leaves your profile alone unless you pass /Profile (it then edits the all-users PowerShell profiles); otherwise add . "$env:ChocolateyInstall\lib\awsp\tools\awsp.ps1" to your $PROFILE. If PowerShell blocks your profile, run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once. Uninstall with $env:AWSP_UNINSTALL=1; irm https://raw.githubusercontent.com/ops4life/awsp/main/install.ps1 | iex.

Plugin managers (zsh)
# zinit
zinit ice pick"bin/awsp.sh"
zinit light ops4life/awsp

# antidote (~/.zsh_plugins.txt)
ops4life/awsp path:bin/awsp.sh kind:source

# oh-my-zsh
git clone https://github.com/ops4life/awsp ~/.oh-my-zsh/custom/plugins/awsp
echo 'source ~/.oh-my-zsh/custom/plugins/awsp/bin/awsp.sh' >> ~/.zshrc