Skip to content

Commit ebbd440

Browse files
authored
Update installation.rst (#231)
Use $HOME instead of ~ (tilde) for home directory in PATH environment variable. This can manifest in behavior such as https://community.platformio.org/t/pio-home-cant-find-platformio/25617. See more at https://stackoverflow.com/a/11587382/264970.
1 parent c8148ae commit ebbd440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ If you use Bash as your default shell, you can do it by editing either
234234

235235
.. code-block:: shell
236236
237-
  export PATH=$PATH:~/.platformio/penv/bin
237+
  export PATH=$PATH:$HOME/.platformio/penv/bin
238238
239239
If you use Zsh, you can either edit ``~/.zprofile`` and add the code above, or
240240
for supporting both, Bash and Zsh, you can first edit ``~/.profile`` and add

0 commit comments

Comments
 (0)