aboutsummaryrefslogtreecommitdiffhomepage
path: root/INSTALL.txt
blob: 142213b96919cd4ae9055319bf3137c12d930373 (plain)
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
macOS (homebrew)

```
$ brew install \
    bash \
    bat \
    cmake \
    curl \
    fd \
    fzf \
    gcc \
    git \
    jq \
    ncurses \
    neovim \
    newsboat \
    pandoc \
    python \
    ripgrep \
    ruby \
    tmux \
    tokei \
    tree \
    vim \
    zsh \
    ;

$ brew install --cask \
    alacritty \
    keepassxc \
    ;

$ brew tap "rhysd/hgrep" "https://github.com/rhysd/hgrep"
$ brew install hgrep

# Latest version: https://github.com/adobe-fonts/source-han-code-jp/releases/latest
$ curl -fLo ~/Library/Fonts/SourceHanCodeJP.ttc --create-dirs https://github.com/adobe-fonts/source-han-code-jp/releases/download/2.012R/SourceHanCodeJP.ttc
$ sudo atsutil databases -remove

$ /usr/local/opt/ncurses/bin/infocmp tmux-256color > /var/tmp/tmux-256color.info
$ tic -xe tmux-256color /var/tmp/tmux-256color.info

$ go install github.com/rhysd/vim-startuptime@latest

# Restart your machine.
```



Ubuntu (apt)

```
$ sudo apt install \
    bash \
    bat \
    cmake \
    curl \
    fd-find \
    fzf \
    gcc \
    git \
    jq \
    keepassxc \
    neovim \
    newsboat \
    pandoc \
    python-is-python3 \
    ripgrep \
    ruby \
    tmux \
    vim \
    zsh \
    ;

$ which batcat >/dev/null 2>&1 && sudo ln -s "$(which batcat)" "$(dirname "$(which batcat)")/bat"
$ which fdfind >/dev/null 2>&1 && sudo ln -s "$(which fdfind)" "$(dirname "$(which fdfind)")/fd"

# Change login shell to zsh
$ chsh

$ sudo adduser $(whoami) docker

$ cargo install hgrep
$ cargo install alacritty

$ go install github.com/rhysd/vim-startuptime@latest

$ snap install zig --classic --edge
```