Install Notepad++ silently using Windows Powershell

If you are wondering if there is a way to install Notepad++ application on your device in background (silently) then you can make use of Windows Powershell.

  1. Go to Run and type powershell, press enter to open it,
  2. Now type command: winget install -e --id Notepad++.Notepad++
  3. Now go to Run and type: Notepad++ and press enter
  4. Notepad++ Application will load up

Note: If you are using Windows Server 2019 or 2022, you will not have the winget package installer available, in such a case you can still install Notepad++ by download the exe file first and executing the Start-Process command with PassThru

PS C:\> Invoke-WebRequest
plus/releases/download/v8.2.1/npp.8.2.1.Installer.exe -OutFile c:\npp.8.2.1.Installer.exe

PS C:\> Start-Process .\npp.8.2.1.Installer.exe /S -NoNewWindow -Wait -PassThru

Handles  NPM(K)    PM(K)      WS(K)     CPU(s)     Id  SI ProcessNam
-------  ------    -----      -----     ------     --  -- ----------
     58       8     1288       3676       0.03   4884   2 npp.8.2...

PS C:\>

Install Notepad++ setup silently using Powershell
Install Notepad++ setup silently using Powershell