1 min
340

Setup raspberry pi 4

Setup raspberry pi 4

  • #linux
  • #devops
  • #raspberry pi

Install neovim

terminal
sudo apt updatesudo apt install git cmake ninja-build gettext libtool libtool-bin autoconf automake \    pkg-config unzip curlgit clone --depth 1 https://github.com/neovim/neovim.git -b release-0.11cd neovimmake CMAKE_BUILD_TYPE=Releasesudo make install

Install Docker and Docker Compose

terminal
curl -fsSL https://get.docker.com | shsudo usermod -aG docker $USERnewgrp dockersudo apt-get updatesudo apt-get install -y docker-compose-plugindocker compose version

Setup Git

Option 1: use github cli

terminal
sudo apt install ghgh auth login

Option 2: use git ssh

  • Generate ssh key
terminal
ssh-keygen -t ed25519 -C "your_email@example.com"
  • Add ssh key to ssh-agent
terminal
eval "$(ssh-agent -s)"ssh-add ~/.ssh/id_ed25519
  • Copy public key to GitHub
terminal
cat ~/.ssh/id_ed25519.pub
Copy the entire output, go to GitHub → Settings → SSH and GPG keys → New SSH key → paste it.
  • Test connection
terminal
ssh -T git@github.com
If you see this, you're all set!
Hi username! You've successfully authenticated, ...

References

>Newsletter

Stay Updated

Get notified when I publish new articles, tutorials, and project updates. Subscribe for insights and actionable content.