A16 ‐ Start M365 as‐a‐code configuration ‐ M365‐CLI - dcasota/m365-scripts GitHub Wiki
CLI for Microsoft 365 helps you manage your Microsoft 365 tenant and SharePoint Framework projects. See
Prerequisites on Microsoft Windows
- Powershell 7
- NodeJS
Open a Powershell 7 console.
Run the following command.winget install OpenJS.NODEJS.LTS
Installation
Re-Open a Powershell 7 console.
Run the following command.
npm install -g @pnp/cli-microsoft365