jbang-idea icon indicating copy to clipboard operation
jbang-idea copied to clipboard

Install JBang executable if does not exist on the computer

Open nandorholozsnyak opened this issue 3 years ago • 1 comments
trafficstars

I just ran into the problem that if you do not have the JBang executable on your machine than the plugin is unable to work.

Is there any way that the plugin itself can install it? Maybe with a prompt to be 100% transparent with the user that it is missing and it will be downloaded and installed.

nandorholozsnyak avatar Mar 21 '22 20:03 nandorholozsnyak

yeah there are the portable install options.

windows/Powershell:

iex "& { $(iwr https://ps.jbang.dev) } app setup"

anything else:

curl -Ls https://sh.jbang.dev | bash -s - app setup

maxandersen avatar Mar 21 '22 21:03 maxandersen