Skip to content

jbrudvik/dotfiles

Repository files navigation

dotfiles

CI

MacOS setup follows. See also: Debian Linux setup.

Install basics

  • 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

Install dotfiles

$ git clone https://github.com/jbrudvik/dotfiles.git
$ dotfiles/link_dotfiles # WARNING: Destructive!

Install programming languages and tooling

Rust

  • 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

PostgreSQL

  • Install PostgreSQL
    • $ brew install postgresql@15
    • $ brew services start postgresql@15

JavaScript / TypeScript

Python

  • 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

Go

  • 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

Bash

Markdown

Docker

PureScript

Haskell

  • 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 tools

  • 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

Update dotfiles

$ cd dotfiles
$ git pull
$ link_dotfiles # WARNING: Destructive!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks