You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started/prepare_env.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ tags:
9
9
## Setting Environmental Variables
10
10
---
11
11
12
-
Specify the location for storing your config and keypair by setting the environmental variable `PCHAIN_CLI_HOME`.
12
+
Specify the location of the directory for storing your config and keypair by setting the environmental variable `PCHAIN_CLI_HOME`.
13
13
14
14
Always remember the location that you set, if you forget the location, it means you forget where your keypair is being placed.
15
15
@@ -20,16 +20,19 @@ The following command will set the environmental variable **temporarily**:
20
20
21
21
=== "Linux / macOS"
22
22
```bash
23
-
export PCHAIN_CLI_HOME="<PATH_TO_CONFIG>"
23
+
# For example, "/home/user/pchain_cli_home"
24
+
export PCHAIN_CLI_HOME="<PATH_TO_DIRECTORY>"
24
25
```
25
26
=== "Windows PowerShell"
26
27
```PowerShell
27
-
$Env:PCHAIN_CLI_HOME="<PATH_TO_CONFIG>"
28
+
# For example, "C:\Users\user\pchain_cli_home"
29
+
$Env:PCHAIN_CLI_HOME="<PATH_TO_DIRECTORY>"
28
30
```
29
31
=== "Windows Command Prompt"
30
32
```PowerShell
33
+
# For example, C:\Users\user\pchain_cli_home
31
34
# No parentheses required
32
-
set PCHAIN_CLI_HOME=<PATH_TO_CONFIG>
35
+
set PCHAIN_CLI_HOME=<PATH_TO_DIRECTORY>
33
36
```
34
37
35
38
For convenience reasons, you may alternatively want to set environmental **permanently**. Even in that case, we still suggest you remember the storage location.
@@ -41,11 +44,11 @@ The following command will set the environmental variable **permanently**:
0 commit comments