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

Please Consider Enhanced Installation Options for Xata Client App #1393

Open
serdardalgic opened this issue Mar 5, 2024 · 2 comments
Open
Assignees

Comments

@serdardalgic
Copy link

serdardalgic commented Mar 5, 2024

Is your feature request related to a problem? Please describe.

Currently, the CLI App can only be installed via using npm, as detailed in the documentation here. While this approach is functional, expanding installation methods to include various package management systems and container images would significantly enhance usability and promote broader adoption among diverse user bases.

Describe the solution you'd like
I'd like to see expanded installation options for the CLI App. This includes enabling installation via alternative distribution methods such as

  • Enabling installation via Homebrew for Mac,
  • Providing Linux package formats (deb, rpm, APK, snap)
  • Supporting FreeBSD's pkg and port systems
  • Offering a cross-platform standalone installation script
  • Distributing OCI container images via the public GitHub Packages registry.

In order to use the Xata CLI app, users shouldn't need to have npm installed on their systems. It should be possible to utilize a standalone solution, such as containers.

This is relatively an exhaustive list, the prioritization can be based on the user portfolio. However, I personally believe enabling installation via Homebrew and providing OCI container image would greatly enhance the usability and the accessibility.

Describe alternatives you've considered

As this is an enhancement proposal, the current installation method via npm is already sufficient. However, this may limit the CLI's accessibility and usability for users who prefer different installation methods.

Additional context

@SferaDev
Copy link
Member

SferaDev commented Mar 5, 2024

Hey @serdardalgic! Thanks for your feedback.

We are thinking of doing this change and packaging the CLI in a redistributable for the reasons you mentioned. It's on our road plan although unfortunately it has not been prioritized yet. However, since we are expanding the target audience outside of JavaScript/TypeScript developers, this feels as a quite important thing to fix for adoption.

@SferaDev
Copy link
Member

SferaDev commented Apr 9, 2024

@eemmiillyy As discussed we could try to use oclif pack and adapt the autoupdater to work with GitHub releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants