Last active
March 9, 2025 00:45
-
-
Save iguit0/89ea1a9003d487531e2b5e47a9f082c6 to your computer and use it in GitHub Desktop.
My scripts for APT distros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
echo 'installing curl' | |
sudo apt install curl -y | |
echo 'installing git' | |
sudo apt install git -y | |
echo "What name do you want to use in GIT user.name?" | |
read git_config_user_name | |
git config --global user.name "$git_config_user_name" | |
clear | |
echo "What email do you want to use in GIT user.email?" | |
read git_config_user_email | |
git config --global user.email $git_config_user_email | |
clear | |
echo "Generating a SSH Key" | |
ssh-keygen -t ed25519 -C $git_config_user_email | |
ssh-add ~/.ssh/id_ed25519 | |
echo 'enabling workspaces for both screens' | |
gsettings set org.gnome.mutter workspaces-only-on-primary false | |
echo 'installing zsh' | |
sudo apt-get install zsh -y | |
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" | |
echo 'installing code' | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ | |
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
sudo apt-get install apt-transport-https -y | |
sudo apt-get update | |
sudo apt-get install code -y # or code-insiders | |
echo 'installing code extensions' | |
code --install-extension formulahendry.auto-close-tag | |
code --install-extension formulahendry.auto-complete-tag | |
code --install-extension formulahendry.auto-rename-tag | |
code --install-extension anseki.vscode-color | |
code --install-extension dracula-theme.theme-dracula | |
code --install-extension pkief.material-icon-theme | |
code --install-extension zhuangtongfa.material-theme | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension sysoev.language-stylus | |
code --install-extension christian-kohler.path-intellisense | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension foxundermoon.shell-format | |
code --install-extension pmneo.tsimporter | |
code --install-extension yzhang.markdown-all-in-one | |
code --install-extension vscode-icons-team.vscode-icons | |
code --install-extension octref.vetur | |
echo 'installing spotify' | |
snap install spotify | |
echo 'installing chrome' | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
echo 'installing nvm' | |
sh -c "$(curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash)" | |
export NVM_DIR="$HOME/.nvm" && ( | |
git clone https://github.com/creationix/nvm.git "$NVM_DIR" | |
cd "$NVM_DIR" | |
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)` | |
) && \. "$NVM_DIR/nvm.sh" | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" | |
source ~/.zshrc | |
nvm --version | |
nvm install 12 | |
nvm alias default 12 | |
node --version | |
npm --version | |
echo 'installing autosuggestions' | |
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions | |
echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc | |
source ~/.zshrc | |
echo 'installing theme' | |
sudo apt install fonts-firacode -y | |
wget -O ~/.oh-my-zsh/themes/node.zsh-theme https://raw.githubusercontent.com/skuridin/oh-my-zsh-node-theme/master/node.zsh-theme | |
sed -i 's/.*ZSH_THEME=.*/ZSH_THEME="node"/g' ~/.zshrc | |
echo 'installing terminator' | |
sudo apt-get update | |
sudo apt-get install terminator -y | |
echo 'installing docker' | |
sudo apt-get remove docker docker-engine docker.io | |
sudo apt install docker.io -y | |
sudo systemctl start docker | |
sudo systemctl enable docker | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
docker --version | |
chmod 777 /var/run/docker.sock | |
echo 'installing docker-compose' | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
docker-compose --version | |
echo 'installing inkscape' | |
snap install inkscape | |
echo 'installing postman' | |
snap install postman | |
echo 'installing obs-studio' | |
snap install obs-studio | |
echo 'installing zoom' | |
snap install zoom-client | |
echo 'installing dbeaver' | |
snap install dbeaver-ce | |
echo 'installing htop' | |
sudo apt-get install htop -y | |
echo 'installing gitkraken' | |
snap install gitkraken --classic | |
echo 'installing telegram' | |
snap install telegram-desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment