- Open the Teminal application.
- Type the following:
where YOURPATHTHERE is the directory you want to add.
For example, in order to install the Dart plugin for Sublime Text you need to add the bin directory of the Dart installation, so you'll type:
echo 'export PATH=/Users/joan/dart/dart-sdk/bin:$PATH' >> ~/.bash_profile
- Close the Terminal and reopen. The new Terminal session should now use the new PATH.
Cap comentari:
Publica un comentari a l'entrada