This is a short write-up of my experiences with installing Debian on a ThinkPad W540.
All commands should be run as root, unless indicated otherwise.
#!/bin/sh | |
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add - | |
echo "deb https://deb.nodesource.com/node $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/nodesource.list | |
echo "deb-src https://deb.nodesource.com/node $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list | |
sudo apt-get update | |
sudo apt-get install nodejs |
This is a short write-up of my experiences with installing Debian on a ThinkPad W540.
All commands should be run as root, unless indicated otherwise.