MacOS setup follows. See also: Debian Linux setup.
- Install Homebrew:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install zsh:
$ brew install zsh zsh-completions
- Set zsh as login shell:
$ grep -q $(command -v zsh) /etc/shells || sudo sh -c "echo $(command -v zsh) >> /etc/shells"; sudo chsh -s $(command -v zsh) $(whoami)
- Install Antidote:
$ brew install antidote
- Install Starship:
$ curl -sS https://starship.rs/install.sh | sh
- Install Zed
- Install Ghostty
- Install evil-helix
$ git clone https://github.com/jbrudvik/dotfiles.git
$ dotfiles/link_dotfiles # WARNING: Destructive!
- Install Rust:
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Install rust-analyzer (Rust LSP):
$ brew install rust-analyzer
- Install Clippy:
$ rustup component add clippy
- Install Cargo Watch:
$ cargo install cargo-watch
- Install bacon:
$ cargo install --locked bacon
- Install PostgreSQL
$ brew install postgresql@15
$ brew services start postgresql@15
- Install Bun:
$ curl -fsSL https://bun.sh/install | bash
- Install Node:
$ brew install node
- Install vscode-language-servers-extracted (LSP):
$ bun install -g vscode-langservers-extracted
- Install typescript-language-server (including for JavaScript)
$ bun install -g typescript-language-server typescript
- Install Biome:
$ brew install biome
- Install Python:
$ brew install python
- Install uv:
$ curl -LsSf https://astral.sh/uv/install.sh | sh
- Install ruff:
$ pip install ruff
- Install ruff-lsp:
$ brew install ruff-lsp
- Install Go:
$ brew install go
- Install gopls (Go LSP):
$ go install golang.org/x/tools/gopls@latest
- Install staticcheck:
$ go install honnef.co/go/tools/cmd/staticcheck@latest
- Install Delve (Go debugger):
$ go install github.com/go-delve/delve/cmd/dlv@latest
- Install bash-language-server (Bash LSP):
$ bun install -g bash-language-server
- Install shfmt:
$ go install mvdan.cc/sh/v3/cmd/shfmt@latest
- Install ShellCheck:
$ brew install shellcheck
- Install Marksman (Markdown LSP):
$ brew install marksman
- Install docker-langserver (Docker LSP):
$ bun install -g dockerfile-language-server-nodejs
- Install PureScript:
$ bun install -g purescript
- Install Spago:
$ bun install -g spago@next
- Install purescript-language-server (PureScript LSP):
$ bun install -g purescript-language-server
- Install purs-tidy (PureScript formatter):
$ bun install -g purs-tidy
- Install Haskell:
$ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
$ ghcup tui
- Install HLint:
$ stack install hlint
- Install Hoogle:
$ stack install hoogle
- Install ghcid:
$ stack install ghcid
- Install Prettier globally:
$ bun install -g prettier
- Install delta:
$ brew install git-delta
- Install exa:
$ brew install exa
- Install ripgrep:
$ brew install ripgrep
- Install bat:
$ brew install bat
- Install fzf:
$ brew install fzf
- Install fd:
$ brew install fd
- Install yazi:
$ brew install yazi
- Install glow:
$ brew install glow
- Install watchexec:
$ brew install watchexec
- Install Caddy:
$ brew install caddy
- Install xh:
$ brew install xh
- Install bottom:
$ brew install bottom
- Install hecate:
$ go install github.com/evanmiller/hecate@latest
- Install dog:
$ brew install dog
- Install procs:
$ brew install procs
- Install dust:
$ brew install dust
- Install duf:
$ brew install duf
- Install tokei:
$ brew install tokei
- Install killport:
$ brew install killport
$ cd dotfiles
$ git pull
$ link_dotfiles # WARNING: Destructive!