Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Install Angular in Ubuntu

# Pre-requisites
sudo apt-get install software-properties-common
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
sudo apt-get install nodejs

# verify the installation, view the version of Node.js and NPM
node --version / node -v, npm -v

# Install Angular
npm install -g @angular/cli

# verify the installation, check the version of Angular
# (Source:https://angular.io/cli/version)
ng --v/ ng version 
ng --version/ng version

# If NodeJs vsersion is too old
# Node.js version v13.14.0 detected.
# The Angular CLI requires a minimum Node.js version of either v14.15, or v16.10.
sudo npm install -g n
sudo n lts

Source by www.educative.io #
 
PREVIOUS NEXT
Tagged: #Install #Angular #Ubuntu
ADD COMMENT
Topic
Name
2+7 =