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

Why one tab of my shell finds the executable and the other does not?

$
0
0

I'm using bash on ubuntu 20.04 in wsl2 with 2 tabs. In the first tab I have downloaded angular cli and I can invoke angular cli commands normally (ng version), but in the second tab, it doesn't find the executable and it prints an error suggesting to download another package ( as if angular cli isnt installed ).

Command 'ng' not found, but can be installed with:sudo apt install ng-common

Can anyone explain me why this is happening since it happens with other prgrams? How bash works? (Acesses, profiles)


Viewing all articles
Browse latest Browse all 2817

Trending Articles



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