Skip to content

Commit 10e88fa

Browse files
committed
Create Debian install script
1 parent 10c4513 commit 10e88fa

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

scripts/debian.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#!/usr/bin/env bash
2+
3+
# Debian only (not Ubuntu). Recommended for beefy machines because Cargo can't run on a toaster.
4+
5+
# Install APT binaries.
6+
sudo apt install -y \
7+
build-essential \
8+
curl \
9+
git \
10+
gpg \
11+
mosh \
12+
sudo \
13+
tmux \
14+
tree \
15+
unzip \
16+
vim \
17+
wget \
18+
zsh
19+
20+
# Install Cargo (non-interactively).
21+
curl https://sh.rustup.rs -sSf | sh -s -- -y
22+
23+
# Install Rust binaries.
24+
cargo install \
25+
bat \
26+
eza \
27+
fd-find \
28+
git-delta \
29+
ripgrep \
30+
zoxide
31+
32+
# Install Neovim.
33+
tmpdir=$(mktemp -d)
34+
mkdir -p $tmpdir
35+
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz --output-dir $tmpdir
36+
sudo rm -rf /opt/nvim
37+
sudo tar -C /opt -xzf ${tmpdir}/nvim-linux64.tar.gz
38+
sudo ln -sf /opt/nvim-linux64/bin/nvim /usr/bin/nvim
39+
rm -rf $tmpdir

0 commit comments

Comments
 (0)