- 标准方法安装
$ go get github.com/go-delve/delve/cmd/dlv
- 源码方式安装
$ export GOPATH=~/.go
$ git clone https://github.com/go-delve/delve.git $GOPATH/src/github.com/go-delve/delve
$ cd $GOPATH/src/github.com/go-delve/delve
$ make install
2021-12-28 05:39:59
$ go get github.com/go-delve/delve/cmd/dlv
$ export GOPATH=~/.go
$ git clone https://github.com/go-delve/delve.git $GOPATH/src/github.com/go-delve/delve
$ cd $GOPATH/src/github.com/go-delve/delve
$ make install