blob: 476814214752f6964420b699506f2b5cd325e4df (
plain) (
blame)
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
|
# MacOS
## Prerequisites
Install xcode and homebrew
```bash
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
git clone https://git.sr.ht/~a14m/.rc ~/.rc
cd ~/.rc
brew analytics off
brew tap Homebrew/bundle
brew bundle
```
### Extras
#### iTerm2 profiles
```bash
mkdir -p ~/Library/Application\ Support/iTerm2/DynamicProfiles \
&& cp ~/.config/iterm2/profiles.json ~/Library/Application\ Support/iTerm2/DynamicProfiles/
```
#### `Bash` shell as default
```bash
sudo bash -c 'echo $(brew --prefix)/bin/bash >> /etc/shells'
chsh -s $(brew --prefix)/bin/bash
```
#### Setup ruby/rbenv
```bash
brew install rbenv
git clone https://github.com/tpope/rbenv-ctags.git ~/.rbenv/plugins/rbenv-ctags
git clone https://github.com/sstephenson/rbenv-default-gems.git ~/.rbenv/plugins/rbenv-default-gems
rbenv install $(cat ~/.rc/.rbenv/version)
```
#### Setup python
```bash
brew install uv
uv install $(cat ~/.rc/.pyenv/version)
```
#### Setup GO
```bash
brew install golang
```
#### Setup node/nvm
```bash
brew install nvm
mkdir -p ~/.nvm
exec $SHELL -l
nvm install
nvm alias default
```
#### Mutt email/links browser
```bash
brew install neomutt
brew install links
```
|