Angular è un framework JavaScript per applicazioni single-page. Include template dichiarativi, dependency injection e tooling completo. Su Debian si installa tramite npm, quindi serve Node.js.
Prerequisiti
- Server Debian 10
- Utente sudo o root
1. Aggiornare il sistema
sudo apt update sudo apt upgrade
2. Installare Node.js
sudo apt-get install software-properties-common curl curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install nodejs sudo npm install npm@latest -g
3. Installare Angular CLI
sudo npm install -g @angular/cli
4. Creare progetto
ng new idroot-project cd idroot-project ng serve
Aprire https://localhost:4200/.