-
Notifications
You must be signed in to change notification settings - Fork 1
/
install-packages.sh
73 lines (64 loc) · 1.29 KB
/
install-packages.sh
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/bash
set -euo pipefail
# Install Homebrew
if [ ! "$(command -v brew)" ]; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
# Install uv
if [ ! "$(command -v uv)" ]; then
curl -LsSf https://astral.sh/uv/install.sh | sh
fi
brew_formulae="\
1password-cli \
bat \
chezmoi \
curl \
docker \
docker-buildx \
docker-compose \
font-hack-nerd-font \
gh \
git \
git-delta \
git-lfs \
gnu-sed \
gnupg \
just \
kubernetes-cli \
kustomize \
lsd \
pinentry-mac \
ripgrep \
starship \
tldr \
tree \
wget \
"
brew_casks="\
gpg-suite \
keepassxc \
keepingyouawake \
ngrok \
"
uv_packages="\
asciinema \
black \
cookiecutter \
hatchling \
llm \
pgcli \
poetry \
pre-commit \
python-lsp-server[all] \
rich-cli \
ruff \
snakeviz \
yq \
"
brew install $brew_formulae
brew install --cask $brew_casks
mkdir -p ~/.docker/cli-plugins
ln -sfn /opt/homebrew/bin/docker-compose ~/.docker/cli-plugins/docker-compose
ln -sfn /opt/homebrew/opt/docker-buildx/bin/docker-buildx ~/.docker/cli-plugins/docker-buildx
uv tool install xonsh[full] --with xontrib-vox
echo "$uv_packages" | xargs -n 1 uv tool install