Skip to content

Question/Documentation: How to use angular-cli when not globally installed? #11738

@danielhelfand

Description

@danielhelfand

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Command (mark with an x)

All commands

Versions

angular-cli 6.1.1
npm 5.6.0

Repro steps

Using CentOS 7 OS, install npm:

curl -sL https://rpm.nodesource.com/setup_8.x | bash -
yum install -y nodejs

Install angular-cli non globally:

npm install @angular/cli@6.1.1

The log given by the failure

bash: ng: command not found

Desired functionality

Ability to install and use multiple versions of the angular-cli on a CentOS 7 OS. I would like to know if this is possible, and I would like for there to be documentation on how to do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions