So I installed typescript globally for the first time in my E drive by creating new folder through CMD with npm i -g typescript command. And I got tsc(file), tscserver(file) & typescript(folder) in my C:\Users\SHUBHAM\.npm-global directory. So only under this directory tsc -v this command works and not in any folder of E or D drive.
So at this point I'm not understanding although being installing typescript globally I'm getting error of
'tsc' is not recognized as an internal or external command, operable program or batch file.
I did try available solution for above error but no success. Any solutions over this problem are highly appreciated. Thank you!