Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

WSL2 - How to use apps installed on root while logged into another user

$
0
0

Basically, on my root user in WSL2 I have a /.vscode directory and a /.docker directory for those respective applications. this allows me to type in the "code ." command and open a folder in vscode using the vscode server extension.

I am now trying to do this within a different user to attempt to get into good habits of avoiding downloading third party software in the root directory, but am given the error:

"Command 'code' not found"

I was curious if there was a way to utilize the applications from my root directory, or if there was a different way I should be looking at this. Should I uninstall those applications from root and try to keep things in the user's folder?


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>