/gopm

Go Package Manager (gopm) is a package manager and build tool for Go.

Primary LanguageGoApache License 2.0Apache-2.0

Go Package Manager Build Status Gopm Download

Gopm (Go Package Manager) is a Go package manage and build tool for Go.

News Try out gopm.io, the online version caching and package download service for Go.

Please see Documentation before you start.

Requirements

  • Go development environment: >= go1.2

Installation

We use gobuild to do online cross-platform compiling work. You can see the full available binary list here.

Install from source code

go get -u github.com/gpmgo/gopm

The executable will be produced under $GOPATH/bin in your file system; for global use purpose, we recommend you to add this path into your PATH environment variable.

Features

  • No requirement for installing any version control system tool like git or hg in order to download packages.
  • Download, install or build your packages with specific revisions.
  • When building programs with gopm build or gopm install, everything just happens in its own GOPATH and does not bother anything you've done (unless you told it to).
  • Can put your Go projects anywhere you want (through .gopmfile).

Commands

NAME:
   Gopm - Go Package Manager

USAGE:
   Gopm [global options] command [command options] [arguments...]

COMMANDS:
   list		list all dependencies of current project
   gen		generate a gopmfile for current Go project
   get		fetch remote package(s) and dependencies
   bin		download and link dependencies and build binary
   config	configure gopm settings
   run		link dependencies and go run
   test		link dependencies and go test
   build	link dependencies and go build
   install	link dependencies and go install
   clean	clean all temporary files
   update	check and update gopm resources including itself
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --noterm, -n		disable color output
   --strict, -s		strict mode
   --debug, -d		debug mode
   --help, -h		show help
   --version, -v	print the version

License

This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.