Downloads of v 0.4.1:


Last Update:

14 Mar 2021

Package Maintainer(s):

Software Author(s):

  • Heiko B.
  • Kevin R.


drasyl overlay-network p2p


This is not the latest version of drasyl available.

  • 1
  • 2
  • 3

0.4.1 | Updated: 14 Mar 2021



Downloads of v 0.4.1:



Software Author(s):

  • Heiko B.
  • Kevin R.

  • 1
  • 2
  • 3
drasyl 0.4.1

This is not the latest version of drasyl available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install drasyl, run the following command from the command line or from PowerShell:


To upgrade drasyl, run the following command from the command line or from PowerShell:


To uninstall drasyl, run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

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 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

3. Copy Your Script

choco upgrade drasyl -y --source="'INTERNAL REPO URL'" --version="'0.4.1'" [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 drasyl -y --source="'INTERNAL REPO URL'" --version="'0.4.1'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install drasyl
    name: drasyl
    version: '0.4.1'
    state: present

See docs at

chocolatey_package 'drasyl' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.4.1'

See docs at

cChocoPackageInstaller drasyl
    Name     = "drasyl"
    Version  = "0.4.1"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'drasyl':
  ensure   => '0.4.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. 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 by moderator TheCakeIsNaOH on 19 Mar 2021.


drasyl is a general-purpose overlay network framework for rapid development of distributed P2P

By using drasyl developers can fully concentrate on creating distributed applications. With drasyl,
boundaries between IP-based networks will be eliminated and secure communication channels between
any peers will be provided. Zero-configuration is required to use drasyl. Developers can run a new
drasyl node without having to write configuration files or provide IP addresses of peers.

drasyl architecture


  • Provides Communication Channels between any two Nodes (on the Internet).
  • Automatic Discovery of Peers running within same Process, Computer, LAN, or the Internet.
  • Automatic Handover to most local Communication Channel.
  • Overcomes Network Barriers (Statefull Firewalls, NATs).
  • UDP Hole Punching.
  • Port Mapping (UPnP-IGD, NAT-PMP, PCP).
  • Reacts to Network Changes.
  • Asynchronous and Event-Driven.
  • Lightweight.
  • Extensible.

Usage and Documentation


This is free software under the terms of the GNU Lesser General Public License v3.0

# based on:

$pathToUnInstall = "`%DRASYL_HOME`%\bin"
$statementTerminator = ";"
$actualPath = [System.Collections.ArrayList](Get-EnvironmentVariable -Name 'Path' -Scope 'Machine' -PreserveVariables).split($statementTerminator)

if ($actualPath -contains $pathToUnInstall)
	Write-Host "PATH environment variable contains $pathToUnInstall. Removing..."
	$newPath =  $actualPath -Join $statementTerminator

	$cmd = "Set-EnvironmentVariable -Name 'Path' -Value `'$newPath`' -Scope 'Machine'"

    if (Test-ProcessAdminRights) {
        Invoke-Expression $cmd
    } else {
        Start-ChocolateyProcessAsAdmin "$cmd"
# based on:

$ErrorActionPreference = 'Stop';

$packageName    = $env:ChocolateyPackageName
$packageVersion = $env:ChocolateyPackageVersion
$toolsDir       = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url            = "$($packageVersion)/drasyl-$($packageVersion).zip"
$checksum       = "214dd541367c383130ee99ed101f7d02af607a8a5fbd20db6b0a96d2cb99c45e"
$checksumType   = 'sha256'
$drasylHome     = Join-Path $toolsDir "drasyl-$($packageVersion)"

Install-ChocolateyZipPackage $packageName $url $toolsDir -checksum $checksum -checksumType $checksumType

# Remove Unix file
Remove-Item "$($drasylHome)\bin\drasyl"

Install-ChocolateyEnvironmentVariable 'DRASYL_HOME' $drasylHome 'Machine'

Install-ChocolateyPath "`%DRASYL_HOME`%\bin" 'Machine'

Write-Warning "You must start a new prompt, or re-read the environment for the drasyl command to be available in your command line environment."
# based on

$ErrorActionPreference = 'Stop';

$packageName    = $env:ChocolateyPackageName
$packageVersion = $env:ChocolateyPackagVersion
$zipName = "drasyl-$($packageVersion).zip"

Uninstall-ChocolateyZipPackage $packageName $zipName

Uninstall-ChocolateyEnvironmentVariable 'DRASYL_HOME' 'Machine'

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
drasyl 0.6.0 37 Sunday, November 28, 2021 Approved
drasyl 0.5.0 44 Monday, June 28, 2021 Approved
drasyl 0.4.1 59 Sunday, March 14, 2021 Approved
drasyl 0.3.0 59 Saturday, March 13, 2021 Approved

Discussion for the drasyl Package

Ground Rules:

  • This discussion is only about drasyl and the drasyl 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 drasyl, 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.
comments powered by Disqus