赞
踩
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/nodesource.gpg
sudo tee /etc/apt/sources.list.d/nodesource.list <<-'EOF'
deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
EOF
apt update
apt install nodejs
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。