[DOCS] `claude install` command missing from CLI Reference
Documentation Type
Missing documentation (feature not documented)
Documentation Location
https://code.claude.com/docs/en/cli-reference
Section/Topic
The CLI commands table within the CLI Reference.
Current Documentation
The CLI commands table currently lists the following commands:
claudeclaude "query"claude -p "query"claude -cclaude -r "<session>" "query"claude updateclaude mcp
The claude install command is completely absent from this reference list.
What's Wrong or Missing?
The claude install command, which is used to migrate from the deprecated NPM installation to the recommended native installation, is missing from the formal CLI Reference page.
While the command is mentioned in the Setup guide (https://code.claude.com/docs/en/setup), users who use the CLI Reference as their primary source of truth for available commands will not see it. Furthermore, there is no documentation in the reference regarding supported flags for this command, such as the --force flag mentioned in recent version changelogs (e.g., v2.0.67).
Suggested Improvement
Add a new row to the CLI commands table on the CLI Reference page:
| Command | Description | Example |
| :--- | :--- | :--- |
| claude install | Migrate an existing NPM-based installation to a native installation. | claude install |
Additionally, a note could be added regarding the --force flag to help bypass stale lock files during migration.
Impact
High - Prevents users from using a feature
Additional Context
- Setup Guide Reference: The documentation at https://code.claude.com/docs/en/setup states: "NPM installation is deprecated. Use the native installation method when possible. To migrate an existing npm installation to native, run
claude install." - Changelog Evidence: Internal release notes for version 2.0.67 indicate: "Fixed
claude install --forcenot bypassing stale lock files," confirming the command and its flags are active features that should be documented for the user.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗