Last active
April 17, 2024 14:50
-
-
Save zamantousif/0a89c56e06bd9087aa4908b2f5ce23ff to your computer and use it in GitHub Desktop.
Revisions
-
zamantousif revised this gist
Apr 17, 2024 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,3 +4,8 @@ curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - &&\ sudo apt-get install -y nodejs # If running into dpkg errors, follow the advice here https://github.com/nodesource/distributions/issues/1157#issuecomment-1605699451 # sudo dpkg --remove --force-remove-reinstreq libnode72:amd64 # sudo dpkg --remove --force-remove-reinstreq libnode-dev -
zamantousif created this gist
Apr 17, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # Check the valid version to install as per your Ubuntu distribution on nodesource github # https://github.com/nodesource/distributions?tab=readme-ov-file#ubuntu-versions # Run below commands for installing latest available nodejs from nodesource ppa on Ubuntu 22.04 (latest at the time of writing) curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - &&\ sudo apt-get install -y nodejs