2016-02-19 18:32:24 +00:00
# Installation on Linux
Please use the following steps to build and install Delve on Linux.
There are two ways to install on Linux. First is the standard `go get` method:
```
2020-04-06 12:34:22 +00:00
go get github.com/go-delve/delve/cmd/dlv
2016-02-19 18:32:24 +00:00
```
2020-04-06 12:34:22 +00:00
Note: if you are using Go in modules mode you must execute this command outside of a module directory or Delve will be added to your project as a dependency.
2018-03-11 16:31:46 +00:00
Alternatively make sure $GOPATH is set (e.g. as `~/.go` ) and:
2016-02-19 18:32:24 +00:00
```
2019-01-04 18:39:25 +00:00
$ git clone https://github.com/go-delve/delve.git $GOPATH/src/github.com/go-delve/delve
$ cd $GOPATH/src/github.com/go-delve/delve
2016-02-19 18:32:24 +00:00
$ make install
```