GitPack is going to go through significant changes in the future. My GitPack projects are and will be compatible.
Simple Git-based package manager.
Wouldn't it be great to install and update your favorite Git projects like this?
gitpack install <url>
And when they are no longer needed, uninstall them that way?
gitpack uninstall <url>
If you are in, then GitPack comes in pretty handy. All you need is a URL of a compatible Git project.
Are you a developer? Do you like the idea stated above? Then keep reading in the Developer section.
Do you want to support this awesome project? Then spread the word!
Global (system) installation:
mkdir -p /tmp/gitpack/ && cd /tmp/gitpack/ && # prepare a temporary directory
git clone https://github.com/dominiksalvet/gitpack.git ./ && # clone repository
git checkout "$(git describe --tags --abbrev=0)" && # use latest version
sudo src/gitpack install github.com/dominiksalvet/gitpack # install GitPack
Local (user) installation:
mkdir -p /tmp/gitpack/ && cd /tmp/gitpack/ && # prepare a temporary directory
git clone https://github.com/dominiksalvet/gitpack.git ./ && # clone repository
git checkout "$(git describe --tags --abbrev=0)" && # use latest version
src/gitpack install github.com/dominiksalvet/gitpack # install GitPack
- Git software
Install or update a Git project:
gitpack install <url>
Uninstall a Git project:
gitpack uninstall <url>
Show status of a Git project:
gitpack status <url>
Your favorite project is not compatible? Then encourage its developers to take a look at the Developer section below.
As demonstrated, GitPack works with either global or local installations based on whether it is run with root permissions.
Why should you use GitPack in your projects?
- Simple by design
- Language-independent
- Runs on Linux, macOS and Windows (WSL)
- Shell environment and Git is all you need
- Global and local installations
- Delta updates
- POSIX-friendly
How? The guide.md file will show you the way. Then users can immediately use GitPack to install your projects.
Not sure? Take a look at .gitpack directory of GitPack itself. It can be that simple.
GitPack projects work best with the following sleek badge:
Markdown:
[![GitPack](https://img.shields.io/badge/-GitPack-571997)](https://github.com/dominiksalvet/gitpack)
If you have any questions, you can find out how to get them answered in support.md file.
Do you want to contribute somehow? Then contributing.md file is here for you.
GitPack is licensed under the MIT License.