Skip to content

Commit

Permalink
readme: Fix build command
Browse files Browse the repository at this point in the history
  • Loading branch information
kirisakow committed Apr 9, 2023
1 parent f1e8f01 commit d01731d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -82,10 +82,10 @@ To fetch, build and install from the Github source:
go install github.com/gohugoio/hugo@latest
```

If you want to compile with Sass/SCSS support use `--tags extended` and make sure `CGO_ENABLED=1` is set in your go environment. If you don't want to have CGO enabled, you may use the following command to temporarily enable CGO only for hugo compilation:
If you want to compile with Sass/SCSS support use `-tags extended` and make sure `CGO_ENABLED=1` is set in your go environment. If you don't want to have CGO enabled, you may use the following command to temporarily enable CGO only for hugo compilation:

```bash
CGO_ENABLED=1 go install --tags extended github.com/gohugoio/hugo@latest
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
```

## The Hugo Documentation
Expand Down

0 comments on commit d01731d

Please sign in to comment.