-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
UX refinements #46
Comments
You should type in this though? |
Worked for me
|
Yeah, if I follow the instructions it work, but if I just copy and paste the instructions from the README.md, it doesn't: # Instructions from README.md
curl -sLS https://get.k3sup.dev | sh
sudo install k3sup /usr/local/bin/
k3sup --help
# output
You already have the k3sup cli!
Overwriting in 1 seconds.. Press Control+C to cancel.
Downloading package https://github.com/alexellis/k3sup/releases/download/0.4.2/k3sup-darwin as /Users/jonatasbaldin/scratch/test-k3s/k3sup-darwin
Download complete.
=========================================================
== As the script was run as a non-root user the ==
== following commands may need to be run manually ==
=========================================================
sudo cp k3sup-darwin /usr/local/bin/k3sup
Password:
install: k3sup: No such file or directory The second line from the README instruction fails. |
This is the normal way to download with the suffix still in-tact, but if you want, we could change it. I'd accept a �PR |
The point was to show one example of how to install, the example in the README is for Linux where there is no suffix, you're using Darwin, so you need to follow the output instead :-) |
I can make a PR, I have three ideas (in the order that I most like them):
What do u think? |
I think 3. sounds fine, if you'd like to implement it. |
/set title: UX refinements |
Went with |
Expected Behaviour
Copy and paste the commands from the Installation instructions in
README.md
would work.Current Behaviour
The first line from the installation instructions gives me the
k3sup-$arch
binary and correct instructions:$ curl -sLS https://get.k3sup.dev | sh ========================================================= == As the script was run as a non-root user the == == following commands may need to be run manually == ========================================================= sudo cp k3sup-darwin /usr/local/bin/k3sup
But the second command in the instructions fails, because the binary name is different:
Possible Solution
get.sh
outputk3sup-$arch
tok3sup
and adjust the instructions in theget.sh
output tosudo cp k3sup /usr/local/bin/k3sup
Steps to Reproduce (for bugs)
Context
A quick change to yield a better experience when installing the binary. The first impression sticks 😅
Your Environment
The text was updated successfully, but these errors were encountered: