Skip to content

Instantly share code, notes, and snippets.

@kasir-barati
Last active August 25, 2022 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kasir-barati/db54aeefb3f5c78f80a49b856b5ce4a7 to your computer and use it in GitHub Desktop.
Save kasir-barati/db54aeefb3f5c78f80a49b856b5ce4a7 to your computer and use it in GitHub Desktop.
My bash script to install necessary apps in Manjaro
# Upgrade and update
sudo pacman -Syu --noconfirm
# Install Git and config it
sudo pacman -S git
git config --global init.defaultBranch main
git config --global user.name "Kasir Barati"
git config --global user.email "kasir.barati@gmail.com"
# Inatall anf config ssh
sudo pacman -S openssh --noconfirm
ssh-keygen
# Install yay
sudo pacman -S --needed base-devel --noconfirm
sudo git clone https://aur.archlinux.org/yay.git
sudo chown -R $USER:users yay
cd yay
makepkg -si
# Install other apps
sudo pacman -S nodejs --noconfirm
sudo pacman -S npmjs --noconfirm
sudo pacman -Sy etcher --noconfirm
yay -S postman-bin --noconfirm
sudo pacman -S code --noconfirm
sudo pacman -S vlc --noconfirm
sudo pacman -S unrar --noconfirm
sudo pacman -S gimp --noconfirm
sudo pacman -S uget --noconfirm
# Install Docker
sudo pacman -S docker --noconfirm
sudo pacman -S docker-compose --noconfirm
sudo systemctl start docker.service
sudo systemctl enable docker.service
sudo usermod -aG docker $USER
# Add more layout to keyboard
sudo wget https://gist.githubusercontent.com/kasir-barati/04669aacb5acca3a2bdb48ab92d2719d/raw/keyboard-layout -O /usr/local/bin/keyboard-layout
sudo chmod +x /usr/local/bin/keyboard-layout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment