Welcome to the Chocolatey Community Package Repository! The packages found in this section of the site are provided, maintained, and moderated by the community.
Moderation
Every version of each package undergoes a rigorous moderation process before it goes live that typically includes:
- Security, consistency, and quality checking
- Installation testing
- Virus checking through VirusTotal
- Human moderators who give final review and sign off
More detail at Security and Moderation.
Organizational Use
If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this publicly offered repository, reliability cannot be guaranteed. Packages offered here are subject to distribution rights, which means they may need to reach out further to the internet to the official locations to download files at runtime.
Fortunately, distribution rights do not apply for internal use. With any edition of Chocolatey (including the free open source edition), you can host your own packages and cache or internalize existing community packages.
Disclaimer
Your use of the packages on this site means you understand they are not supported or guaranteed in any way. Learn more...

Downloads:
2,636
Downloads of v 0.36.0:
24
Last Update:
01 Aug 2020
Package Maintainer(s):
Software Author(s):
- Max Rydahl Andersen
Tags:
jbang bash java shell scripting- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download

j'bang
This is not the latest version of j'bang available.
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
2,636
Downloads of v 0.36.0:
24
Maintainer(s):
Software Author(s):
- Max Rydahl Andersen
Edit Package
To edit the metadata for a package, please upload an updated version of the package.
Chocolatey's Community Package Repository currently does not allow updating package metadata on the website. This helps ensure that the package itself (and the source used to build the package) remains the one true source of package metadata.
This does require that you increment the package version.
j'bang 0.36.0
This is not the latest version of j'bang available.
All Checks are Passing
2 Passing Test
To install j'bang, run the following command from the command line or from PowerShell:
To upgrade j'bang, run the following command from the command line or from PowerShell:
To uninstall j'bang, run the following command from the command line or from PowerShell:
NOTE: This applies to both open source and commercial editions of Chocolatey.
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
- Download the Package Download
- Follow manual internalization instructions
-
Package Internalizer (C4B)
- Run
choco download jbang --internalize --version=0.36.0 --source=https://chocolatey.org/api/v2
(additional options) - Run
choco push --source="'http://internal/odata/repo'"
for package and dependencies - Automate package internalization
- Run
3. Enter your internal repository url
(this should look similar to https://chocolatey.org/api/v2)
4. Choose your deployment method:
choco upgrade jbang -y --source="'STEP 3 URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade jbang -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Ensure jbang installed
win_chocolatey:
name: jbang
state: present
version: 0.36.0
source: STEP 3 URL
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
Coming early 2020! Central Managment Reporting available now! More information...
chocolatey_package 'jbang' do
action :install
version '0.36.0'
source 'STEP 3 URL'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
Chocolatey::Ensure-Package
(
Name: jbang,
Version: 0.36.0,
Source: STEP 3 URL
);
Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.
cChocoPackageInstaller jbang
{
Name = 'jbang'
Ensure = 'Present'
Version = '0.36.0'
Source = 'STEP 3 URL'
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'jbang':
provider => 'chocolatey',
ensure => '0.36.0',
source => 'STEP 3 URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
salt '*' chocolatey.install jbang version="0.36.0" source="STEP 3 URL"
See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.
5. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...
This package was approved as a trusted package on 01 Aug 2020.
Want to learn or explore Java instantly without setup ?
Do you like Java but uses python, groovy, kotlin or similar languages for your scripts ?
Ever tried out Java 10+ support for running .java
files directly in your shell but felt it was a bit too cumbersome ?
Then try jbang
which lets you do this:
$ jbang --init=cli hello.java
$ jbang hello.java Max!
[jbang] Resolving dependencies...
[jbang] Resolving info.picocli:picocli:4.2.0...Done
[jbang] Dependencies resolved
[jbang] Building jar...
Hello Max!
$ jbang hello.java -h
Usage: hello [-hV] <greeting>
hello made with jbang
<greeting> The greeting to print
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Instant cli app generated built using java and picocli as a dependency that was fetched as needed for the compilation and execution.
Features
.java
Scripting for Java 8 and upwards.jsh
via JShell from Java 9 and upwards- Works on icon:windows[] Windows, icon:apple[] OSX and icon:linux[] Linux
- Install using SDKMan (icon:apple[]/icon:linux[]), Homebrew (icon:apple[]), Chocolatey (icon:windows[]) or Scoop (icon:windows[])
- Dependency declarations using
//DEPS <gav>
for automatic dependency resolution - Control compile and runtime options with
//JAVAC_OPTIONS <flags>
and//JAVA_OPTIONS <flags>
- Compiled jar and Dependency resolution caching
- Launch with debug enabled for instant debugging from your favorite IDE
- Init templates to get started easily (
jbang --init=cli hello.java
) - Generate gradle and IDE config with dependencies for easy editing in your favorite IDE (
jbang edit myfile.java
) - (PLANNED) Lookup dependencies with a short-hand name, i.e.
// DEPS log4j:1.2+,picocli
for quick getting started.
To use it simply install jbang
and run jbang yourscript.java
$tools = Split-Path $MyInvocation.MyCommand.Definition
$package = Split-Path $tools
$jbang_home = Join-Path $package 'jbang-0.36.0'
$jbang_bat = Join-Path $jbang_home 'bin/jbang.cmd'
Install-ChocolateyZipPackage `
-PackageName 'jbang' `
-Url 'https://github.com/jbangdev/jbang/releases/download/v0.36.0/jbang-0.36.0.zip' `
-Checksum 'bcb6ab809168ae49949842a4f06ac09e95263ab0754c5223ee4200078b7b907e' `
-ChecksumType 'sha256' `
-UnzipLocation $package
Install-BinFile -Name 'jbang' -Path $jbang_bat
$tools = Split-Path $MyInvocation.MyCommand.Definition
$package = Split-Path $tools
$jbang_home = Join-Path $package 'jbang-0.36.0'
$jbang_bat = Join-Path $jbang_home 'bin/jbang.cmd'
Uninstall-BinFile -Name 'jbang' -Path $jbang_bat
From: https://raw.githubusercontent.com/jbangdev/jbang/master/LICENSE
MIT License
Copyright (c) 2020 Max Rydahl Andersen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
You can verify the files are same as the one coming from the main repo
at https://github.com/jbangdev/jbang/releases.
Log in or click on link to see number of positives.
- jbang.0.36.0.nupkg (717da555b87f) - ## / 60
- jbang-0.36.0.zip (bcb6ab809168) - ## / 59
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Version | Downloads | Last Updated | Status |
---|---|---|---|
j'bang 0.62.0 | 17 | Sunday, January 17, 2021 | Approved |
j'bang 0.61.1 | 20 | Thursday, January 14, 2021 | Approved |
j'bang 0.61.0 | 9 | Thursday, January 14, 2021 | Approved |
j'bang 0.60.0 | 28 | Sunday, January 10, 2021 | Approved |
j'bang 0.59.0 | 21 | Friday, January 8, 2021 | Approved |
j'bang 0.58.0 | 25 | Sunday, January 3, 2021 | Approved |
j'bang 0.57.0 | 24 | Monday, December 28, 2020 | Approved |
j'bang 0.56.0 | 47 | Sunday, December 6, 2020 | Approved |
j'bang 0.55.2 | 27 | Tuesday, December 1, 2020 | Approved |
j'bang 0.55.1 | 25 | Thursday, November 26, 2020 | Approved |
j'bang 0.55.0 | 11 | Thursday, November 26, 2020 | Approved |
j'bang 0.54.1 | 16 | Tuesday, November 24, 2020 | Approved |
j'bang 0.54.0 | 23 | Sunday, November 22, 2020 | Approved |
j'bang 0.53.2 | 47 | Monday, November 9, 2020 | Approved |
j'bang 0.53.1 | 20 | Sunday, November 8, 2020 | Approved |
j'bang 0.53.0 | 15 | Saturday, November 7, 2020 | Approved |
j'bang 0.52.1 | 31 | Monday, October 26, 2020 | Approved |
j'bang 0.52.0 | 32 | Thursday, October 15, 2020 | Approved |
j'bang 0.51.1 | 28 | Monday, October 12, 2020 | Approved |
j'bang 0.51.0 | 30 | Saturday, October 10, 2020 | Approved |
j'bang 0.50.1 | 22 | Friday, October 9, 2020 | Approved |
j'bang 0.50.0 | 23 | Thursday, October 8, 2020 | Approved |
j'bang 0.49.0 | 17 | Tuesday, October 6, 2020 | Approved |
j'bang 0.48.0 | 41 | Thursday, September 24, 2020 | Approved |
j'bang 0.47.1 | 32 | Monday, September 21, 2020 | Approved |
j'bang 0.47.0 | 17 | Monday, September 21, 2020 | Approved |
j'bang 0.46.1 | 20 | Sunday, September 20, 2020 | Approved |
j'bang 0.46.0 | 13 | Sunday, September 20, 2020 | Approved |
j'bang 0.45.0 | 38 | Friday, September 11, 2020 | Approved |
j'bang 0.44.2 | 24 | Tuesday, September 8, 2020 | Approved |
j'bang 0.44.0 | 17 | Tuesday, September 8, 2020 | Approved |
j'bang 0.43.0 | 34 | Wednesday, September 2, 2020 | Approved |
j'bang 0.42.1 | 29 | Wednesday, September 2, 2020 | Approved |
j'bang 0.42.0 | 34 | Sunday, August 30, 2020 | Approved |
j'bang 0.41.0 | 17 | Sunday, August 30, 2020 | Approved |
j'bang 0.40.1 | 22 | Thursday, August 27, 2020 | Approved |
j'bang 0.40.0 | 24 | Thursday, August 27, 2020 | Approved |
j'bang 0.39.0 | 36 | Sunday, August 23, 2020 | Approved |
j'bang 0.38.0 | 32 | Tuesday, August 18, 2020 | Approved |
j'bang 0.37.0 | 23 | Monday, August 17, 2020 | Approved |
j'bang 0.36.1 | 38 | Sunday, August 2, 2020 | Approved |
j'bang 0.36.0 | 24 | Saturday, August 1, 2020 | Approved |
j'bang 0.35.1 | 26 | Friday, July 31, 2020 | Approved |
j'bang 0.35.0 | 26 | Friday, July 31, 2020 | Approved |
j'bang 0.34.1 | 28 | Tuesday, July 28, 2020 | Approved |
j'bang 0.34.0 | 31 | Sunday, July 26, 2020 | Approved |
j'bang 0.33.0 | 42 | Tuesday, July 7, 2020 | Approved |
j'bang 0.32.0 | 45 | Saturday, June 20, 2020 | Approved |
j'bang 0.31.0 | 31 | Sunday, June 14, 2020 | Approved |
j'bang 0.30.0 | 25 | Friday, June 12, 2020 | Approved |
j'bang 0.29.1 | 33 | Saturday, June 6, 2020 | Approved |
j'bang 0.29.0 | 27 | Saturday, June 6, 2020 | Approved |
j'bang 0.28.0 | 24 | Thursday, June 4, 2020 | Approved |
j'bang 0.27.0 | 40 | Monday, June 1, 2020 | Approved |
j'bang 0.26.0 | 30 | Sunday, May 31, 2020 | Approved |
j'bang 0.25.0 | 27 | Thursday, May 28, 2020 | Approved |
j'bang 0.24.0 | 24 | Thursday, May 21, 2020 | Approved |
j'bang 0.23.0 | 30 | Saturday, May 16, 2020 | Approved |
j'bang 0.22.0.2 | 74 | Thursday, April 16, 2020 | Approved |
j'bang 0.21.0 | 38 | Friday, April 10, 2020 | Approved |
j'bang 0.20.0 | 63 | Sunday, March 22, 2020 | Approved |
j'bang 0.19.0 | 74 | Thursday, March 5, 2020 | Approved |
j'bang 0.18.0 | 51 | Saturday, February 29, 2020 | Approved |
j'bang 0.17.0 | 43 | Monday, February 24, 2020 | Approved |
j'bang 0.16.2 | 62 | Saturday, February 22, 2020 | Approved |
j'bang 0.16.1 | 52 | Sunday, February 16, 2020 | Approved |
j'bang 0.16.0 | 57 | Saturday, February 15, 2020 | Approved |
j'bang 0.15.1 | 62 | Saturday, February 15, 2020 | Approved |
j'bang 0.15.0 | 35 | Thursday, February 13, 2020 | Approved |
j'bang 0.14.2 | 51 | Sunday, February 9, 2020 | Approved |
j'bang 0.14.1 | 44 | Saturday, February 8, 2020 | Approved |
j'bang 0.14.0 | 46 | Tuesday, February 4, 2020 | Approved |
j'bang 0.13.2 | 39 | Wednesday, January 29, 2020 | Approved |
j'bang 0.13.1 | 43 | Wednesday, January 29, 2020 | Approved |
j'bang 0.13.0 | 53 | Wednesday, January 29, 2020 | Approved |
jbang 0.12.2 | 36 | Saturday, January 25, 2020 | Approved |
jbang 0.12.1 | 40 | Saturday, January 25, 2020 | Approved |
jbang 0.11.1 | 31 | Wednesday, January 22, 2020 | Approved |
jbang 0.11.0 | 41 | Wednesday, January 22, 2020 | Approved |
jbang 0.6.0.5 | 39 | Sunday, January 19, 2020 | Approved |
2020 Max Rydahl Andersen
This package has no dependencies.
Ground Rules:
- This discussion is only about j'bang and the j'bang package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or j'bang, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.