Golang equivalent of npm install -g
<p>If I had a compiled Golang program that I wanted to install such that I could run it with a bash command from anywhere on my computer, how would I do that?  For example, in nodejs</p>

<pre><code>npm install -g express
</code></pre>

<p>Installs express such that I can run the command</p>

<pre><code>express myapp
</code></pre>

<p>and express will generate a file directory for a node application called "myapp" in whatever my current directory is.  Is there an equivalent command for go?  I believe now with the "go install" command you have to be in the directory that contains the executable in order to run it</p>

<p>Thanks in advance!</p>