mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
* Update docs * Minor fixes * Replace screenshots with live demos * Replace the last screenshot with a live demo * Bring back images * Bring back images #2 * Remove unnecessary files * Apply suggestions from code review Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com> * Very last tiny fixes Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
37 lines
1.5 KiB
Markdown
37 lines
1.5 KiB
Markdown
# Installation
|
|
|
|
## npm
|
|
|
|
[](https://npmjs.com/package/chart.js)
|
|
[](https://npmjs.com/package/chart.js)
|
|
|
|
```sh
|
|
npm install chart.js
|
|
```
|
|
|
|
## CDN
|
|
|
|
### CDNJS
|
|
|
|
[](https://cdnjs.com/libraries/Chart.js)
|
|
|
|
Chart.js built files are available on [CDNJS](https://cdnjs.com/):
|
|
|
|
<https://cdnjs.com/libraries/Chart.js>
|
|
|
|
### jsDelivr
|
|
|
|
[](https://cdn.jsdelivr.net/npm/chart.js@latest/dist/) [](https://www.jsdelivr.com/package/npm/chart.js)
|
|
|
|
Chart.js built files are also available through [jsDelivr](https://www.jsdelivr.com/):
|
|
|
|
<https://www.jsdelivr.com/package/npm/chart.js?path=dist>
|
|
|
|
## GitHub
|
|
|
|
[](https://github.com/chartjs/Chart.js/releases/latest)
|
|
|
|
You can download the latest version of [Chart.js on GitHub](https://github.com/chartjs/Chart.js/releases/latest).
|
|
|
|
If you download or clone the repository, you must [build](../developers/contributing.md#building-and-testing) Chart.js to generate the dist files. Chart.js no longer comes with prebuilt release versions, so an alternative option to downloading the repo is **strongly** advised.
|