TODO on a new OS

install some necessary tools for me on a new OS

New OS Setup Guide

General Setup

UV Tools

To install essential development tools using UV, follow these steps:

  1. Install UV

  2. Install necessary tools:

    1
    2
    3
    4
    5
    
    uv tool install commitizen
    uv tool install cookiecutter
    uv tool install hatch
    uv tool install pre-commit
    uv tool install ruff
    
  3. Verify the installation:

    1
    2
    
    uv tool dir --bin
    uv tool list
    

Cargo Tools

Install some common Rust tools:

1
cargo install zoxide bat fd-find ripgrep

Note: If you encounter any errors, try using the --locked option:

1
cargo install --locked bat

Windows Setup

Scoop

Install essential and optional tools using Scoop:

  1. Essential Tools:

    1
    
    scoop install 7zip curl fzf gsudo Meslo-NF Meslo-NF-Mono neovim scoop-search
    
  2. Development Tools:

    1
    
    scoop install buf ccache cmake gcc gradle make maven mkcert sccache xmake
    
  3. Additional Tools:

    1
    
    scoop install hugo-extended
    

Winget

Install Oh My Posh using Winget:

1
winget install JanDeDobbeleer.OhMyPosh

Linux Setup

RHEL (Red Hat Enterprise Linux)

For development and virtualization setups:

  1. Development Libraries and Tools:

    1
    2
    
    sudo dnf install -y @development-libs
    sudo dnf install -y @development-tools
    
  2. Virtualization Setup (QEMU and KVM):

    1
    
    sudo dnf install -y @virtualization
    

    Enable and start the virtualization service:

    1
    2
    
    sudo systemctl enable --now libvirtd
    sudo systemctl start libvirtd
    

Debian/Ubuntu

Install build essentials for development:

1
sudo apt install -y build-essential
Licensed under CC BY-NC-SA 4.0
Last updated on Aug 24, 2024 10:42 UTC