Manage Microsoft Office 365 and SharePoint Framework projects on any platform
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Updated CI to Node@8.12.0 and npm@6 Nov 24, 2018
.vscode Initial commit Nov 14, 2017
bin/windows Added support for persisting connection Dec 12, 2017
docs Updated release notes Jan 26, 2019
scripts Added support for upgrading SPFx@1.6.0 projects solving #663 Nov 9, 2018
src Added support for SPO-D URLs solving #759 Jan 26, 2019
types Removed treating values of unknown options as numbers solving #702 Dec 15, 2018
.gitignore
.npmignore Added the 'spfx project upgrade' command solving #471 Jun 10, 2018
CONTRIBUTING.md Updated URLs after moving the repo Jun 19, 2018
LICENSE
README.md Added the Office 365 CLI PnP logo Nov 25, 2018
npm-shrinkwrap.json Updated shrinkwrap Jan 26, 2019
package.json Updated version to v1.13.0 Dec 29, 2018
tsconfig.json

README.md

Office 365 CLI

@latest (master) @next (dev)
CircleCI CircleCI
Coverage Status Coverage Status

Office 365 CLI

Join the chat at https://gitter.im/office365-cli/cli

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.

asciicast

Installation

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

Getting started

Start the Office 365 CLI by typing in the command line:

$ office365

o365$ _

Running the office365 command will start the immersive CLI with its own command prompt.

Start managing the settings of your Office 365 tenant by logging in to it, using the spo login <url> site, for example:

o365$ spo login https://contoso-admin.sharepoint.com

Depending on which settings you want to manage you might need to log in either to your tenant admin site (URL with -admin in it), or to a regular SharePoint site. For more information refer to the help of the command you want to use.

To list all available commands, type in the Office 365 CLI prompt help:

o365$ help

To exit the CLI, type exit:

o365$ exit

See the User Guide to learn more about the Office 365 CLI and its capabilities.

Sharing is Caring

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.

SharePoint Patterns and Practices

Disclaimer

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.

telemetry