ej52 / proxmox-scripts

MIT License
587 stars 308 forks source link

How to upgrade NPM? #9

Closed netstx closed 3 years ago

netstx commented 3 years ago

Hi @ej52, thanks for sharing these scripts, they are really useful. I used your setup.sh to install npm 2.8.0 on an alpine lxc container that I created manually on proxmox. Do you have any feedback on the recommended way to upgrade npm to 2.8.1 for example?

ej52 commented 3 years ago

@netstx The script should install/upgrade the latest version of npm if you run the setup again.

wget --no-cache -qO - https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/setup.sh | sh

netstx commented 3 years ago

Thanks!

Oujiii commented 3 years ago

@ej52 Quick question, didn't wanna raise a new issue for that. Whenever NPM is updated I can just run the install script and it will pull the latest version?

Thank you.

netstx commented 3 years ago

@Oujiii looking at the code, it looks like that's what it does

Oujiii commented 3 years ago

@netstx I thought the same by looking into the code, but wanted to confirm just to be sure.

ej52 commented 3 years ago

@ej52 Quick question, didn't wanna raise a new issue for that. Whenever NPM is updated I can just run the install script and it will pull the latest version?

Thank you.

@Oujiii that is correct