-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
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
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 |