After a months-long interruption of a web development project with WSL2 (VS code), I refreshed all the tools with *npm i -g npm-check-updates, ncu -u, npm install* I got the version @angular/core@"~15.0.4. But due to an incompatibility with the latest version of another tool, I wanted to go back to the v14: *ng update @angular/core@14 @angular/cli@14* Unfortunately, since then, every time I try to run ng something (serve, version…), an unusable text editor opens in the terminal with a white footing banner : « ---Mg: scratch (fundamental)----All----------------- », and a button « ng-latin » on the side, which shows « shell integration activated » on click. I then followed this advice from https://www.declarecode.com/code-solutions/shell/mg-scratch-fundamental-all: sudo apt remove mg ng-common Launching ng..., the following message was displayed in the console: Command 'ng' not found, but can be installed with: sudo apt install ng-common But then I always fall back on the text editor with « ---Mg: scratch [or serve] (fundamental)----All----------------- » Besides, I don't understand why it’s not possible to upgrade Angular by skipping major versions, as I did by mistake. But perhaps I see the consequence through this blockage. I can't use the command ng anymore with WSL2. How can I get out of this trap ? Continue reading...