-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·109 lines (96 loc) · 2.12 KB
/
install.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/usr/bin/env bash
echo Configuring mac
set -e
if [[ $(xcode-select --version) ]]; then
echo Xcode command tools already installed
else
echo "Installing Xcode commandline tools"
xcode-select --install
fi
if [[ $(brew --version) ]] ; then
echo "Attempting to update Homebrew"
brew update
brew upgrade
else
echo "Attempting to install Homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)" # One-off setup, permanent setup is in fish config.
fi
brew install \
neovim \
git \
cmake \
lima \
bison \
tmux \
jq \
ansible \
awscli \
telnet \
ripgrep \
coreutils \
bat \
fish \
yarn \
libpq \
kubernetes-cli \
kops \
watchman \
httpie \
fzf \
fd \
ctop \
mkcert \
clojure/tools/clojure \
borkdude/brew/clj-kondo \
gnupg \
asdf \
shellcheck \
maven \
helm \
bash-language-server \
clojure-lsp/brew/clojure-lsp-native \
terminal-notifier \
sops \
hashicorp/tap/terraform-ls \
derailed/k9s/k9s \
bash \
helmfile \
age \
babashka/brew/neil \
fairwindsops/tap/nova \
pnpm \
ariga/tap/atlas \
mike-engel/jwt-cli/jwt-cli \
chatblade \
podman \
difftastic \
stats \
int128/kubelogin/kubelogin \
lolcat \
atuin
# This is one-off, permanent setup is in fish config.
source "$(brew --prefix asdf)/libexec/asdf.sh"
asdf plugin add nodejs || true
asdf plugin add java || true
asdf plugin add terraform || true
asdf install nodejs 20.11.1
asdf global nodejs 20.11.1
asdf install java openjdk-21
asdf global java openjdk-21
asdf install terraform latest
asdf global terraform latest
asdf plugin-add direnv
asdf direnv setup --shell fish --version latest # This may not work on the first try
asdf global direnv 2.34.0
./fish/setup.sh
./nvim/setup.sh
./rust/setup.sh
./tmux/setup.sh
./go/setup.sh
./ruby/setup.sh
# Some helm related setup
helm plugin install https://github.com/databus23/helm-diff
helm plugin install https://github.com/jkroepke/helm-secrets --version v4.1.1
helm plugin install https://github.com/helm/helm-mapkubeapis
exec -l $SHELL