Changes to work on vps

This commit is contained in:
2025-09-22 14:05:35 +00:00
parent dbaa71b374
commit a2333aa608
4 changed files with 38 additions and 5 deletions

View File

@@ -9,6 +9,7 @@ done
sudo apt update
sudo apt install \
unzip \
feh \
wget \
curl \
@@ -27,12 +28,17 @@ sudo snap install rustup --classic
rustup default stable
rustup update
# Oh my posh
curl -s https://ohmyposh.dev/install.sh | sudo bash -s
curl -s https://ohmyposh.dev/install.sh | bash -s
# Node version manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 22
nvm use 22
npm install
# Install nvim
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
sudo rm -rf /opt/nvim
sudo rm -rf /opt/nvim-linux-x86_64
sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
if $graphical; then