Lens (The Kubernetes IDE) Silent Install (How-To Guide)

Lens is the only IDE you’ll ever need to take control of your Kubernetes clusters. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Lens (The Kubernetes IDE) from the command line using the EXE installer.

How to Install Lens (The Kubernetes IDE) Silently

Lens Silent Install (EXE)

  1. Navigate to: https://github.com/lensapp/lens/releases/latest
  2. Download the Lens-Setup-x.y.z.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: Lens-Setup-x.y.z.exe /allusers /S
  6. Press Enter

After a few moments you should see the Lens Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Lens (The Kubernetes IDE)
Vendor:Mirantis, Inc.
Installer Type:EXE
Silent Install Switch:Lens-Setup-x.y.z.exe /allusers /S
Silent Uninstall Switch:"%ProgramFiles%\Lens\Uninstall Lens.exe" /allusers /S
Download Link:https://github.com/lensapp/lens/releases/latest
PowerShell Script:https://silentinstallhq.com/lens-the-kubernetes-ide-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.

Additional Configurations

Change Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Lens to “C:\Lens”

Lens-Setup-x.y.z.exe /allusers /S /D=C:\Lens

How to Uninstall Lens (The Kubernetes IDE) Silently

Check out Lens (The Kubernetes IDE) Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

Lens Silent Uninstall (EXE)

"%ProgramFiles%\Lens\Uninstall Lens.exe" /allusers /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.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 17 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts