Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
how can i set the path?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="cradom" data-source="post: 31819" data-attributes="member: 305283"><p>Depends on which shell you're using.</p><p>For bash, edit your .bashrc file...</p><p></p><p>PATH="/path/to/whatever/you/need<img src="/mac_images/images/smilies/Money-Mouth.png" class="smilie" loading="lazy" alt=":$" title="Money Mouth :$" data-shortname=":$" />{PATH}"</p><p>export PATH</p><p></p><p>For tcsh, edit .tcshrc or .cshrc...</p><p></p><p>set path = ($path /path/to/whatever)</p><p></p><p>If you have neither of these files, create one, in your home directory.</p></blockquote><p></p>
[QUOTE="cradom, post: 31819, member: 305283"] Depends on which shell you're using. For bash, edit your .bashrc file... PATH="/path/to/whatever/you/need:${PATH}" export PATH For tcsh, edit .tcshrc or .cshrc... set path = ($path /path/to/whatever) If you have neither of these files, create one, in your home directory. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
how can i set the path?
Top