# Installation Lune is designed to be used without a build step. You can simply load it from a CDN. ## CDN ::: code-group ```html [esm] ``` ```html [jsdelivr] ``` ```html [unpkg] ``` ::: > [!TIP] Production Tip > For production, it is recommended to pin a specific version number to avoid unexpected breakage from newer versions. > > ```html > > ``` ## Package You can also install Lune via your project's package manager: ::: code-group ```sh [npm] npm install lune-js ``` ```sh [yarn] yarn add lune-js ``` ```sh [pnpm] pnpm add lune-js@latest ``` ```sh [bun] bun add lune-js ``` ```sh [deno] deno add npm:lune-js ``` ::: Then import it in your project: ```js import { createApp } from "lune-js"; createApp().mount(); ``` ## Troubleshooting ### Loading Order Always use `defer` when loading Lune in the `` to ensure the DOM is ready before Lune tries to initialize. If you put the script at the end of ``, `defer` is not strictly necessary but still good practice.