Skip to content

aos pkg

Native package manager, one verb set on every OS

7 commands. Run aos pkg --help for the same list from the binary, or see every group.

The native package manager behind one verb set: brew on macOS, winget, scoop or choco on Windows, apt, pacman, yay or dnf on Linux. manager prints which one this machine uses. Some operations ask for elevated rights on Linux.

Install packages

Under WSL / SSH: runs inside WSL (where aos was started). How the host works

Terminal window
aos pkg install <package...>
flag values meaning
<package...> Required positional argument
Terminal window
aos pkg install <package...>

List installed packages

Under WSL / SSH: runs inside WSL (where aos was started). How the host works

Terminal window
aos pkg list
Terminal window
aos pkg list

Print which package manager this machine uses

Under WSL / SSH: runs inside WSL (where aos was started). How the host works

Terminal window
aos pkg manager
Terminal window
aos pkg manager # homebrew

Refresh the package index

Under WSL / SSH: runs inside WSL (where aos was started). How the host works

Terminal window
aos pkg refresh
Terminal window
aos pkg refresh

Remove packages

Under WSL / SSH: runs inside WSL (where aos was started). How the host works

Terminal window
aos pkg remove <package...>
flag values meaning
<package...> Required positional argument
Terminal window
aos pkg remove <package...>

Search for packages

Under WSL / SSH: runs inside WSL (where aos was started). How the host works

Terminal window
aos pkg search <term>
flag values meaning
<term> Required positional argument
Terminal window
aos pkg search <term>

Upgrade installed packages

Under WSL / SSH: runs inside WSL (where aos was started). How the host works

Terminal window
aos pkg upgrade
Terminal window
aos pkg upgrade