intro.mdx
1 --- 2 title: Tutorial Intro 3 description: Discover Docusaurus 4 tags: 5 - Demo 6 - Getting started 7 --- 8 9 # Tutorial Intro 10 11 Let's discover **Docusaurus in less than 5 minutes**. 12 13 ## Getting Started 14 15 Get started by **creating a new site**. 16 17 Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**. 18 19 ### What you'll need 20 21 - [Node.js](https://nodejs.org/en/download/) version 16.14 or above: 22 - When installing Node.js, you are recommended to check all checkboxes related to dependencies. 23 24 ## Generate a new site 25 26 Generate a new Docusaurus site using the **classic template**. 27 28 The classic template will automatically be added to your project after you run the command: 29 30 ```bash 31 npm init docusaurus@latest my-website classic 32 ``` 33 34 You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. 35 36 The command also installs all necessary dependencies you need to run Docusaurus. 37 38 ## Start your site 39 40 Run the development server: 41 42 ```bash 43 cd my-website 44 npm run start 45 ``` 46 47 The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. 48 49 The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. 50 51 Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.