https://github.com/nishantcoder108/cicd
https://github.com/nishantcoder108/cicd
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nishantcoder108/cicd
- Owner: NishantCoder108
- Created: 2024-06-23T19:44:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-27T09:54:57.000Z (over 1 year ago)
- Last Synced: 2025-03-28T18:17:03.647Z (9 months ago)
- Language: JavaScript
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Install Node by curl in ubuntu
```bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
```
## Activate
```bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
```
## Apply the changes:
```bash
source ~/.bashrc
```
## Install lates node
```bash
nvm install node
```
## Set the default Node.js version (optional):
```bash
nvm alias default node
```
### Start by pm2
```bash
pm2 start npm --name "my-app" -- start
```