title: How to update Go's Delve Debugger?
body: <p>How does one update their Go Delve Debugger? I"m receiving the following error when I try to set the api version:</p>
  
  <p><code>unknown flag: --api-version</code></p>
  
  <p>My <code>dlv</code> looks out of date:</p>
  
  <pre><code>$dlv version
  Delve Debugger
  Version: 0.11.0-alpha
  Build: 
  </code></pre>
  
  <p>But I can't figure out how to upgrade it. I've tried <code>go get -u github.com/go-delve/delve/cmd/dlv</code> and <code>go get -u github.com/derekparker/delve/cmd/dlv</code>, but neither worked. I also tried the suggestion to <code>make install</code>:</p>
  
  <pre><code>$ 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
  </code></pre>
  
  <p>But that appears to have no effect:</p>
  
  <pre><code>$ dlv version
  Delve Debugger
  Version: 0.11.0-alpha
  Build:
  </code></pre>
  
  <p>My go version is <code>go version go1.10.1 linux/amd64</code> and my OS details are below:</p>
  
  <pre><code>$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Debian
  Description:    Debian GNU/Linux 8.11 (jessie)
  Release:    8.11
  Codename:   jessie
  </code></pre>
  
  <p>This is copied from <a href="https://github.com/go-delve/delve/issues/1512" rel="nofollow noreferrer">the issue</a> I opened. I thought I'd cross post for greater visibility.</p>