Vim silent install and uninstall
Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient
- Vendor
- Bram Moolenaar et al.
- Category
- Developer Tools
- Installer
- NSIS (Nullsoft)
- Architecture
- x86, x64, arm64
- Checked version
- 9.2.1186
- winget ID
vim.vim- License
- Copyright (C) 1991-2020 Bram Moolenaar [Bram@vim.org] - Charityware / GNU GPL compatible
- Download
- Official download
Silent install
gvim_9.2.1186_x64.exe /S /allusers - Download the installer from the direct download link.
- Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
- Change to the folder with the installer, for example
cd C:\Temp. - Run the command above. Adjust the file name if you downloaded a different version.
Or install with winget
winget install --id vim.vim --exact --silent --scope machine --accept-package-agreements --accept-source-agreements Silent uninstall
winget uninstall --id vim.vim --exact --silent --accept-source-agreements Run the command from an elevated Command Prompt.
About the NSIS (Nullsoft) installer
NSIS installers use /S for a silent install. Switches are case-sensitive, and /D= must come last without quotes.
| Switch | What it does |
|---|---|
/S | Silent install (capital S). |
/D=C:\Path | Install folder. Must be the last switch, no quotes. |
/allusers | Per-machine install, supported by many but not all NSIS setups. |
Deploy Vim with Microsoft Intune
Package the installer as a Win32 app (.intunewin) and use these settings:
| Install command | gvim_9.2.1186_x64.exe /S /allusers |
|---|---|
| Uninstall command | Use the uninstaller from the install folder; winget is not available to the SYSTEM account by default. |
| Install behavior | System |