To make lasting changes to the value of an environment variable:
1. Use your editor to open the .bash_profile file and add the line:
2. Save the file and leave the editor.
3. Enter the command:
This adds the new value to your working environment.