WSL2 terminal does not recognize Visual Studio Code
Sep 09, 2019 · When I try to execute code from WSL, like this: cmd.exe wsl code . I get the following error: /bin/bash: code: command not found However, if I execute the same command but first run cmd.exe as an Administrator, vscode opens as expected. The question is why "code" is not recognizable when I run as non-admin, and how can I solve it?
DA: 50 PA: 31 MOZ Rank: 51