How to install jQuery
You can download the latest version of jQuery from the GitHub releases or use a jQuery CDN.
The following CDNs also host compressed and uncompressed versions of jQuery releases. Starting with jQuery 1.9 they may also host sourcemap files.
Cloning a repository
You can clone a repository from GitHub.com to your local computer.
Cloning with HTTPS URLs
git clone https://github.com/jquery/jquery.git
Cloning with SSH URLs
git clone [email protected]:jquery/jquery.git
Cloning with GitHub CLI
gh repo clone jquery/jquery
Install via NPM package
Run the following command to locally install the package and its dependencies with NPM.
Downloading and installing packages locally
npm i jquery
npm install jquery
yarn add jquery
Downloading and installing packages globally
npm i -g jquery
yarn global add jquery
Install Specific Version of a Package
npm install [email protected]
yarn add [email protected]
bower install jquery
- checkLightweight Footprint - Only 30kB minified and gzipped. Can also be included as an AMD module.
- checkCSS3 Compliant - Supports CSS3 selectors to find elements as well as in style property manipulation.
- checkCross-Browser - Chrome, Edge, Firefox, IE, Safari, Android, iOS, and more.