nicoloboschi opened a new issue, #19272:
URL: https://github.com/apache/pulsar/issues/19272

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   With Pulsar 2.11.0 released, users can use pulsar-shell by downloading the 
artifact from the download page or they can use it from the docker image. 
   It works but we can improve it.
   
   Most of the CLI tools have one-line solution to get ready in seconds without 
doing manual works.
   
   I want to propose the following methods:
   
   
   ### Installation script
   A file hosted in the pulsar-site with one-liner for shell installation. 
[DataStax already has one 
script](https://github.com/datastax/homebrew-luna-streaming-shell/blob/master/get-pulsar-shell.sh)
 that can be used for that. We could have the same thing for the apache 
project. Then the user just needs to run
   
   ```
   curl -Ls "https://pulsar.apache.org/download/shell"; | bash
   ```
   
   For fixed versions
   
   ```
   curl -Ls "https://pulsar.apache.org/download/shell"; | bash 2.11.0
   ```
   
   ### Brew (MacOS)
   Offers a official formula for the shell. [This is an 
example](https://github.com/datastax/homebrew-luna-streaming-shell/blob/master/pulsar-shell.rb)
 from DataStax
   
   We might need to submit it to the homebrew repository to make it an official 
formula.
   Then then user could install it using:
   
   ```
   brew install apache-pulsar-shell
   ```
   
   ### Windows
   Since Pulsar shell works in Windows as well, we might provide a .msi file.
   
   ### Other ideas
   
   Other ideas are:
   - [sdkman](https://sdkman.io/)
   
   
   ### Solution
   
   _No response_
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to