Skip to content

vednoc/pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pkg

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:

Installation

As an example, the following steps use a local bin directory.

If you want everything

Clone this repository, then make a symbolic link to pkg on your $PATH.

ln -s $HOME/code/pkg/pkg $HOME/.local/bin

If you only want the tool

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

Make the tool executable

After installation is complete, make pkg executable (otherwise you’ll get “permission denied” error).

chmod +x $HOME/.local/bin/pkg

Usage

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.

Contributing

Fork this project, clone the repository, install EditorConfig plugin if necessary, then send over a Pull Request. Keep the changes small and relevant.

License

Licensed under the MIT license.