ng is not working on windows 10 and node version 10.16

how to use node version 10.16.3 and ng commod is not working please suggest me npm version and ng command is not working how to install and i am working in visual studio 2019

Using npm you can install packages locally into your own project, or globally for commands which you will run outside a project.

ng is the command line interface for Angular: https://cli.angular.io