Skip to content

Commit 473d961

Browse files
authored
[docs] Added a tip to explain how to permanently add environment variables (#22838)
Fixes: #20471
1 parent 10f1a2c commit 473d961

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

site/source/docs/getting_started/downloads.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ GitHub and set them as :term:`active <Active Tool/SDK>`:
5252
# Activate PATH and other environment variables in the current terminal
5353
source ./emsdk_env.sh
5454

55+
.. tip:: If you want to avoid executing `source ./emsdk_env.sh` every time you open a new terminal you can follow the intstructions given by the `emsdk activate` command above to add this command to your startup scripts.
56+
5557
.. note:: On Windows, run ``emsdk.bat`` instead of ``./emsdk``, and ``emsdk_env.bat`` instead of ``source ./emsdk_env.sh``.
5658

5759
.. note:: On Windows, if you use the ``activate`` command, the step of ``emsdk_env.bat`` is optional. If you want to know more, see :ref:`activate SDK version <emsdk-set-active-tools>`.

0 commit comments

Comments
 (0)