I faced a lot of issues since I installed the last version of node.js, so I thought that if I delete every thing and start over I can get every thing to work, so I uninstalled angular/CLI
I uninstalled npm npm uninstall -g npm
and removed the npm file and uninstalled node.js, and then I reinstalled the node.js and the angular/CLI then I tried to create a new project using ng new my-app
suddenly I got
'ng' is not recognized as an internal or external command,
operable program or batch file.
I checked if the npm file is created again, and I found it, but it was empty I don't understand what I did wrong