<p>I went through the steps listed here: <a href="https://kubernetes.io/docs/setup/production-environment/tools/kops/" rel="nofollow noreferrer">https://kubernetes.io/docs/setup/production-environment/tools/kops/</a></p>
<p>After moving the kops file to /usr/local/bin/ and renaming to kops, I tried to confirm if it was in fact installed and executable by trying 'kops --help' and 'kops --version'/'kops version' and neither command worked. Any idea what the issue might be?</p>
<p>Edit: Here's what I did step by step</p>
<ol>
<li><p>curl -LO https://github.com/kubernetes/kops/releases/download/$(curl -s <a href="https://api.github.com/repos/kubernetes/kops/releases/latest" rel="nofollow noreferrer">https://api.github.com/repos/kubernetes/kops/releases/latest</a> | grep tag_name | cut -d '&quot;' -f 4)/kops-darwin-amd64</p>
</li>
<li><p>sudo chmod +x kops-darwin-amd64</p>
</li>
<li><p>sudo mv kops-darwin-amd64 /usr/local/bin/kops</p>
</li>
</ol>
<p>It's a t2.micro Ubuntu 20.04 EC2 Instance.</p>
<p>Tried to confirm if kops was properly installed and executable by entering 'kops --help' and 'kops --version' and also 'kops version' but they all return this error:</p>
<p><code>-bash: /usr/local/bin/kops: cannot execute binary file: Exec format error</code></p>

codestein
<p>I think its because you are using <code>kops-darwin-amd64</code>. This is for mac. I think you should be using <code>kops-linux-amd64</code> instead for linux.</p>
