From 23a77eab01e78691d7616e16098f9f08e76541de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski?= Date: Wed, 9 Mar 2016 11:55:24 +0100 Subject: [PATCH] Download: Add a "Downloading jQuery using npm" section Fixes #122 Closes #123 --- pages/download.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pages/download.md b/pages/download.md index bf085a9..0fd8acc 100644 --- a/pages/download.md +++ b/pages/download.md @@ -49,8 +49,15 @@ Please read the [2.0 release notes](http://blog.jquery.com/2013/04/18/jquery-2-0 [jQuery 2.2.1 release notes](http://blog.jquery.com/2016/02/22/jquery-1-12-1-and-2-2-1-released/) +## Downloading jQuery using npm +jQuery is registered as [a package](https://www.npmjs.com/package/jquery) on [npm](https://www.npmjs.com/). You can install the latest version of jQuery with the command: +``` +npm install jquery +``` +This will install jQuery in the `node_modules` directory. Within `node_modules/jquery/dist/` you will find an uncompressed release, a compressed release, and a map file. + ## Downloading jQuery using Bower -jQuery is registered as a package with [Bower](http://bower.io). You can install the latest version of jQuery with the command: +jQuery is also registered as a package with [Bower](http://bower.io). You can install the latest version of jQuery with the command: ``` bower install jquery ```