delve icon indicating copy to clipboard operation
delve copied to clipboard

MacOS Brew installation

Open shivan-s opened this issue 3 years ago • 2 comments
trafficstars

Hello all,

Sorry to deviate from the recommended issue format. However, I just want to make a small change to the documentation in regards to macOS installation.

I'm running M1 architecture and I think the best way to install is using brew:

brew install dlv

I think this should be added to the docs (even though it's quite obvious). A reason being is that I tried the way mentioned in the current documentation and it wants to run the Rosetta version, which won't work if you have Go installed for ARM architecture (I think).

Thanks in advance.

shivan-s avatar Jun 21 '22 04:06 shivan-s

We used to mention homebrew but then the old formula became unmaintained and we removed it. We could re-add it now that it is being maintained again, I'm not sure where.

aarzilli avatar Jun 21 '22 06:06 aarzilli

Excellent thanks for your quick response. I wasn't aware of the history!

(Apologies I only had a quick glance at the issues).

Let's see what others think?

shivan-s avatar Jun 21 '22 07:06 shivan-s

Looks like this homebrew formula is being actively maintained still:

==> delve: stable 1.9.1 (bottled)
Debugger for the Go programming language
https://github.com/go-delve/delve
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/delve.rb
License: MIT

I'll add it back to the docs.

derekparker avatar Oct 03 '22 15:10 derekparker