Download JBang

Note: JBang requires a Java 8 or higher Java Development Kit (JDK) to be installed.

Chocolatey

choco install jbang

Scoop

scoop bucket add jbangdev https://github.com/jbangdev/scoop-bucket
scoop install jbang

Manual

Unzip the latest binary release, put the jbang-[version]/bin folder in to your $PATH and you are set.

SDKMan

sdk install jbang

Fedora Copr for CentOS, Fedora, Mageia and OpenSuse

dnf copr enable @jbangdev/jbang 
dnf install jbang

Manual

Unzip the latest binary release, put the jbang-[version]/bin folder in to your $PATH and you are set.

SDKMan

sdk install jbang

Homebrew

brew install jbangdev/tap/jbang

Manual

Unzip the latest binary release, put the jbang-[version]/bin folder in to your $PATH and you are set.

docker.io

docker run -v `pwd`:/ws --workdir=/ws jbangdev/jbang-action helloworld.java

Quay.io

docker run -v `pwd`:/ws --workdir=/ws quay.io/jbangdev/jbang-action helloworld.java

Install and see details at Github Action Marketplace