2024年10月7日

HYEOS

随事而为

debian install yarn

1 min read
$curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/yarnkey.gpg

$echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

$sudo apt update
$sudo apt install yarn

debian install node

$curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

$source ~/.bashrc

$nvm install --lts

$nvm install stable

$nvm use 18.17.0

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注