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

Consider making stand-alone installation easier on Linux & Windows #333

Open
lread opened this issue Sep 14, 2023 · 1 comment
Open

Consider making stand-alone installation easier on Linux & Windows #333

lread opened this issue Sep 14, 2023 · 1 comment

Comments

@lread
Copy link
Contributor

lread commented Sep 14, 2023

Is your feature request related to a problem? Please describe.
While reviewing the poly install docs, I noticed there can be quite a few manual steps for stand-alone installation for Linux and Windows. This might be overwhelming to a newcomer.

Describe the solution you'd like
On other projects, I've seen the use of install scripts.

For examples:

  • deps.clj has an install script for macOS/Linux and an install.ps1 for Windows.
  • clj-kondo does something similar (although it uses scoop for Windows).
  • babashka recommends brew for both macos/Linux.

For all the above, manual download is also an option.

Another benefit of an install script is that it can also do a checksum on anything it downloads.

Describe alternatives you've considered
Consider describing brew as an option for Linux.
Consider creating something on scoop for Windows.

Additional context
Poly stand-alone has 2 assets: the jar and the launcher script.
The launcher scripts could be generated by the installer and/or made available for manual download from a set of release assets.

If I remember correctly, the lein script will actually download any necessary assets, so that might another place to look for inspiration.

@lread
Copy link
Contributor Author

lread commented Sep 16, 2023

Additional note: While reviewing the upgrade docs, I think that whatever solution covers poly installation should also consider poly upgrade.

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

No branches or pull requests

1 participant