CentOS Stream 10

Angular 20 : Install2026/04/22

 

Install Angular which is the Web application framework.

[1]

Install Node.js 24, refer to here.

[2] Install Angular 20.
[root@dlp ~]#
dnf -y install git
[root@dlp ~]#
ln -s /usr/bin/node-24 /usr/bin/node

[root@dlp ~]#
ln -s /usr/bin/npm-24 /usr/bin/npm

[root@dlp ~]#
npm-24 install -g @angular/cli@20


added 293 packages in 33s

66 packages are looking for funding
  run `npm fund` for details
[3] Try to run sample app as a common user.
[cent@dlp ~]$
ng version


     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/



Angular CLI: 20.3.24
Node: 24.14.1
Package Manager: npm <error>
OS: linux x64


Angular: <error>

Package                      Version
------------------------------------
@angular-devkit/architect    0.2003.24 (cli-only)
@angular-devkit/core         20.3.24 (cli-only)
@angular-devkit/schematics   20.3.24 (cli-only)
@schematics/angular          20.3.24 (cli-only)

[cent@dlp ~]$
ng new hello-world


.....
.....

✓ Do you want to enable Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering)? No
✓ Do you want to create a 'zoneless' application without zone.js? No
✓ Which AI tools do you want to configure with Angular best practices? https://angular.dev/ai/develop-with-ai None
✓ Packages installed successfully.

[cent@dlp ~]$
cd hello-world

[cent@dlp hello-world]$
ng serve --host dlp.srv.world --port 4200

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.

Initial chunk files | Names         | Raw size
main.js             | main          | 47.73 kB |
polyfills.js        | polyfills     | 95 bytes |
styles.css          | styles        | 95 bytes |

                    | Initial total | 47.92 kB

Application bundle generation complete. [1.450 seconds] - 2026-04-22T01:58:13.140Z

Watch mode enabled. Watching for file changes...
NOTE: Raw file sizes do not reflect development server per-request transformations.
  →  Network: http://dlp.srv.world:4200/
  →  press h + enter to show help
[4] Access to the URL you set from any client computer, and then that's OK if following site is shown.
Matched Content