-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·70 lines (55 loc) · 1.79 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
# setup
brew update && brew upgrade
brew install fish
# gitconfig
cp ~/.config/.gitconfig ~/.gitconfig
# setup fish as default shell
fish_add_path /usr/local/Homebrew/bin
echo /usr/local/Homebrew/bin | sudo tee -a /etc/shells
chsh -s /usr/local/Homebrew/bin || true
fish || true
# fish plugin manager
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
fisher install jorgebucaran/nvm.fish # node version manager
fisher install edc/bass # bash with fish
fisher install reitzig/sdkman-for-fish # sdkman for fish
fisher install JGAntunes/fish-gvm # gvm for fish
# install life basically
brew install \
jq yq fish neovim tmux rectangle starship kind \
gh wget kubectl openvpn-connect fswatch luarocks \
lazydocker coreutils ko bat ripgrep fd git-delta \
brew-cask-completion stats
brew tap hashicorp/tap
brew install hashicorp/tap/terraform hashicorp/tap/vault
brew install --cask alacritty --no-quarantine
brew install --cask font-fira-mono-nerd-font
brew install fzf && fzf --fish | source
# dev (java)
curl -s https://get.sdkman.io | bash
# setup rectangle window manager
mkdir -p ~/Library/Application\ Support/Rectangle/
cp ~/.config/RectangleConfig.json ~/Library/Application\ Support/Rectangle/
# dev (go)
brew install go golangci-lint
if ! command -v gvm 2>&1 >/dev/null
then
bash (curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer | psub)
fi
gvm install go1.23.3
# dev (rust)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# dev (lua)
cargo install stylua
# dev (js)
nvm install latest
npm install -g yarn
# dev (java)
sdk install java
# dev (python)
brew install pipx
pipx ensurepath
pipx install poetry
poetry completions fish > ~/.config/fish/completions/poetry.fish
# last cleanup
brew update && brew upgrade