Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install issue #83

Closed
mariuszkopowski opened this issue Jul 2, 2020 · 2 comments
Closed

Install issue #83

mariuszkopowski opened this issue Jul 2, 2020 · 2 comments

Comments

@mariuszkopowski
Copy link

when installing via CURL on Ubuntu 20 or Centos 7
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash

I get fallowing info
install: cannot create regular file '/usr/local/bin/tfswitch': Permission denied

Docent mother is i'm running this with sudo or not.

@mickmorseMB
Copy link

mickmorseMB commented Jul 3, 2020

I needed to run sudo bash instead/aswell, so:

sudo curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | sudo bash

The first part is just the web request, the second part is the installation which requires elevated privs.

@warrensbox
Copy link
Owner

@mariuszkopowski
Can you try:

wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh 
chmod 755 install.sh
./install.sh -b bin-directory

./bin-directory/tfswitch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants