# \[SOLVED\] Installing hugo behind company proxy

**URL:** <https://discourse.gohugo.io/t/solved-installing-hugo-behind-company-proxy/13433>\
**Category:** support\
**Created:** [August 8, 2018, 9:23am UTC](https://discourse.gohugo.io/t/solved-installing-hugo-behind-company-proxy/13433 "2018-08-08T09:23:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaartenPetiet](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@MaartenPetiet](https://discourse.gohugo.io/u/MaartenPetiet)\
**Post date:** [August 8, 2018, 9:23am UTC](https://discourse.gohugo.io/t/solved-installing-hugo-behind-company-proxy/13433/1 "2018-08-08T09:23:23Z")

</div>

I’m trying to install Hugo via the [Victor Hugo](https://github.com/netlify/victor-hugo) boilerplate. When I execute npm install on my own laptop it works fine, but on my company laptop via the company proxy it fails with the following error:

```
> hugo-bin@0.16.0 postinstall D:\SOURCES\Netlify.VDW\node_modules\hugo-bin
> del-cli vendor && node lib/install

x unable to get local issuer certificate
x Hugo binary installation failed

```

We can see that the hugo-bin module is trying to download the following file: [https://github.com/spf13/hugo/releases/download/v0.36.1/hugo\_0.36.1\_Windows-64bit.zip](https://github.com/spf13/hugo/releases/download/v0.36.1/hugo_0.36.1_Windows-64bit.zip)

When I try to download this file via my browser, it succeeds. But hugo-bin seems to use the module bin-wrapper which uses the module download which fails.

We’ve tried the following to get it to work, all without success:

1. npm config set strict-ssl false
2. npm config set registry to http protocol of npmjs
3. Using nodejs 8.11.3 and 10.8.0
4. Using hugo-bin 0.29.0 and 0.23.0

How can I get this to work? Thanks.

---

<div class="post-metadata">

**Author:** ![ju52](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ju52/32/6749_2.png) [@ju52](https://discourse.gohugo.io/u/ju52)\
**Post date:** [August 8, 2018, 9:42am UTC](https://discourse.gohugo.io/t/solved-installing-hugo-behind-company-proxy/13433/2 "2018-08-08T09:42:11Z")

</div>

I prefer the direct download via [https://github.com/gohugoio/hugo/releases](https://github.com/gohugoio/hugo/releases)  
The distributions are not up-to-date.

---

<div class="post-metadata">

**Author:** ![MaartenPetiet](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@MaartenPetiet](https://discourse.gohugo.io/u/MaartenPetiet)\
**Post date:** [August 8, 2018, 11:47am UTC](https://discourse.gohugo.io/t/solved-installing-hugo-behind-company-proxy/13433/3 "2018-08-08T11:47:53Z")

</div>

I like this boilerplate because it watches all my js, scss and hugo changes, I’ve created an issue in the hugo-bin repo now.

---

<div class="post-metadata">

**Author:** ![funkydan2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/funkydan2/32/5636_2.png) [@funkydan2](https://discourse.gohugo.io/u/funkydan2)\
**Post date:** [August 8, 2018, 12:03pm UTC](https://discourse.gohugo.io/t/solved-installing-hugo-behind-company-proxy/13433/4 "2018-08-08T12:03:56Z")

</div>

> [@MaartenPetiet](#):
>
> it watches all my js, scss and hugo changes

You may be able to do all this with _hugo pipes_ (available since version 0.43) and therefore use the direct download.

[http://gohugo.io/news/0.43-relnotes/](http://gohugo.io/news/0.43-relnotes/)

---

<div class="post-metadata">

**Author:** ![MaartenPetiet](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@MaartenPetiet](https://discourse.gohugo.io/u/MaartenPetiet)\
**Post date:** [August 8, 2018, 12:23pm UTC](https://discourse.gohugo.io/t/solved-installing-hugo-behind-company-proxy/13433/5 "2018-08-08T12:23:31Z")

</div>

Thanks I will look into that.
