2016-02-19 18:32:24 +00:00
# Installation on OSX
Please use the following steps to build and install Delve on OSX.
2016-05-20 18:11:59 +00:00
## Via Homebrew
If you have [HomeBrew ](http://brew.sh/ ) installed, simply run:
```
$ brew install go-delve/delve/delve
```
## Manual install
2016-03-18 16:08:20 +00:00
Ensure you have a proper compilation toolchain.
This should be as simple as:
`xcode-select --install`
2017-04-24 19:45:37 +00:00
Now you can install delve using `go get` :
2016-02-19 18:32:24 +00:00
2017-04-24 19:45:37 +00:00
```
2017-06-19 19:51:16 +00:00
$ go get -u github.com/derekparker/delve/cmd/dlv
2017-04-24 19:45:37 +00:00
```
2016-02-19 18:32:24 +00:00
2017-04-24 19:45:37 +00:00
With this method you will not be able to use delve's native backend.
2016-02-19 18:32:24 +00:00
2017-04-24 19:45:37 +00:00
Alternatively, you can clone the repo and run:
2016-02-19 18:32:24 +00:00
2017-04-24 19:45:37 +00:00
```
$ make install
```
2016-02-19 18:32:24 +00:00
2017-04-24 19:45:37 +00:00
The makefile will take care of creating and installing a self-signed certificate automatically.
2016-02-19 18:32:24 +00:00
2017-04-24 19:45:37 +00:00
Note: If you are using Go 1.5 you must set `GO15VENDOREXPERIMENT=1` before continuing. The `GO15VENDOREXPERIMENT` env var simply opts into the [Go 1.5 Vendor Experiment ](https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo/ ).