Skip to content

Instantly share code, notes, and snippets.

View onur2677's full-sized avatar
🎯
Focusing

Onur Atam onur2677

🎯
Focusing
View GitHub Profile
@onur2677
onur2677 / install-node.js.sh
Last active December 9, 2019 07:54
Install Node.js on Linux by using version number and platform information
read -p "Enter Version (Example: 6.10.1): " VERSION
read -p "Enter Platform (Default: x64): " PLATFORM
if [[ "$PLATFORM" == "" ]]; then
PLATFORM="x64"
fi
FORMAT="tar.gz"
OS="linux"
DIRNAME="node-v${VERSION}-${OS}-${PLATFORM}"