Share via

How can I update Edge with Command Line?

Anonymous
2023-10-06T11:08:01+00:00

Hi I am a genuine customer and our org purchased so many licensed windows. My basic query is, How do I update Edge with Command Line?

My organization is doing continuous certification on Edge, and I want to update Edge from Older version to Newer version(I don't want to open the Edge and let it update, this is clumsy and sometime it fails, and I need driver to open help page and check if it is updated or not). The best reason I found out is to remove edge, Install Edge from msi and whenever new version is available I will remove the older edge and install the newer one, but unfortunately I can not remove edge, and that's the reason here I am.

Would you please help me with any of the below query?

  1. Remove the Edge so I can install the edge with newer version from msi where command line options are present.
  2. Update Edge without opening it.

Do let me know. As it is somewhat crucial and long pending.

Microsoft Edge | Install and update | Windows 11

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2024-01-01T18:58:47+00:00

    If Edge is not installed, that will be the response, use:

    winget INSTALL Microsoft.Edge --accept-package-agreements --accept-source-agreements --uninstall-previous --disable-interactivity

    when installing on a machine where Edge is not present.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-10-20T08:56:28+00:00

    To update Edge via command line, make sure that the Microsoft Desktop AppInstaller (winget) is present. it is configured if you can type winget in an elevated Powershell Window.

    At the command prompt, type the following then press <ENTER> to upgrade Microsoft Edge to the latest version:

    winget upgrade Microsoft.Edge --accept-package-agreements --accept-source-agreements --uninstall-previous --disable-interactivity

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-10-07T00:29:00+00:00

    Hi

    Thank you, Pasted the same question there. Keeping the link here to help someone who is seeking the same category of answer.

    https://learn.microsoft.com/en-us/answers/questions/1383613/how-can-i-update-edge-with-command-line

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-10-26T10:23:15+00:00

    No! This was not helpful. I have winget, and when I tried doing the same command you posted, it says No installed package found matching input criteria.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. DaveM121 881.2K Reputation points Independent Advisor
    2023-10-07T06:35:01+00:00

    Glad to help!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments