how to correctly set up $PATH environment variable
<h3>I am installing Yarn. In guide, it asks to set up PATH environment variable.</h3>
<p><a href="https://i.stack.imgur.com/kPMqN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kPMqN.png" alt="enter image description here" /></a></p>
<h3>But in my .profile, it already has rvm PATH.</h3>
<p><a href="https://i.stack.imgur.com/F0Pf4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F0Pf4.png" alt="enter image description here" /></a></p>
<h3>How to set up PATH correctly???</h3>
<ol>
<li><p>Just paste, <code>export PATH=&quot;$PATH:$HOME/.yarn/bin&quot;</code>, at the end of the file???</p>
</li>
<li><p>Change, <code>export PATH=&quot;$PATH:$HOME/.rvm/bin&quot;</code> into <code>export PATH=&quot;$PATH:$HOME/.rvm/bin:$HOME/.yarn/bin&quot;</code>???</p>
</li>
</ol>