I need to install axios latest version in my project. Currently axios version in package.json mentioned "axios": "^0.19.2",.
How do i upgrade to latest version?
4 Answers
Just use the npm command it will automatically update it.
npm install axios
npm i axios
Should install the latest version by default.
You can try or you can try with specific version as well (npm i axios@0.20.0-0)
npm i axios
And also you can always check for version at here
Replace version code inside package.json like "axios": "^0.26.1" and run npm install