-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.sh
executable file
·52 lines (40 loc) · 986 Bytes
/
bootstrap.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
#!/usr/bin/env bash
# macos command line tools
xcode-select --install
# homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
packages=(
"autojump"
"cloc"
"cmake"
"go"
"jq"
"pyenv"
"tree"
"the_silver_searcher"
)
for p in "${packages[@]}"; do
brew install "$p"
done
# pet
brew install knqyf263/pet/pet
# scalafmt
brew install coursier/formulas/coursier
coursier install scalafmt
ln -s "$HOME/Library/Application Support/Coursier/bin"/* "$HOME/bin"
# java
curl -s "https://get.sdkman.io" | bash
sdk install java 17.0.8-zulu
# python
eval "$(pyenv init -)"
pyenv install 3.11.5
pyenv global 3.11.5
# icloud drive
ln -nsf "$HOME/Library/Mobile Documents/com~apple~CloudDocs" "$HOME/CloudDocs"
# git
mkdir -p bin
mkdir -p "$HOME/git/stash"
mkdir -p "$HOME/git/github/copperlight"
pushd "$HOME/git/github/copperlight" || exit 1
git clone [email protected]:copperlight/dotfiles.git
popd || exit 1