forked from devopswithcloud/node-sonar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73f21d0
commit c1b130c
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Steps to install node on ubuntu | ||
## Update System Packages | ||
sudo yum update | ||
|
||
## Install Development Tools | ||
sudo yum groupinstall "Development Tools" | ||
|
||
## Install Node.js using NodeSource repository: | ||
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash - | ||
sudo yum install -y nodejs | ||
|
||
## Verify the Node.js installation: | ||
node -v | ||
npm -v | ||
|
||
|
||
# SOnar for node | ||
```bash | ||
npm run sonar | ||
# If issues do following | ||
npm cache clean --force | ||
``` |