-1

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?

sai pavan
  • 27
  • 1
  • 8

4 Answers4

1

Just use the npm command it will automatically update it.

npm install axios

Dharmik Patel
  • 1,041
  • 6
  • 12
0
npm i axios

Should install the latest version by default.

0

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

Pandiyan Cool
  • 6,381
  • 8
  • 51
  • 87
-1

Replace version code inside package.json like "axios": "^0.26.1" and run npm install