diff --git a/pages/download.md b/pages/download.md index d16ccc5..257f35f 100644 --- a/pages/download.md +++ b/pages/download.md @@ -36,10 +36,14 @@ You can also use the slim version: [jQuery 3.1.1 release notes](http://blog.jquery.com/2016/09/22/jquery-3-1-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: +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 npm CLI command: ``` npm install jquery ``` +As an alternative you can use the [Yarn](https://github.com/yarnpkg/yarn) CLI command: +``` +yarn add 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