-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_once_mise
29 lines (25 loc) · 985 Bytes
/
run_once_mise
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
# Update apt repositories
echo "# Update APT repositories"
sudo apt update
# Install Node.js build dependencies
echo "# Install Node.js build dependencies"
sudo apt install python3 g++ make python3-pip
# Install python build dependencies
echo "# Install python build dependencies"
sudo apt install build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev curl git \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev \
libffi-dev liblzma-dev llvm
# Install zoxide dependencies
echo "# Install zoxide dependencies"
sudo apt install fzf
# Install mise
echo "# Install mise"
curl https://mise.run | sh
eval "$($HOME/.local/bin/mise activate bash --shims)"
mise use --global -y node@latest python@latest java@temurin rust@latest zoxide@latest eza@latest lazygit@latest
rustup component add rust-analyzer
mise settings set experimental true
mise use --global -y cargo:tree-sitter-cli cargo:git-delta
mise settings set experimental false