Skip to content

Commit

Permalink
Create Debian install script
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPickles committed Nov 16, 2024
1 parent 10c4513 commit 10e88fa
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions scripts/debian.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env bash

# Debian only (not Ubuntu). Recommended for beefy machines because Cargo can't run on a toaster.

# Install APT binaries.
sudo apt install -y \
build-essential \
curl \
git \
gpg \
mosh \
sudo \
tmux \
tree \
unzip \
vim \
wget \
zsh

# Install Cargo (non-interactively).
curl https://sh.rustup.rs -sSf | sh -s -- -y

# Install Rust binaries.
cargo install \
bat \
eza \
fd-find \
git-delta \
ripgrep \
zoxide

# Install Neovim.
tmpdir=$(mktemp -d)
mkdir -p $tmpdir
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz --output-dir $tmpdir
sudo rm -rf /opt/nvim
sudo tar -C /opt -xzf ${tmpdir}/nvim-linux64.tar.gz
sudo ln -sf /opt/nvim-linux64/bin/nvim /usr/bin/nvim
rm -rf $tmpdir

0 comments on commit 10e88fa

Please sign in to comment.