Skip to content

Simplify CLI installation commands #6896

Open
@rm3l

Description

@rm3l

/kind feature

DevTools week idea

Which functionality do you think we should add?

Make it easier for developers to download and install odo binaries.

For example, via something like this:

curl -sL https://get.odo.dev | sh # with options to control what to install, like odo version(nightly, latest, or specific version), destination path, ...]

I was thinking of a convenience script that could be downloaded and piped via a single command, but there could be other options of course: integration with package managers...

I am not familiar with Windows, but I guess it should be possible to do something similar. Or the WinGet or Chocolatey packages (#4042) could be helpful as well.

I looked at some already closed issues and found a similar idea discussed (and implemented?)

Why is this needed?

The installation documentation requires running a few manual commands after clicking on the right tab to select the right system architecture and operating system. While this is great for auditing purposes, I think this is a typical example of something that a script could easily determine and perform.

Sure, there are pros and cons when using a one-liner convenience script, such as security implications. So it should still remain possible to run all commands manually if needed, as done currently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/LinuxIssues or PRs specific to Linuxarea/MacOSIssues or PRs specific to MacOSarea/UXIssues or PRs related to User Experiencearea/WindowsIssues or PRs specific to Windowskind/featureCategorizes issue as a feature request. For PRs, that means that the PR is the implementationlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.priority/LowNice to have issue. It's not immediately on the project roadmap to get it done.

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions