在 Debian 或 Ubuntu Linux 上,你可以通过我们的 Debian 包仓库安装 Yarn

步骤:

一、curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

二、echo “deb https://dl.yarnpkg.com/debian/ stable main” | sudo tee /etc/apt/sources.list.d/yarn.list

三、sudo apt-get update && sudo apt-get install yarn

注意:Ubuntu 17.04 默认预装有 cmdtest。 如果您在安装 yarn 时遇到错误,您可能需要先运行 sudo apt-get remove –purge cmdtest 卸载cmdtest然后在执行步骤三。

参考一
参考二

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:23 天前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐