{"id":20253927,"url":"https://github.com/sumitarora/cli-builds","last_synced_at":"2026-06-12T09:31:56.570Z","repository":{"id":149731268,"uuid":"93057595","full_name":"sumitarora/cli-builds","owner":"sumitarora","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-02T18:18:21.000Z","size":729,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T17:13:34.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sumitarora.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-01T13:00:18.000Z","updated_at":"2017-06-01T14:24:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c305819-e6d8-4765-a040-b845182b8798","html_url":"https://github.com/sumitarora/cli-builds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sumitarora/cli-builds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitarora%2Fcli-builds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitarora%2Fcli-builds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitarora%2Fcli-builds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitarora%2Fcli-builds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumitarora","download_url":"https://codeload.github.com/sumitarora/cli-builds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumitarora%2Fcli-builds/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34238713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T10:28:45.337Z","updated_at":"2026-06-12T09:31:56.236Z","avatar_url":"https://github.com/sumitarora.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Angular CLI\n\n[![Join the chat at https://gitter.im/angular/angular-cli](https://badges.gitter.im/angular/angular-cli.svg)](https://gitter.im/angular/angular-cli?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[![Build Status][travis-badge]][travis-badge-url]\n[![Dependency Status][david-badge]][david-badge-url]\n[![devDependency Status][david-dev-badge]][david-dev-badge-url]\n[![npm][npm-badge]][npm-badge-url]\n\nCLI for Angular applications based on the [ember-cli](http://www.ember-cli.com/) project.\n\n## Note\n\nThe CLI is now in 1.0.\nIf you are updating from a beta or RC version, check out our [1.0 Update Guide](https://github.com/angular/angular-cli/wiki/stories-1.0-update).\n\nIf you wish to collaborate, check out [our issue list](https://github.com/angular/angular-cli/issues).\n\nBefore submitting new issues, have a look at [issues marked with the `type: faq` label](https://github.com/angular/angular-cli/issues?utf8=%E2%9C%93\u0026q=is%3Aissue%20label%3A%22type%3A%20faq%22%20).\n\n## Prerequisites\n\nBoth the CLI and generated project have dependencies that require Node 6.9.0 or higher, together\nwith NPM 3 or higher.\n\n## Table of Contents\n\n* [Installation](#installation)\n* [Usage](#usage)\n* [Generating a New Project](#generating-and-serving-an-angular-project-via-a-development-server)\n* [Generating Components, Directives, Pipes and Services](#generating-components-directives-pipes-and-services)\n* [Updating Angular CLI](#updating-angular-cli)\n* [Development Hints for working on Angular CLI](#development-hints-for-working-on-angular-cli)\n* [Documentation](#documentation)\n* [License](#license)\n\n## Installation\n\n**BEFORE YOU INSTALL:** please read the [prerequisites](#prerequisites)\n```bash\nnpm install -g @angular/cli\n```\n\n## Usage\n\n```bash\nng help\n```\n\n### Generating and serving an Angular project via a development server\n\n```bash\nng new PROJECT-NAME\ncd PROJECT-NAME\nng serve\n```\nNavigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\nYou can configure the default HTTP host and port used by the development server with two command-line options :\n\n```bash\nng serve --host 0.0.0.0 --port 4201\n```\n\n### Generating Components, Directives, Pipes and Services\n\nYou can use the `ng generate` (or just `ng g`) command to generate Angular components:\n\n```bash\nng generate component my-new-component\nng g component my-new-component # using the alias\n\n# components support relative path generation\n# if in the directory src/app/feature/ and you run\nng g component new-cmp\n# your component will be generated in src/app/feature/new-cmp\n# but if you were to run\nng g component ../newer-cmp\n# your component will be generated in src/app/newer-cmp\n# if in the directory src/app you can also run\nng g component feature/new-cmp\n# and your component will be generated in src/app/feature/new-cmp\n```\nYou can find all possible blueprints in the table below:\n\nScaffold  | Usage\n---       | ---\n[Component](https://github.com/angular/angular-cli/wiki/generate-component) | `ng g component my-new-component`\n[Directive](https://github.com/angular/angular-cli/wiki/generate-directive) | `ng g directive my-new-directive`\n[Pipe](https://github.com/angular/angular-cli/wiki/generate-pipe)           | `ng g pipe my-new-pipe`\n[Service](https://github.com/angular/angular-cli/wiki/generate-service)     | `ng g service my-new-service`\n[Class](https://github.com/angular/angular-cli/wiki/generate-class)         | `ng g class my-new-class`\n[Guard](https://github.com/angular/angular-cli/wiki/generate-guard)         | `ng g guard my-new-guard`\n[Interface](https://github.com/angular/angular-cli/wiki/generate-interface) | `ng g interface my-new-interface`\n[Enum](https://github.com/angular/angular-cli/wiki/generate-enum)           | `ng g enum my-new-enum`\n[Module](https://github.com/angular/angular-cli/wiki/generate-module)       | `ng g module my-module`\n\n\n\n\nangular-cli will add reference to `components`, `directives` and `pipes` automatically in the `app.module.ts`. If you need to add this references to another custom module, follow this steps:\n \n 1. `ng g module new-module` to create a new module\n 2.  call `ng g component new-module/new-component`\n \nThis should add the new `component`, `directive` or `pipe` reference to the `new-module` you've created.\n \n### Updating Angular CLI\n\nIf you're using Angular CLI `beta.28` or less, you need to uninstall `angular-cli` package. It should be done due to changing of package's name and scope from `angular-cli` to `@angular/cli`:\n```bash\nnpm uninstall -g angular-cli\nnpm uninstall --save-dev angular-cli\n```\n\nTo update Angular CLI to a new version, you must update both the global package and your project's local package.\n\nGlobal package:\n```bash\nnpm uninstall -g @angular/cli\nnpm cache clean\nnpm install -g @angular/cli@latest\n```\n\nLocal project package:\n```bash\nrm -rf node_modules dist # use rmdir /S/Q node_modules dist in Windows Command Prompt; use rm -r -fo node_modules,dist in Windows PowerShell\nnpm install --save-dev @angular/cli@latest\nnpm install\n```\n\nIf you are updating to 1.0 from a beta or RC version, check out our [1.0 Update Guide](https://github.com/angular/angular-cli/wiki/stories-1.0-update).\n\nYou can find more details about changes between versions in [CHANGELOG.md](https://github.com/angular/angular-cli/blob/master/CHANGELOG.md).\n\n\n## Development Hints for working on Angular CLI\n\n### Working with master\n\n```bash\ngit clone https://github.com/angular/angular-cli.git\ncd angular-cli\nnpm link\n```\n\n`npm link` is very similar to `npm install -g` except that instead of downloading the package\nfrom the repo, the just cloned `angular-cli/` folder becomes the global package.\nAdditionally, this repository publishes several packages and we use special logic to load all of them\non development setups.\n\nAny changes to the files in the `angular-cli/` folder will immediately affect the global `@angular/cli` package,\nallowing you to quickly test any changes you make to the cli project.\n\nNow you can use `@angular/cli` via the command line:\n\n```bash\nng new foo\ncd foo\nnpm link @angular/cli\nng serve\n```\n\n`npm link @angular/cli` is needed because by default the globally installed `@angular/cli` just loads\nthe local `@angular/cli` from the project which was fetched remotely from npm.\n`npm link @angular/cli` symlinks the global `@angular/cli` package to the local `@angular/cli` package.\nNow the `angular-cli` you cloned before is in three places:\nThe folder you cloned it into, npm's folder where it stores global packages and the Angular CLI project you just created.\n\nYou can also use `ng new foo --link-cli` to automatically link the `@angular/cli` package.\n\nPlease read the official [npm-link documentation](https://www.npmjs.org/doc/cli/npm-link.html)\nand the [npm-link cheatsheet](http://browsenpm.org/help#linkinganynpmpackagelocally) for more information.\n\nTo run the Angular CLI test suite use the `node tests/run_e2e.js` command.\nIt can also receive a filename to only run that test (e.g. `node tests/run_e2e.js tests/e2e/tests/build/dev-build.ts`).\n\nAs part of the test procedure, all packages will be built and linked.\nYou will need to re-run `npm link` to re-link the development Angular CLI environment after tests finish.\n\n\n## Documentation\n\nThe documentation for the Angular CLI is located in this repo's [wiki](https://github.com/angular/angular-cli/wiki).\n\n## License\n\nMIT\n\n\n[travis-badge]: https://travis-ci.org/angular/angular-cli.svg?branch=master\n[travis-badge-url]: https://travis-ci.org/angular/angular-cli\n[david-badge]: https://david-dm.org/angular/angular-cli.svg\n[david-badge-url]: https://david-dm.org/angular/angular-cli\n[david-dev-badge]: https://david-dm.org/angular/angular-cli/dev-status.svg\n[david-dev-badge-url]: https://david-dm.org/angular/angular-cli?type=dev\n[npm-badge]: https://img.shields.io/npm/v/@angular/cli.svg\n[npm-badge-url]: https://www.npmjs.com/package/@angular/cli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumitarora%2Fcli-builds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumitarora%2Fcli-builds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumitarora%2Fcli-builds/lists"}