Downloads of v 8.2.4005:


Last Update:

05 Jan 2022

Package Maintainer(s):

Software Author(s):

  • Bram Moolenaar
  • Vim Community


vim editor vi gvim cli admin cross-platform foss vim-win32-installer


This is not the latest version of Vim available.

  • 1
  • 2
  • 3

8.2.4005 | Updated: 05 Jan 2022



Downloads of v 8.2.4005:



Software Author(s):

  • Bram Moolenaar
  • Vim Community

  • 1
  • 2
  • 3
Vim 8.2.4005

This is not the latest version of Vim available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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


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


To uninstall Vim, 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 vim -y --source="'INTERNAL REPO URL'" --version="'8.2.4005'" [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 vim -y --source="'INTERNAL REPO URL'" --version="'8.2.4005'" 

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

Exit $exitCode

- name: Install vim
    name: vim
    version: '8.2.4005'
    state: present

See docs at

chocolatey_package 'vim' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '8.2.4005'

See docs at

cChocoPackageInstaller vim
    Name     = "vim"
    Version  = "8.2.4005"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'vim':
  ensure   => '8.2.4005',
  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.

This package was approved as a trusted package on 05 Jan 2022.


Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Vim is often called a programmer's editor, and so useful for programming that many consider it an entire IDE. It's not just for programmers, though. Vim is perfect for all kinds of text editing, from composing email to editing configuration files.


  • Vim: Vim terminal(CLI) application can be used from Powershell and Command Prompt.

  • GVim: The GUI version of Vim provides full featured Windows GUI application experience.

  • Terminal Integration: Batch files are created to provide vim, gvim, evim, view, gview, vimdiff, gvimdiff and vimtutor command on terminal use.

  • Shell Integration: Vim is added in Open with ... context menu. And by default Edit with Vim context menu is created to open files whose extensions are associated with other applications.

Package parameters

  • /InstallDir - Override the installation directory. By default, the software is installed in $ChocolateyToolsLocation, it's default value is C:\tools. You can include spaces. See the example below.
  • /RestartExplorer - Restart Explorer to unlock GVimExt.dll used for Edit with Vim context menu feature.
  • /NoDefaultVimrc - Don't create default _vimrc file.
  • /NoContextmenu - Don't create Edit with Vim context menu.
  • /NoDesktopShortcuts - Don't create shortcuts on the desktop.

Example: choco install vim --params "'/NoDesktopShortcuts /InstallDir:C:\path\to\your dir'"


  • This package uses the ZIP build to install to provide installation parameters.
  • All compilation of the software is automated and performed on Appveyor. The building status is open.
  • This package provides an official build. Similar package vim-tux is from a well-known unofficial vim building project. Unlike vim-tux, this package can take some installation parameters.
  • See for more information.

md5: C161EFC6060361E3FEF45584A1E44021 | sha1: A429E37A0268AA2D728870FDA88E251EE28DCA86 | sha256: EB7273F36660E6B853E98A6789630F41A1E5EE8BF62BEBF229362ACB59FBD8BB | sha512: 3CC69E241BBE9473F593528F0F6D637D5ED215CD88627E7E43ED27F7656DF024210D8F92FE5D6CA82F352DB34AC3AB578A15DF608A0ED266F0BFEF6755A75737
md5: E330B3138BD46E14FCADC80ACC156D94 | sha1: 683579F0CE1F8C4D02147306107D33BB3C9A6849 | sha256: 77DD191DC1C3F1126FAB440F22202050730D525B42F73567B79E5EE968004C24 | sha512: 431486F1E7D2C41A296A5BF3CF62F2916A8B6304A36A7FD6810D7B10753126485E04BD20C37D2D3028D4691C29FB2D27CDBE90A096932F556C2964CE6D839B86
function Get-InstallDir()
  if ($pp['InstallDir']) {
    Write-Debug '/InstallDir found.'
    return $pp['InstallDir']
  return Get-ToolsLocation
function Get-Statement()
  $options      = '-create-batfiles vim gvim evim view gview vimdiff gvimdiff -install-openwith -add-start-menu'
  $createvimrc  = '-create-vimrc -vimrc-remap no -vimrc-behave default -vimrc-compat all'
  $installpopup = '-install-popup'
  $installicons = '-install-icons'
  if ($pp['RestartExplorer'] -eq 'true') {
    Write-Debug '/RestartExplorer found.'
    Get-Process explorer | Stop-Process -Force
  if ($pp['NoDefaultVimrc'] -eq 'true') {
    Write-Debug '/NoDefaultVimrc found.'
    $createvimrc = ''
  if ($pp['NoContextmenu'] -eq 'true') {
    Write-Debug '/NoContextmenu found.'
    $installpopup = ''
  if ($pp['NoDesktopShortcuts'] -eq 'true') {
    Write-Debug '/NoDesktopShortcuts found.'
    $installicons = ''
  return $options, $createvimrc, $installpopup, $installicons -join ' '
# Replace old ver dir with symlink
# Use mklink because New-Item -ItemType SymbolicLink doesn't work in test-env
# Use rmdir because Powershell cannot unlink directory symlink
function Create-SymbolicLink()
  Get-ChildItem -Path "$installDir\vim" -Exclude "vim$shortversion" -Attributes Directory+!ReparsePoint | ForEach-Object { Remove-Item $_ -Recurse ; New-Item -Path $_ -ItemType Directory }
  Get-ChildItem -Path "$installDir\vim" -Exclude "vim$shortversion" -Attributes Directory | ForEach-Object { $_.Name } | ForEach-Object { cmd /c rmdir "$installDir\vim\$_" ; cmd /c mklink /d "$installDir\vim\$_"  "$installDir\vim\vim$shortversion" }

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
Vim 8.2.5014 1781 Wednesday, May 25, 2022 Approved
Vim 8.2.5010 2112 Tuesday, May 24, 2022 Approved
Vim 8.2.5006 1998 Monday, May 23, 2022 Approved
Vim 8.2.4987 2445 Saturday, May 21, 2022 Approved
Vim 8.2.4980 2919 Thursday, May 19, 2022 Approved
Vim 8.2.4937 9061 Wednesday, May 11, 2022 Approved
Vim 8.2.4877 6121 Friday, May 6, 2022 Approved
Vim 8.2.4853 5607 Monday, May 2, 2022 Approved
Vim 8.2.4850 1342 Sunday, May 1, 2022 Approved

This package has no dependencies.

Discussion for the Vim Package

Ground Rules:

  • This discussion is only about Vim and the Vim 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 Vim, 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