Skip to content

@ionic/cli MacOS Install Error #5120

@Previncoin

Description

@Previncoin

Description:

When running "npm install -g @ionic/cli" in MacOS terminal, I get this message:

npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated superagent@9.0.2: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/

When I run "cd cli" I get:
cd: no such file or directory: cli

node.js: v24.4.1
npm: v11.6.0
MacOS Sequoia 15.6.1

Steps to Reproduce:

Output:

My ionic info:

<paste here>

Other Information:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions