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?
Asked
Active
Viewed 3,057 times
-1
sai pavan
- 27
- 1
- 8
-
1I think you can run `npm i axios@latest` – evolutionxbox Mar 23 '22 at 08:35
4 Answers
1
Just use the npm command it will automatically update it.
npm install axios
Dharmik Patel
- 1,041
- 6
- 12
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
Parth Virani
- 34
- 2