https://cloud.hosthatch.com/a/2831
brew tap esolitos/ipa
brew install sshpass
sshpass -p <PASS> ssh <USER>@<IP/DOMAIN> -X
cd ~
sudo apt update && sudo apt upgrade -y
sudo apt install curl wget xclip && sudo apt-get install gcc g++ make
"keep the local version currently installed"
sudo apt-get install zsh
zsh
chsh -s /usr/bin/zsh
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
zimfw install
curl -sS https://starship.rs/install.sh | sh
echo 'eval "$(starship init zsh)"' >> ~/.zshrc
mkdir -p ~/.config && touch ~/.config/starship.toml
starship preset no-runtime-versions >> ~/.config/starship.toml
echo 'command_timeout = 1200\n' | cat - ~/.config/starship.toml > temp && mv temp ~/.config/starship.toml
echo '\n[aws]\ndisabled=true\n\n[gcloud]\ndisabled=true\n' >> ~/.config/starship.toml
echo '[username]\nstyle_user = "green bold"\nstyle_root = "red bold"\nformat = "[$user]($style)"\ndisabled = false\nshow_always = true\n\n[hostname]\nssh_only = false\nformat = "[@$hostname](green bold) "\ndisabled = false' >> ~/.config/starship.toml
echo '\n[git_status]\nahead = "⇡${count}"\ndiverged = "⇕⇡${ahead_count}⇣${behind_count}"\nbehind = "⇣${count}"' >> ~/.config/starship.toml
curl https://getmic.ro | zsh
source /root/.zshrc
curl -sL https://deb.nodesource.com/setup_18.x | sudo zsh -
sudo apt-get install -y nodejs && sudo apt-get update
source /root/.zshrc
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
source /root/.zshrc
curl -fsSL https://get.pnpm.io/install.sh | sh -
source /root/.zshrc
pnpm i -g pm2
ssh-keygen -m PEM -t rsa
cat ~/.ssh/id_rsa.pub
git config --global user.email "<GITHUB EMAIL>"
git config --global user.name "<GITHUB USERNAME>"
sudo nano /etc/ssh/sshd_config
Locate the PasswordAuthentication attribute and set it to yes
nano ~/.zsh
Paste in end:
alias pn='pnpm'
then save
then source
source ~/.zsh