Skip to content

Instantly share code, notes, and snippets.

@pplmx
Last active June 1, 2023 10:01
Show Gist options
  • Save pplmx/89dc11a60c940579755b471aa1c317d4 to your computer and use it in GitHub Desktop.
Save pplmx/89dc11a60c940579755b471aa1c317d4 to your computer and use it in GitHub Desktop.
install some necessary packages for developer

scoop

install scoop

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
irm get.scoop.sh | iex

# You can use proxies if you have network trouble in accessing GitHub, e.g.
irm get.scoop.sh -Proxy 'http://<ip:port>' | iex

add scoop bucket

scoop bucket add extras
scoop bucket add java
scoop bucket add nerd-fonts

scoop update

install some packages

scoop install 7zip bat cmake curl fd fzf gcc gradle gsudo make Meslo-NF-Mono neovim openjdk ripgrep

By Cargo

cargo install bat fd-find ripgrep

# Update all binaries installed by cargo
cargo install --list | grep -vE "^[[:space:]]+.*" | grep -oE "(.*) " | xargs -L1 cargo install

cargo install --list | rg -v "^[[:space:]]+.*" | rg -o "(.*) " | xargs -L1 cargo install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment