# How to compile hugo from source with extended tag?

**URL:** <https://discourse.gohugo.io/t/how-to-compile-hugo-from-source-with-extended-tag/22065>\
**Category:** support\
**Created:** [November 30, 2019, 6:57am UTC](https://discourse.gohugo.io/t/how-to-compile-hugo-from-source-with-extended-tag/22065 "2019-11-30T06:57:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alups](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/alups/32/9404_2.png) [@alups](https://discourse.gohugo.io/u/alups)\
**Post date:** [November 30, 2019, 6:57am UTC](https://discourse.gohugo.io/t/how-to-compile-hugo-from-source-with-extended-tag/22065/1 "2019-11-30T06:57:05Z")

</div>

Hi, guys,

I just go get install gohugoio/hugo throught [github.com](http://github.com)

my hugo site use sass, according to [https://goo.gl/YMrWcn](https://goo.gl/YMrWcn), I have executed `go install --tags extended`

but still I can not compile hugo support sass, here is my command `go build -o hugo main.go`

$ hugo  
Building sites … WARN 2019/11/30 14:54:39 Markup type mmark is deprecated and will be removed in a future release. See [https://gohugo.io//content-management/formats/#list-of-content-formats](https://gohugo.io//content-management/formats/#list-of-content-formats)  
ERROR 2019/11/30 14:54:39 Transformation failed: TOCSS: failed to transform “sass/main.scss” (text/x-scss): this feature is not available in your current Hugo version, see [https://goo.gl/YMrWcn](https://goo.gl/YMrWcn) for more information  
Total in 2342 ms  
Error: Error building site: logged 1 error(s)

How to compile main.go to support sass?

---

<div class="post-metadata">

**Author:** ![alups](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/alups/32/9404_2.png) [@alups](https://discourse.gohugo.io/u/alups)\
**Post date:** [November 30, 2019, 1:50pm UTC](https://discourse.gohugo.io/t/how-to-compile-hugo-from-source-with-extended-tag/22065/2 "2019-11-30T13:50:36Z")

</div>

Got it, after run go install --tags extended, the extend version hugo will be installed in $GOPATH/bin.

Duplicated question with [Building Hugo from Source with Go Modules](https://discourse.gohugo.io/t/building-hugo-from-source-with-go-modules/19726)

Thanks.

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [November 30, 2019, 6:50pm UTC](https://discourse.gohugo.io/t/how-to-compile-hugo-from-source-with-extended-tag/22065/3 "2019-11-30T18:50:18Z")

</div>


