cli icon indicating copy to clipboard operation
cli copied to clipboard

Typo in install-clean command

Open gaurav-goswami opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

This is a CLI Docs Problem, not another kind of Docs Problem.

  • [x] This is a CLI Docs Problem.

Description of Problem

https://docs.npmjs.com/cli/v9/commands/npm-ci

Under the synopsis there's a typo in the install-clean command

image

install-clean is written as isntall-clean

Potential Solution

Change the command from isntall-clean to install-clean

Affected URL

https://docs.npmjs.com/cli/v9/commands/npm-ci

gaurav-goswami avatar May 04 '24 07:05 gaurav-goswami

Hi @gaurav-goswami , I think what you are looking at there are examples of aliases that will still work even if the command is typed incorrectly by mistake. ie: image

Not actually a typo in the documentation.

The repo for documentation is here: https://github.com/npm/documentation

danieldbird avatar May 04 '24 08:05 danieldbird

@danieldbird Hey Daniel, I've figured it out now! Thank you so much for your help. Initially, I thought it might have been a typo in the documentation. Your explanation cleared things up for me. Thanks again!

gaurav-goswami avatar May 04 '24 08:05 gaurav-goswami