Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

This is not the latest version of Notepad2-mod available.


Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator ferventcoder on 2/29/2016.

A modified version (fork) of Notepad2 based on Kai Liu's and other people's patches.
Changes compared to the official Notepad2: Code folding, Support for bookmarks, Option to mark all occurrences of a word, Word auto-completion, Syntax highlighting support for AutoHotkey, AutoIt3, AviSynth, Bash, CMake, Inno Setup, LaTeX, Lua, NSIS, Ruby and Tcl scripts, Improved support for NFO ANSI art, Support for replacing Windows Notepad using a clean, unintrusive registry-based method, Other various minor changes and tweaks

To install Notepad2-mod, run the following command from the command line or from PowerShell:

C:\> choco install notepad2-mod --version

To upgrade Notepad2-mod, run the following command from the command line or from PowerShell:

C:\> choco upgrade notepad2-mod --version


  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $url = ''
    $checksum = '944DB5741E9759BAD75505016B0FCD7257F26BEA'
    $checksumType = 'sha1'
    $package_args = @{
      packageName    = 'notepad2-mod'
      url            = $url
      url64          = $url
      checksum       = $checksum
      checksum64     = $checksum
      checksumType   = $checksumType
      checksumType64 = $checksumType
      fileType       = 'EXE'
      silentArgs     = '/VERYSILENT /NORESTART'
    Install-ChocolateyPackage @package_args
  • tools\chocolateyUninstall.ps1 Show
    $tools = Split-Path $MyInvocation.MyCommand.Definition
    . $tools\uninstall.ps1
    $package_args = @{
      packageName = 'notepad2-mod'
      fileType    = 'EXE'
      file        = Get-Uninstaller -Name 'Notepad2-mod'
    Uninstall-ChocolateyPackage @package_args
  • tools\uninstall.ps1 Show
      Get the uninstaller location for most Windows software.
      This function finds the correct uninstaller given just an application name.
      Find the name from the Programs and Features Control Panel window.
      .PARAMETER Name
      The name of the application, as found in the Programs and Features applet
      in the Control Panel.
      Uninstall-ChocolateyPackage 'foo' 'EXE' '/S' (Get-Uninstaller -Name 'Foo')
    function Get-Uninstaller {
        [Parameter(Mandatory = $true)]
        [string] $Name
      $local_key     = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*'
      $machine_key32 = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*'
      $machine_key64 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
      @($local_key, $machine_key32, $machine_key64) `
        | ?{ Test-Path $_ } `
        | Get-ItemProperty `
        | ?{ $_.DisplayName -eq $Name } `
        | Select-Object -ExpandProperty UninstallString

Virus Scan Results

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.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • XhmikosR


Version History

Version Downloads Last updated Status
Notepad2-mod 2176 Friday, June 2, 2017 approved
Notepad2-mod 2453 Thursday, September 15, 2016 approved
Notepad2-mod 830 Wednesday, June 22, 2016 approved
Notepad2-mod 211 Wednesday, June 22, 2016 approved
Notepad2-mod 486 Thursday, April 28, 2016 approved
Notepad2-mod 278 Saturday, April 16, 2016 approved
Notepad2-mod 1646 Saturday, March 19, 2016 approved
Notepad2-mod 1181 Saturday, February 27, 2016 approved
Show More

Discussion for the Notepad2-mod Package

Ground rules:

  • This discussion is only about Notepad2-mod and the Notepad2-mod 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 Notepad2-mod, 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 uses cookies to enhance the user experience of the site.