Sublime Text is a shareware cross-platform source code editor. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Sublime Text from the command line using the EXE installer.
How to Install Sublime Text Silently
Sublime Text 4 Silent Install (EXE)
- Navigate to: https://www.sublimetext.com/
- Download the sublime_text_build_xxxx_x64_setup.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: sublime_text_build_xxxx_x64_setup.exe /VERYSILENT /NORESTART
- Press Enter
After a few moments you should see the Sublime Text shortcuts in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Sublime Text |
Vendor: | Sublime HQ Pty Ltd |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: | sublime_text_build_xxxx_x64_setup.exe /VERYSILENT /NORESTART |
Silent Uninstall Switch: | "%ProgramFiles%\Sublime Text\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://www.sublimetext.com/ |
PowerShell Script: | https://silentinstallhq.com/sublime-text-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-sublime-text-powershell/ |
Sublime Text 3 (32-bit) Silent Install (EXE)
- Navigate to: https://www.sublimetext.com/3
- Select the Windows link
- Download the EXE to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: “Sublime Text Build xxxx Setup.exe” /VERYSILENT /NORESTART
- Press Enter
After a few moments you should see the Sublime Text shortcuts in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Sublime Text 3 (32-bit) |
Vendor: | Sublime HQ Pty Ltd |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | "Sublime Text Build xxxx Setup.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\Sublime Text 3\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\Sublime Text 3\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://www.sublimetext.com/3 |
PowerShell Script: | https://silentinstallhq.com/sublime-text-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-sublime-text-powershell/ |
Sublime Text 3 (64-bit) Silent Install (EXE)
- Navigate to: https://www.sublimetext.com/3
- Select the Windows 64 bit link
- Download the EXE to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: “Sublime Text Build xxxx x64 Setup.exe” /VERYSILENT /NORESTART
- Press Enter
After a few moments you should see the Sublime Text shortcuts in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Sublime Text 3 (64-bit) |
Vendor: | Sublime HQ Pty Ltd |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: | "Sublime Text Build xxxx x64 Setup.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch: | "%ProgramFiles%\Sublime Text 3\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://www.sublimetext.com/3 |
PowerShell Script: | https://silentinstallhq.com/sublime-text-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-sublime-text-powershell/ |
Sublime Text 2 (32-bit) Silent Install (EXE)
- Navigate to: https://www.sublimetext.com/2
- Select the Windows link
- Download the EXE to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: “Sublime Text 2.0.2a Setup.exe” /VERYSILENT /NORESTART
- Press Enter
After a few moments you should see the Sublime Text shortcuts in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Sublime Text 2 (32-bit) |
Vendor: | Sublime HQ Pty Ltd |
Version: | 2.0.2 |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | "Sublime Text 2.0.2a Setup.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\Sublime Text 2\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\Sublime Text 2\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://www.sublimetext.com/2 |
PowerShell Script: | https://silentinstallhq.com/sublime-text-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-sublime-text-powershell/ |
Sublime Text 2 (64-bit) Silent Install (EXE)
- Navigate to: https://www.sublimetext.com/2
- Select the Windows 64 bit link
- Download the file to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: “Sublime Text 2.0.2a x64 Setup.exe” /VERYSILENT /NORESTART
- Press Enter
After a few moments you should see the Sublime Text shortcuts in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Sublime Text 2 (64-bit) |
Vendor: | Sublime HQ Pty Ltd |
Version: | 2.0.2 |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: | "Sublime Text 2.0.2a x64 Setup.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch: | "%ProgramFiles%\Sublime Text 2\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://www.sublimetext.com/2 |
PowerShell Script: | https://silentinstallhq.com/sublime-text-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-sublime-text-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download link provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Create a Sublime Text Installation Log File
The Sublime Text installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
Sublime Text 32-bit Silent Install with Logging
"Sublime Text Build xxxx Setup.exe" /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\SublimeText32-Install.log" |
Sublime Text 64-bit Silent Install with Logging
"Sublime Text Build xxxx x64 Setup.exe" /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\SublimeText64-Install.log" |
Include the Sublime Text Windows Explorer Context Menu
The Sublime Text installer does NOT include the Windows Explorer context menu by default. If you want the Sublime Text context menu included during installation, then you can run the following command line switch.
Sublime Text 32-bit Silent Install with Windows Explorer Context Menu
"Sublime Text Build xxxx Setup.exe" /VERYSILENT /NORESTART /TASKS=contextentry |
Sublime Text 64-bit Silent Install with Windows Explorer Context Menu
"Sublime Text Build xxxx x64 Setup.exe" /VERYSILENT /NORESTART /TASKS=contextentry |
Change the Sublime Text Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Sublime Text to “C:\Sublime Text”
Sublime Text (32-bit)
"Sublime Text Build xxxx Setup.exe" /DIR="C:\Sublime Text" /VERYSILENT /NORESTART |
Sublime Text (64-bit)
"Sublime Text Build xxxx x64 Setup.exe" /DIR="C:\Sublime Text" /VERYSILENT /NORESTART |
How to Uninstall Sublime Text Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Sublime Text 4 Silent Uninstall (EXE)
"%ProgramFiles%\Sublime Text\unins000.exe" /VERYSILENT /NORESTART |
Sublime Text 3 (32-bit) Silent Uninstall on 32-bit System
"%ProgramFiles%\Sublime Text 3\unins000.exe" /VERYSILENT /NORESTART |
Sublime Text 3 (32-bit) Silent Uninstall on 64-bit System
"%ProgramFiles(x86)%\Sublime Text 3\unins000.exe" /VERYSILENT /NORESTART |
Sublime Text 3 (64-bit) Silent Uninstall on 64-bit System
"%ProgramFiles%\Sublime Text 3\unins000.exe" /VERYSILENT /NORESTART |
Sublime Text 2 (32-bit) Silent Uninstall on 32-bit System
"%ProgramFiles%\Sublime Text 2\unins000.exe" /VERYSILENT /NORESTART |
Sublime Text 2 (32-bit) Silent Uninstall on 64-bit System
"%ProgramFiles(x86)%\Sublime Text 2\unins000.exe" /VERYSILENT /NORESTART |
Sublime Text 2 (64-bit) Silent Uninstall on 64-bit System
"%ProgramFiles%\Sublime Text 2\unins000.exe" /VERYSILENT /NORESTART |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.