netlify / netlifyctl

MIT License
176 stars 34 forks source link

Install instructions for WSL #137

Closed spences10 closed 6 years ago

spences10 commented 6 years ago

You have kindly provided install instructions for a lot of platforms, thank you 🙏

I know this is more a 'how to use Linux thing' rather than your responsibility but thought I'd ask here as you have so kindly given instructions on how to use for most other platforms.

How do you install the Linux binary on Windows Subsystem Linux?

calavera commented 6 years ago

Hi @spences10,

WSL behaves as any other Linux distro. Open your Ubuntu terminal, or the distro you have installed, and follow the instructions for Linux in our README: https://github.com/netlify/netlifyctl#direct-binary-install-linux-mac-windows

spences10 commented 6 years ago

Thanks for the reply @calavera

I'm still not clear on what to do, when it says download directly it will download on the windows machine.

How do I extract it?

spences10 commented 6 years ago

Ok, so here are the steps I used to install in WSL:

# navigate to download location of .tar.gz
sudo mv netlifyctl-linux-amd64-0.4.0.tar.gz /usr/local/bin/netlifyctl-linux-amd64-0.4.0.tar.gz
sudo tar zxf netlifyctl-linux-amd64-0.4.0.tar.gz

This worked and I can now use netlifyctl -h the thing is now I can't authenticate via WSL, it doesn't pop open the browser auth window.

amanda62 commented 4 years ago

I'm having the same issue