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

Create a script for easy installation #26

Open
velovix opened this issue May 10, 2021 · 1 comment
Open

Create a script for easy installation #26

velovix opened this issue May 10, 2021 · 1 comment

Comments

@velovix
Copy link
Member

velovix commented May 10, 2021

This script would automatically detect the operating system being used and use the best installation option for that platform. For supported platforms, this would ideally be through the package manager. This script should be written to be runnable on the widest variety of Linux distributions possible, so it should not have external dependencies.

In order for this script to be widely useful, we should have some kind of fallback installation option for unsupported platforms. This would probably come in the form of a PyInstaller executable, but see #13 for a list of options with pros and cons.

The intended result is to maintain our one-liner installation experience while being able to make more intelligent choices about how that installation happens. The resulting command would look something like this:

curl -fsSL https://get-cli.aotu.ai | sh

Piping a script from the internet directly into a root shell script has its fair share of security considerations. We should make those considerations clear in the documentation and provide manual installation instructions as well.

@velovix
Copy link
Member Author

velovix commented May 10, 2021

This script could also be written to not be run with sudo, but it will still need to run individual commands with root permissions.

@velovix velovix mentioned this issue May 22, 2021
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant