When being launched from desktop/System menu/Toolbox, WebStorm only sees environment variables configured in login shell, but not in interactive shell configuration files (like .bashrc
or .zshrc
), so the environment (including $PATH
) is different from the one you have in terminal. Possible solutions:
- Workaround 1: make required variables available in a login shell by moving them to the corresponding shell profile config
- Workaround 2: run IDE from a terminal to make it inherit terminal environment
see also IDEABKL-7589
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…