title: Unable to access Node on Mac - command not found
body: <p>I am getting the following response when I try to access node from terminal</p>
  
  <blockquote>
    <p>node:command not found</p>
  </blockquote>
  
  <p>I researched and found that I have to set PATH. I tried the following: </p>
  
  <blockquote>
    <p>export PATH="/usr/local/bin/node:$PATH">> ~/.profile</p>
  </blockquote>
  
  <p>It runs (I assume since the terminal doesn't return anything). But when I echo the path I get the following response</p>
  
  <blockquote>
    <p>export PATH=/usr/local/bin/node:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/arihantjain/NVPACK/android-sdk-macosx/platform-tools:/Users/arihantjain/NVPACK/android-sdk-macosx/tools:/Users/arihantjain/NVPACK/apache-ant-1.8.2/bin</p>
  </blockquote>
  
  <p>Clearly, I think the path isn't getting set. How can I do that? If not, is there a way to change the default installation directory of node. I used the .pkg installer to install Node. </p>