title: How to run vs code from mac terminal?
body: <p>I know I can open vs code from terminal by using command palette in vs code.</p>
  
  <p><a href="https://code.visualstudio.com/docs/setup/mac" rel="nofollow noreferrer">https://code.visualstudio.com/docs/setup/mac</a></p>
  
  <p>I have followed upper link's suggestion to install shell command. 
  It did work for the first time.</p>
  
  <p>But whenever I restart my computer or shut down the terminal and restart the terminal "code" command does not work.</p>
  
  <p>it says</p>
  
  <pre><code>-bash: code: command not found
  </code></pre>
  
  <p>Is there any way I can fix this?
  Or can I make an alias in .bash_profile to use "code" command to open vs code from terminal?</p>