
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@pnp/office365-cli
Advanced tools
Manage Microsoft Office 365 and SharePoint Framework projects on any platform
| @latest/@next (master) | 
|---|
Using the Office 365 CLI, you can manage your Microsoft Office 365 tenant and SharePoint Framework projects on any platform. No matter if you are on Windows, macOS or Linux, using Bash, Cmder or PowerShell, using the Office 365 CLI you can configure Office 365, manage SharePoint Framework projects and build automation scripts.
The Office 365 CLI is distributed as an NPM package. To use it, install it globally using:
npm i -g @pnp/office365-cli
or using yarn:
yarn global add @pnp/office365-cli
The beta version of the Office 365 CLI can be installed by using the @next tag:
npm i -g @pnp/office365-cli@next
Start managing the settings of your Office 365 tenant by logging in to it, using the login command, for example:
o365 login
Office 365 CLI will automatically detect the URL of your tenant based on the account that you use to sign in.
To list all available commands, type in the Office 365 CLI prompt help:
o365 help
See the User Guide to learn more about the Office 365 CLI and its capabilities.
We'd love your help! If you have ideas for new features or feedback, let us know by creating an issue in the issues list. Before you submit a PR with your improvements, please review our project guides.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
FAQs
Manage Microsoft Office 365 and SharePoint Framework projects on any platform
The npm package @pnp/office365-cli receives a total of 629 weekly downloads. As such, @pnp/office365-cli popularity was classified as not popular.
We found that @pnp/office365-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.