Angular 14 : Install2022/06/24 |
Install Angular which is the Web application framework.
|
|
[1] | |
[2] | Install Angular 14. |
[root@dlp ~]# npm install -g @angular/cli@14 added 32 packages, removed 10 packages, changed 187 packages, and audited 220 packages in 11s 25 packages are looking for funding run `npm fund` for details found 0 vulnerabilities |
[3] | Try to run sample app as a common user. |
[cent@dlp ~]$ ng version ? Would you like to enable autocompletion? This will set up your terminal so pressing TAB while typing Angular CLI commands will show possible options and autocomplete arguments. (Enabling autocompletion will modify configuration files Appended `source <(ng completion script)` to `/home/cent/.bashrc`. Restart your terminal or run the following to autocomplete `ng` commands: source <(ng completion script) ? Would you like to share anonymous usage data about this project with the Angular Team at Google under Google’s Privacy Policy at https://policies.google.com/privacy. For more details and how to change this setting, see https://angular.io/analytics. Yes Thank you for sharing anonymous usage data. Should you change your mind, the following command will disable this feature entirely: ng analytics disable --global Global setting: enabled Local setting: No local workspace configuration file. Effective status: enabled _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 14.0.3 Node: 16.14.0 Package Manager: npm 8.3.1 OS: linux x64 Angular: ... Package Version ------------------------------------------------------ @angular-devkit/architect 0.1400.3 (cli-only) @angular-devkit/core 14.0.3 (cli-only) @angular-devkit/schematics 14.0.3 (cli-only) @schematics/angular 14.0.3 (cli-only)[cent@dlp ~]$ ng new hello-world ? Would you like to add Angular routing? Yes ? Which stylesheet format would you like to use? (Use arrow keys) ..... ..... Packages installed successfully.[cent@dlp ~]$ cd hello-world [cent@dlp hello-world]$ ng serve --host dlp.srv.world --port 4200 ? Would you like to share anonymous usage data about this project with the Angular Team at Google under Google’s Privacy Policy at https://policies.google.com/privacy. For more details and how to change this setting, see https://angular.io/analytics. Yes Thank you for sharing anonymous usage data. Should you change your mind, the following command will disable this feature entirely: ng analytics disable Global setting: enabled Local setting: enabled Effective status: enabled Warning: This is a simple server for use in testing or debugging Angular applications locally. It hasn't been reviewed for security issues. Binding this server to an open connection can result in compromising your application or computer. Using a different host than the one passed to the "--host" flag might result in websocket connection issues. You might need to use "--disable-host-check" if that's the case. ✓ Browser application bundle generation complete. Initial Chunk Files | Names | Raw Size vendor.js | vendor | 2.02 MB | polyfills.js | polyfills | 315.27 kB | styles.css, styles.js | styles | 207.35 kB | main.js | main | 50.11 kB | runtime.js | runtime | 6.52 kB | | Initial Total | 2.58 MB Build at: 2022-06-24T02:05:04.644Z - Hash: eccba03f51655f48 - Time: 16149ms ** Angular Live Development Server is listening on dlp.srv.world:4200, open your browser on http://dlp.srv.world:4200/ ** ✓ Compiled successfully. |
[4] | Access to the URL you set from any client computer, and then that's OK if following site is shown. |
Sponsored Link |