Feel free to look around, peruse my occasional blogs, or check out my social media presence.
Steps for setting up a new computer
clone this repo into home directory
ssh-keygen -t ed25519 -C "[email protected]"
enter /home/<user>/.ssh/github
go to https://github.com/settings/keys
and add the key from 'cat .ssh/github.pub'
Then:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/github
git clone [email protected]:dgkimpton/dgkimpton.git
cat ~/dgkimpton/bashrc-extension >> ~/.bashrc
echo '~/.ssh/github' >> ~/dgkimpton/ssh-key-list
source ~/.bashrc
git config --global user.name "Duncan Kimpton"
git config --global user.email [email protected]
To add more ssh-keys be sure to add the keyfile path to the ssh-key-list on a new line
On WSL also setup as follows
create /etc/wsl.conf
[interop]
appendWindowsPath = false
Then restart WSL2 with command wsl --shutdown in Windows.
Installing + upgrading node+npm
sudo apt update
sudo apt install nodejs
sudo apt install npm
npm cache clean -f
sudo npm install -g n
sudo n latest
sudo npm install -g npm@latest