A wrapper for various package managers. pkg
is made for those that want a tool
that abstracts all the commonly used commands behind a universal interface.
Heavily inspired by:
As an example, the following steps use a local bin directory.
Clone this repository, then make a symbolic link to pkg
on your $PATH
.
ln -s $HOME/code/pkg/pkg $HOME/.local/bin
Use cURL
to download the tool and save it in your local bin
directory.
curl -o $HOME/.local/bin/pkg -L https://github.com/vednoc/pkg/raw/main/pkg
After installation is complete, make pkg
executable (otherwise you’ll get
“permission denied” error).
chmod +x $HOME/.local/bin/pkg
Type pkg help
in your terminal emulator to get started.
All available commands will be documented in the help option. Also, check out the source code to see the implementation of this tool.
Fork this project, clone the repository, install EditorConfig plugin if necessary, then send over a Pull Request. Keep the changes small and relevant.
Licensed under the MIT license.