包管理工具

包管理工具 #

Linux #

Ubuntu #

apt #

sudo apt install

# download .deb package
sudo dpkg -i fd_8.0.0_amd64.deb  # adapt version number and architecture

Debian #

apt-get #

sudo apt-get install

Fedora #

dnf #

dnf install
dnf copr #
dnf copr enable keefle/fd
dnf install fd

Alpine Linux #

apk #

apk add

Arch Linux #

pacman #

pacman -S

Gentoo Linux #

emerge #

emerge -av

openSUSE Linux #

zypper #

zypper in

Void Linux #

xbps-install #

xbps-install -S

FreeBSD #

pkg #

pkg install

Mac #

Homebrew #

MacPorts #


Windows #

Scoop #

Chocolatey #

其他 #

NixOS / via Nix #

Nix package manager #

nix-env -i

Node.js #

NPM #

# On linux and macOS
npm install -g

Rust #

cargo #

cargo install

本文访问量

本站总访问量

本站总访客数