Skip to content

Commit

Permalink
Add installation as a separate header (#3251)
Browse files Browse the repository at this point in the history
Installation was part of quick start and it was not easy to spot.
  • Loading branch information
ashrith-kulai authored and lukastaegert committed Nov 22, 2019
1 parent 4eccc99 commit 3befd40
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/00-introduction.md
Expand Up @@ -6,9 +6,15 @@ title: Introduction

Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. It uses the new standardized format for code modules included in the ES6 revision of JavaScript, instead of previous idiosyncratic solutions such as CommonJS and AMD. ES modules let you freely and seamlessly combine the most useful individual functions from your favorite libraries. This will eventually be possible natively everywhere, but Rollup lets you do it today.

### Installation

```console
npm install --global rollup
```

### Quick start

Install with `npm install --global rollup`. Rollup can be used either through a [command line interface](guide/en/#command-line-reference) with an optional configuration file, or else through its [JavaScript API](guide/en/#javascript-api). Run `rollup --help` to see the available options and parameters.
Rollup can be used either through a [command line interface](guide/en/#command-line-reference) with an optional configuration file, or else through its [JavaScript API](guide/en/#javascript-api). Run `rollup --help` to see the available options and parameters.

> See [rollup-starter-lib](https://github.com/rollup/rollup-starter-lib) and
[rollup-starter-app](https://github.com/rollup/rollup-starter-app) to see
Expand Down

0 comments on commit 3befd40

Please sign in to comment.