jbang: Quarkus CLI won't install
On macOS I’m trying to install the Quarkus CLI by following this guide: https://quarkus.io/version/main/guides/cli-tooling
When I run the install command curl -Ls https://sh.jbang.dev | bash -s - app install --fresh --force quarkus@quarkusio I get errors:
bash: line 100: [: missing ']'
bash: line 100: -f: command not found
The install continues and says that its installed correctly but it doesn’t seem to work. After restarting my terminal (or even without restarting my terminal) I get quarkus: command not found when trying to run quarkus --version.
Additionally, I installed jbang via homebrew and then ran jbang app install --fresh --force quarkus@quarkusio. That didn’t produce any errors but it also didn’t install the quarkus cli. I still get quarkus: command not found when trying to run quarkus --version.
I’m on macOS 11.4
bash --version
GNU bash, version 5.1.8(1)-release (x86_64-apple-darwin20.3.0)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 35 (3 by maintainers)
I opened a new shell and did
curl -Ls https://sh.jbang.dev | bash -s - app setup. Then in a new shell I didjbang app install --fresh --force quarkus@quarkusio. Then in a new shellquarkus --versionreturnsquarkus: command not found@maxandersen I think you’ve got it backwards 😃 It’s running
jbang app setupthat will make sure thatjbang app install jbangis also being done, not the other way around. (That why the documentation tells people to runcurl -Ls https://sh.jbang.dev | bash -s - app setup)