Angular 16 : Install2023/07/14 |
Install Angular which is the Web application framework.
|
|
[1] | |
[2] | Install Angular 16. |
root@dlp:~# npm install -g @angular/cli@16 ..... ..... added 239 packages in 12s 36 packages are looking for funding run `npm fund` for details |
[3] | Try to run sample app as a common user. |
debian@dlp:~$ ng version _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Angular CLI: 16.1.4 Node: 18.16.1 Package Manager: npm 9.5.1 OS: linux x64 Angular: undefined ... Package Version ------------------------------------------------------ @angular-devkit/architect 0.1601.4 (cli-only) @angular-devkit/core 16.1.4 (cli-only) @angular-devkit/schematics 16.1.4 (cli-only) @schematics/angular 16.1.4 (cli-only)debian@dlp:~$ ng new hello-world ? Would you like to add Angular routing? Yes ? Which stylesheet format would you like to use? CSS CREATE hello-world/README.md (1064 bytes) ..... ..... Packages installed successfully.debian@dlp:~$ cd hello-world debian@dlp:~/hello-world$ ng serve --host dlp.srv.world --port 4200
? Would you like to share pseudonymous 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 pseudonymous 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.28 MB |
polyfills.js | polyfills | 333.15 kB |
styles.css, styles.js | styles | 230.45 kB |
main.js | main | 48.10 kB |
runtime.js | runtime | 6.52 kB |
| Initial Total | 2.89 MB
Build at: 2023-07-14T00:54:23.152Z - Hash: 9fe9a94fb484f927 - Time: 8914ms
** 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 |