CentOS Stream 9 Angular 14をインストールする方法

環境
CentOS Stream 9
Node.js 16

インストール方法
1. Angular 14 をインストールします
# npm install -g @angular/cli@14

2.任意の一般ユーザーで動作確認します。
$ ng version
$ ng new hello-world

hello-worldプロジェクトを作成します
$ cd hello-world
$ ng serve –host dlp.srv.world –port 4200

3.任意のクライアントコンピューターで Web アクセスして、以下のようなページが表示されれば OK です。
ホスト名:4200/

CentOS Stream 9

Posted by arkgame