Chart.js can be installed via npm or bower. It is recommended to get Chart.js this way.
npm install chart.js --save
bower install chart.js --save
Chart.js built files are available on CDNJS:
Chart.js built files are also available through jsDelivr:
You can download the latest version of Chart.js on GitHub.
If you download or clone the repository, you must build 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.
Selecting the Correct Build
Chart.js provides two different builds that are available for your use.
This version only includes Chart.js. If this version is used and you require the use of the time axis, Moment.js will need to be included before Chart.js.
The bundled version includes Moment.js built into the same file. This version should be used if you wish to use time axes and want a single file to include. Do not use this build if your application already includes Moment.js. If you do, Moment.js will be included twice, increasing the page load time and potentially introducing version issues.