Cli-microsoft365: Bug report: Docs - unwanted 'm365' prefixed in the command for installing CLI using npm and yarn

Created on 9 Oct 2020  路  4Comments  路  Source: pnp/cli-microsoft365

Description

Command for installing CLI in the document Installing the CLI is mentioned wrong.

Steps to reproduce

Go to the page, Installing the CLI
command is mentioned as m365 npm install -g @pnp/cli-microsoft365 while it is supposed to be npm install -g @pnp/cli-microsoft365.

The same applies to m365 yarn global add @pnp/cli-microsoft365 as well in the same page.

Expected result

Command for installing should like below.
npm install -g @pnp/cli-microsoft365
yarn global add @pnp/cli-microsoft365

Actual result

m365 npm install -g @pnp/cli-microsoft365
m365 yarn global add @pnp/cli-microsoft365

Environment

N/A

bug docs work in progress

Most helpful comment

Thanks @garrytrinder for assigning that to me.

While going through that, there were 2 section which also needs fixes which are, Check installed version using node command, Check if a new version is available,
Update the CLI and Uninstall the CLI . I would be updating those as well along with this PR. Hope that is fine with you guys.

All 4 comments

Hello all - Please feel free to assign it to me if you guys all are fine with that,

Good catch @arjunumenon 馃憤馃徎

All yours, thank you for the help 鉂わ笍

Thanks @garrytrinder for assigning that to me.

While going through that, there were 2 section which also needs fixes which are, Check installed version using node command, Check if a new version is available,
Update the CLI and Uninstall the CLI . I would be updating those as well along with this PR. Hope that is fine with you guys.

Good catch! Thank you 馃憦

Was this page helpful?
0 / 5 - 0 ratings