To install Microsoft Office on Windows 10/11 using Winget you first need to ensure that you have Winget installed on the PC. To do this run the following command in a command prompt windows or windows terminal.
winget --version
If Winget is already installed this command will print the version number of Winget installed on the system. If Winget is not installed then you need to update Windows to the latest version and get the App Installer package installed on the system, you can do this by going to this link.
Run the following command to install Microsoft Office.
winget install Microsoft.Office
Code language: CSS (css)
This command will download and install the latest version of Microsoft Office from the official source. Once the installation is complete, you can open Word, Excel or Outlook by going into the start menu or clicking the icons on the desktop.