-
Notifications
You must be signed in to change notification settings - Fork 16
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
Issue on docs - install path #74
Comments
We copied most of this from other installers like https://sentry.io/get-cli/. Not sure if there are edge cases here (some systems might not have |
And to be clear, the program doesn't run with root permissions - we only need root permissions to place the program inside |
You could check if I am mostly concerned with needing root permission for three reasons:
|
Don't see why this is a bad reason, this is exactly what the installer is designed for. We want users to be able to use @tjjarvinen this has to be a "solved" problem, not like we're the only ones who offer a CLI installation script. Do you know of other popular installer scripts that use |
You could call echo $PATH | tr ':' '\n' | grep -q "$HOME/.local/bin" && echo "Exists in PATH" || echo "Not in PATH" to check, if
This would allow users control where to install, with default install going into PATH as well. |
Path: /cli/installation
Is it a good idea to install to a path (
/usr/local/bin
) that needs admin permissions, instead of using local user directory, like~/.local/bin
, that does not need admin permissions?I mean, in general you should not run anything from internet with admin permissions!
The text was updated successfully, but these errors were encountered: