Last active
October 7, 2023 22:57
-
-
Save dapize/9d770cf801e1b00fa96e476d6e7c76eb to your computer and use it in GitHub Desktop.
For install Node JS 14 in Deepin (distro linux)
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
#!/bin/sh | |
VERSION=node_14.x | |
DISTRO="$(dpkg --status tzdata|grep Provides|cut -f2 -d'-')" | |
echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list | |
echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list | |
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add - | |
sudo apt-get -y update | |
sudo apt-get -y install nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cool