axios

(β˜… 109,196)

Promise based HTTP client for the browser and node.js

  • .gitignore
  • .npmrc
  • .prettierignore
  • .prettierrc
  • AGENTS.md
  • CHANGELOG.md
  • CLAUDE.md
  • CODE_OF_CONDUCT.md
  • COLLABORATOR_GUIDE.md
  • CONTRIBUTING.md
  • CONTRIBUTORS.md
  • ECOSYSTEM.md
  • eslint.config.js
  • gulpfile.js
  • index.d.cts
  • index.d.ts
  • index.js
  • LICENSE
  • MIGRATION_GUIDE.md
  • package-lock.json
  • package.json
  • PRE_RELEASE_CHANGELOG.md
  • PRE_RELEASE_DOCS.md
  • README.md
  • rollup.config.js
  • SECURITY.md
  • THREATMODEL.md
  • tsconfig.json
  • tslint.json
  • vitest.config.js
  • webpack.config.js

# Installation Guide

1. Get the code
git clone https://github.com/axios/axios

Downloads the entire project code from GitHub to your computer.

cd axios

Moves into the project folder you just downloaded.

2. Node.js

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
$ npm install axios

Downloads and installs the libraries listed in package.json.

$ yarn add axios

Type this command into your terminal and run it.

$ pnpm add axios

Type this command into your terminal and run it.

<script src="https://cdn.jsdelivr.net/npm/axios@1.13.2/dist/axios.min.js"></script>

Type this command into your terminal and run it.

npm ci

Type this command into your terminal and run it.

βœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

// repository documentation