Use https for deb.nodesource.com repo
This commit is contained in:
parent
d7bfab2162
commit
dc90ce92de
|
@ -42,7 +42,7 @@ Exemple pour avoir la version 16.x en Debian 11 (bullseye)
|
|||
|
||||
~~~
|
||||
# apt install apt-transport-https
|
||||
# echo "deb http://deb.nodesource.com/node_16.x buster main" >> /etc/apt/sources.list.d/nodesource.list
|
||||
# echo "deb https://deb.nodesource.com/node_16.x buster main" >> /etc/apt/sources.list.d/nodesource.list
|
||||
# wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /etc/apt/trusted.gpg.d/nodesource.asc
|
||||
# chmod 644 /etc/apt/trusted.gpg.d/nodesource.asc
|
||||
# apt update && apt install nodejs
|
||||
|
|
Loading…
Reference in New Issue