# Getting Started with Hugo

*2024-01-10*

> Learn how to get started with Hugo, the world's fastest static site generator.


Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.

## Installation

Installing Hugo is straightforward. On macOS, you can use Homebrew:

```bash
brew install hugo
```

On Windows, you can use Chocolatey:

```bash
choco install hugo-extended
```

## Creating a New Site

Once Hugo is installed, creating a new site is simple:

```bash
hugo new site my-blog
cd my-blog
```

## Adding Content

Create your first post:

```bash
hugo new posts/my-first-post.md
```

## Running the Development Server

Start the development server with:

```bash
hugo server -D
```

Your site will be available at `http://localhost:1313`.

## Building for Production

When you're ready to publish, build your site:

```bash
hugo
```

The output will be in the `public/` directory.

## Conclusion

Hugo is a powerful and fast static site generator. Give it a try for your next project!

