<p>On Macbook Pro, tried installing from binary with curl and then with brew.</p>

<p>Both installs generate an error at the end of output:</p>

<pre><code>~ via 🐘 v7.1.23
➜ kubectl version --output=yaml
clientVersion:
  buildDate: "2019-04-19T22:12:47Z"
  compiler: gc
  gitCommit: b7394102d6ef778017f2ca4046abbaa23b88c290
  gitTreeState: clean
  gitVersion: v1.14.1
  goVersion: go1.12.4
  major: "1"
  minor: "14"
  platform: darwin/amd64

error: unable to parse the server version: invalid character '&lt;' looking for beginning of value
</code></pre>

<p>Is there a way to fix this?</p>

<p>I think there is another application listening on 8080 port. By default, <code>kubectl</code> will try to connect on localhost:8080 if no <code>server</code> is passed.</p>

<p>If you have deployed kubernetes <code>apiserver</code> on some other machine or port, pass <code>--server=IP:PORT</code> to <code>kubectl</code>. </p>
