You need git to be installed before th Show:
sudo apt update -y
sudo apte upgrade -y
sudo apt install git
After this - just clone the repo and start and have fun:
git clone https://github.com/pafthang/docfiles /.dotfiles
./symlink
./install
Important:
Don't forgetn to change Git credentinals
Todo:
To install nodejs use n package manager (in example version 21 will be installed):
n 21
Workaround with n issue:
# make cache folder (if missing) and take ownership
sudo mkdir -p /usr/local/n
sudo chown -R $(whoami) /usr/local/n
# make sure the required folders exist (safe to execute even if they already exist)
sudo mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
# take ownership of Node.js install destination folders
sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
Install bun script:
curl -fsSL https://bun.sh/install | bash
After installation git config:
git config --global user.name "your_name"
git config --global user.email "[email protected]"
Check global setting in home/.gitconfig
Generate ssh cert (just press enter on any question):
ssh-keygen -t ed25519 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub