File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments