Comments (9)
You should type in this though? sudo cp k3sup-darwin /usr/local/bin/k3sup
from k3sup.
Worked for me
space-mini:tmp alex$ curl -sLS https://get.k3sup.dev | sh
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 /tmp/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
space-mini:tmp alex$ sudo cp k3sup-darwin /usr/local/bin/k3sup
Password:
space-mini:tmp alex$
from k3sup.
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.
from k3sup.
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
from k3sup.
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 :-)
from k3sup.
I can make a PR, I have three ideas (in the order that I most like them):
- Remove second line from README.md and add
sudo
before the first line, will always work - Remove second line from README.md, let the user read the instructions
- Change the
get.sh
script to download the file ask3sup
instead ofk3sup-$suffix
What do u think?
from k3sup.
I think 3. sounds fine, if you'd like to implement it.
from k3sup.
/set title: UX refinements
from k3sup.
Went with 3
:D
from k3sup.
Related Issues (20)
- How to set a proxy server for yum repos on target server HOT 1
- --no-extras implements a deprecated flag and fails install HOT 1
- Add support for IPv6 addresses HOT 10
- SSH Error Handshake HOT 2
- [Feature request] Jump box support HOT 3
- Explicitly state the systemd requirement for the remote Linux host HOT 1
- Support request for SSH configuration HOT 3
- k3sup join needs two --ssh-key, one for server and another one for joining server HOT 3
- Support for specifying k3s install mirror option `--k3s-install-mirror`
- First Colon not added to `k3s-extra-args` HOT 1
- k3sup not working on fcos with testing channel HOT 6
- Support question for k3sup join HOT 3
- About 0.12.13 release HOT 2
- Suggestion: declare the nodes and its options in a single yaml file Would be a good idea? HOT 1
- generated zsh shell completion not working HOT 1
- How to access Traefik dashboard? HOT 1
- I need to pass password instead of key in "--ssh-key HOT 1
- macOS + 1Password SSH agent forwarding + Nushell not working with k3sup HOT 2
- docs change HOT 4
- Getting NODE_TOKEN with custom password protected ssh-key leads to too verbose NODE_TOKEN env var
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k3sup.