Para instalar o Angular é necessário o Node.JS se não tiver instalado instale.
curl -fsSL https://deb.nodesource.com/setup_19.x | bash -
sudo apt-get install -y nodejs
Instale os compiladores
sudo apt install -y build-essential
sudo npm install -g @angular/cli
cd /var/www/html/
sudo ng new dir-app
Rodar o servidor localhost:
ng serve
sudo ufw allow 4200/tcp
sudo ufw reload
Acesse no navegador
[http://localhost:4200/]
READMORE: