The "touch" command is either mispelled or could not be found on git command on windows

Solution 1:

I would recommend you to use GitBash to execute this such commands. In git bash commands such "touch", "vim", "nano" etc. should work without having to install them separate.

Otherwise, try to restart your system and check if the npm global directory is in your path environment variable.