--- title: Installation taxonomy: category: docs --- In order to use Select2, you must include the JavaScript and CSS file on your website. You can get these files built for you from many different locations. ## Using Select2 from a CDN Select2 is hosted on both the cdnjs and jsDelivr CDNs, allowing you to quickly include Select2 on your website. ### Include the assets Include the following lines of code in the `` section of your HTML. ``` ``` >>> Immediately following a new release, it takes some time for CDNs to catch up and get the new versions live on the CDN. ### Initialize Select2 Initialize Select2 on the `