Bash script to install nodejs automatically on Linux
Nodejs has multiple versions that different software developed with nodejs may require a specific version. The following is a bash script to make it easy to insall the version of your choice: #!/bin/bash # Script to install Node.js using NVM on Ubuntu without sudo # Function to install NVM install_nvm() { echo "Installing NVM..." curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && [...]
Continue Reading