JOSM is an extensible editor for OpenStreetMap (OSM) for Java 11+. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of JOSM from the command line using the EXE installer.
How to Install JOSM Silently
JOSM Silent Install (EXE)
- Navigate to: https://josm.openstreetmap.de/download/windows/josm-setup.exe
- Download the josm-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: josm-setup.exe /S
- Press Enter
After a few moments you should see the JOSM shortcuts in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | JOSM |
Vendor: | OpenStreetMap JOSM Team |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | josm-setup.exe /S |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\JOSM\uninstall.exe" /S |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\JOSM\uninstall.exe" /S |
Download Link: | https://josm.openstreetmap.de/download/windows/josm-setup.exe |
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.
Additional Configurations
Change the JOSM Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing JOSM to “C:\JOSM”
josm-setup.exe /S /D=C:\JOSM |
How to Uninstall JOSM Silently
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
JOSM Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\JOSM\uninstall.exe" /S |
JOSM Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\JOSM\uninstall.exe" /S |
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.