-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·86 lines (73 loc) · 1.77 KB
/
install.sh
File metadata and controls
executable file
·86 lines (73 loc) · 1.77 KB
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
#!/bin/bash
set -euo pipefail
# General installation and setup.
# If we're on MacOS use brew to install a bunch of packages.
if [[ "$(uname)" == "Darwin" ]]; then
if ! command -v brew &>/dev/null; then
echo "Error: brew isn't installed."
exit 1
fi
brew install \
nvim \
jq \
yq \
python \
go \
node \
corepack \
coreutils \
fish \
fzf \
kubectl \
ripgrep \
mosh \
blueutil \
shellcheck \
curl \
wget \
cmctl \
jsonnet \
libpq \
awscli \
tree \
pstree \
gh \
gpg \
pinentry-mac \
grpcurl \
gsed \
uv \
ffmpeg \
derailed/k9s/k9s \
kubie
brew install --casks font-meslo-for-powerline \
1password/tap/1password-cli \
ghostty \
rectangle \
docker-desktop \
gcloud-cli
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
"$(brew --prefix)"/opt/fzf/install --all
else
# TODO: Add equivalent commands for other operating systems
echo "Warning: The host os isn't MacOS, some packages won't be installed"
fi
# Language server installation
# See: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
go install golang.org/x/tools/gopls@latest
npm install -g pyright \
typescript \
typescript-language-server \
bash-language-server \
vscode-langservers-extracted \
dockerfile-language-server-nodejs \
@anthropic-ai/claude-code
# Install fisher
# https://github.com/jorgebucaran/fisher
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher
# Enable corepack (and thereby yarn)
corepack enable
# Install rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
echo "OK: install complete"