Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.19 KB

readme.md

File metadata and controls

54 lines (42 loc) · 1.19 KB

GitHub License GitHub repo size GitHub Repo stars


GitMan

GitMan is a simple package manager written in Go. It allows you to install packages from a centralized repository using Git.

Usage

To use GitMan, follow these steps:

  1. Install GitMan with:

    curl -sSL https://raw.githubusercontent.com/riviox/GitMan/main/install.sh | bash
    
    • Dependencies:
      • Go
      • Git
        • Install deps with pacman:
          sudo pacman -S go git
          
    • To update GitMan run:
    gitman_update
    
  2. Install a package:

    gitman -S <package_name>

    Replace <package_name> with the name of the package you want to install.

  3. List packages:

    gitman -L
    
  4. Remove package:

    gitman -R <package_name>
    

    Replace <package_name> with the name of the package you want to remove.

Example

# To install 'hellocpp'
gitman -S hellocpp
# To remove 'hellocpp'
gitman -R hellocpp