npm / cli

the package manager for JavaScript

Home Page:https://docs.npmjs.com/cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in install-clean command

gaurav-goswami opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

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

  • 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

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 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!