{"_id":"5586bc35f8942c0d00293ddb","version":{"_id":"5511b00d316c512300151cd2","project":"5511b00d316c512300151ccf","__v":11,"createdAt":"2015-03-24T18:42:21.658Z","releaseDate":"2015-03-24T18:42:21.658Z","categories":["5511b00e316c512300151cd3","55462d123dca710d0046471b","55462d1e35b2240d008389f1","55462ee63dca710d0046471c","5586aedcd23ef40d00de6e95","5586aef0f8942c0d00293dd3","5586bc28867b5e0d0006c4bc","5586bce4f8942c0d00293ddf","5586c209f8942c0d00293def","5587d09eeb5f2421003f9781","558ba534cf331f23002046cf"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5586aedcd23ef40d00de6e95","version":"5511b00d316c512300151cd2","pages":["5586c1d3f8942c0d00293ded","5586c1de867b5e0d0006c4d4"],"project":"5511b00d316c512300151ccf","__v":2,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-06-21T12:32:28.427Z","from_sync":false,"order":1,"slug":"cli-tool","title":"CLI tool"},"__v":4,"project":"5511b00d316c512300151ccf","user":"5511afda316c512300151cce","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-06-21T13:29:25.155Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"The `ngx` command line tool can be installed using npm:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ npm install -g ngx-cli\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"You may have to use `sudo` on OS X and Linux\"\n}\n[/block]\nTo get usage information:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ ngx\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n## What's next?\n\n- [Learn how to initialize a boilerplate to kickstart a project using `ngx-init`](doc:ngx-init) \n- [Learn how to install components in an existing projects using `ngx install`](doc:ngx-install)","excerpt":"","slug":"installing-the-cli-tool","type":"basic","title":"Installing the CLI tool"}

Installing the CLI tool


The `ngx` command line tool can be installed using npm: [block:code] { "codes": [ { "code": "$ npm install -g ngx-cli", "language": "shell" } ] } [/block] [block:callout] { "type": "info", "body": "You may have to use `sudo` on OS X and Linux" } [/block] To get usage information: [block:code] { "codes": [ { "code": "$ ngx", "language": "shell" } ] } [/block] ## What's next? - [Learn how to initialize a boilerplate to kickstart a project using `ngx-init`](doc:ngx-init) - [Learn how to install components in an existing projects using `ngx install`](doc:ngx-install)