Command prompt about webpack is not internal or external

  node.js, question

Hello, I have been installing npm, nodejs and webpack according to the environment configuration, and then the specific project should use webpack to indicate that it is not Internal command. Have you solved this problem later? How to solve it?
Ps: I am npm install webpack -g installed globally
The environmental variables are as follows:
User variable: f: nodejsnode _ globalnode _ modules
Path of system variable: percentage SystemRoot percentage system32; Percentage SystemRoot percentage; Percentage SystemRoot percentage System32Wbem; % SYSTEMROOT% System32WindowsPowerShellv1.0; F:Nodejs\

Install webpack in project directory