Angular 20 : インストール2025/12/04 |
|
Web アプリケーションフレームワーク Angular のインストールです。 |
|
| [1] | |
| [2] | Angular 18 をインストールします。 |
|
dlp:~ #
dlp:~ # zypper -n install git npm install -g @angular/cli@20 added 340 packages in 31s 69 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 10.9.2 -> 11.6.4 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.4 npm notice To update run: npm install -g npm@11.6.4 |
| [3] | 任意の一般ユーザーで動作確認します。 |
|
suse@dlp:~> ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 20.3.13
Node: 22.15.1
Package Manager: npm 10.9.2
OS: linux x64
Angular: <error>
Package Version
------------------------------------
@angular-devkit/architect 0.2003.13 (cli-only)
@angular-devkit/core 20.3.13 (cli-only)
@angular-devkit/schematics 20.3.13 (cli-only)
@schematics/angular 20.3.13 (cli-only)
suse@dlp:~> ng new hello-world ..... ..... CREATE hello-world/src/app/app.routes.ts (77 bytes) CREATE hello-world/public/favicon.ico (15086 bytes) ✓ Packages installed successfully.suse@dlp:~> cd hello-world suse@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.dev/cli/analytics.
Yes
Global setting: enabled
Local setting: disabled
Effective status: disabled
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.528 seconds] - 2025-12-04T00:57:44.618Z
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] | 任意のクライアントコンピューターで Web アクセスして、以下のようなページが表示されれば OK です。 |
|
| Sponsored Link |
|
|