I already installed the ionic and cordova but its giving error that ionic command not found, i already remove the ionic and cordova and install again but still facing same issue.
i already tried to remove the node but still facing same issue, could any one please help me for resolving the issue.
MACPRO21:bin jitendra.naithani$ npm install -g ionic
npm WARN deprecated email@example.com: The Ionic CLI now uses @ionic/cli for its package name! https://twitter.com/ionicframework/status/1223268498362851330
npm WARN deprecated firstname.lastname@example.org: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
/usr/local/bin/bin/ionic -> /usr/local/bin/lib/node_modules/ionic/bin/ionic
updated 1 package in 11.832s
MACPRO21:bin jitendra.naithani$ ionic info
-bash: ionic: command not found