---
name: "dep"
section: "1"
platform: "linux"
package: "go-dep"
version: "0.5.1+really0.5.0-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/dep"
---

# dep(1)

manual page for dep

## NAME

dep: - manual page for dep

## SYNOPSIS

**dep** *\<command\>*

## DESCRIPTION

dep is a tool for managing dependencies for Go projects

Commands:

- init

  Initialize a new project with manifest and lock files

- status

  Report the status of the project's dependencies

- ensure

  Ensure a dependency is safely vendored in the project

- prune

  Prune the vendor tree of unused packages

- version

  Show the dep version information

## EXAMPLES

- dep init

  set up a new project

- dep ensure

  install the project's dependencies

- dep ensure -update

  update the locked versions of all dependencies

- dep ensure -add github.com/pkg/errors

  add a dependency to the project

Use "dep help \[command\]" for more information about a command.

dep is a tool for managing dependencies for Go projects

Usage: dep \<command\>

Commands:

- init

  Initialize a new project with manifest and lock files

- status

  Report the status of the project's dependencies

- ensure

  Ensure a dependency is safely vendored in the project

- prune

  Prune the vendor tree of unused packages

- version

  Show the dep version information

- dep init

  set up a new project

- dep ensure

  install the project's dependencies

- dep ensure -update

  update the locked versions of all dependencies

- dep ensure -add github.com/pkg/errors

  add a dependency to the project

Use "dep help \[command\]" for more information about a command.
