Project

General

Profile

System\Environment Variables » History » Version 1

Sergey Smolov, 10/23/2019 11:07 AM

1 1 Sergey Smolov
h1. System\Environment Variables
2
3
To set system\environment variable in your OS, do the following (substitute NAME and VALUE by the name and value of your environment variable respectively):
4
5
h3. Windows
6
7
# Open the @System Properties@ window.
8
# Switch to the @Advanced@ tab.
9
# Click on Environment Variables.
10
# Click @New...@ under @System Variables@.
11
# In the @New System Variable@ dialog specify variable name as @NAME@ and variable value as @VALUE@.
12
# Click @OK@ on all open windows.
13
# Reopen the command prompt window.
14
15
h3. Linux
16
17
Add the command below to the @~/.bash_profile@ or @~/.bashrc@ file (Linux):
18
<pre>export NAME=VALUE</pre> 
19
Changes will be applied after restarting the command-line terminal or reboot. You can also execute the command in your command-line terminal to make temporary changes.