Logo gpm

Package Manager for Go

gpm is a minimalistic package manager for Go that leverages the power of the go get command and the underlying version control systems used by it to set your Go dependencies.

Fork me on Github

Conosola instalaciĆ³n

Pain free package management

gpm is a minimalistic package manager for Go that leverages the power of the go get command and the underlying version control systems used by it to set your Go dependencies to desired versions,thus allowing easily reproducible builds in your Go projects.

Go Package Manager makes no assumptions about your dependencies and supports Git, Bazaar and Mercurial hosted Go packages, for a smoother workflow be sure to ckeck out gvp - the Go Versioning Packager wich provides dependency isolation of your projects.

Install in OS X with Homebrew


    $ brew install gpm
            

Install manually on *nix


    $ git clone https://github.com/pote/gpm.git && cd gpm
    $ git checkout v1.2.1 # You can ignore this part if you want to install HEAD.
    $ ./configure
    $ make install
            

Use directly from GitHub (suggested for CI servers)

As gpm is a bash script you can always use it directly from GitHub via wget or curl, this is particulary useful for CI servers and other automated environments.


    ## With wget
    $ wget -qO- https://raw.githubusercontent.com/pote/gpm/v1.2.1/bin/gpm | bash
            

    ## With cURL
    $ curl -s https://raw.githubusercontent.com/pote/gpm/v1.2.1/bin/gpm | bash
            

NOTE: You can always use the version on master if you like to live dangerously by piping.