--- sidebar_position: 1 --- # Installation ## Prerequisites Ensure you have the following installed: - [Node.js](https://nodejs.org/) (version 16 or later recommended) - npm or Yarn package manager - Git (optional, but recommended) ## Step 1: Create a New Docusaurus Project Run the following command to create a new Docusaurus site: ```sh npx create-docusaurus@latest my-docs-site classic ``` :::note The `my-docs-site` in the commands can be replaced with your preferred project name. Make sure to use the same name consistently throughout the setup process. ::: ## Step 2: Navigate to Your Project Folder Once the Docusaurus project has been created, navigate to your project directory using the following command: ```sh cd my-docs-site ``` ## Step 3: Start the Development Server Start the development server to preview your site locally. Run the following command: ```sh npm start ``` Once the development server starts, your site will be available at [http://localhost:3000](http://localhost:3000). Open this URL in your browser to view your site.