首页 > 其他 > 详细

WSL安装starship

时间:2020-07-10 23:20:48      阅读:107      评论:0      收藏:0      [点我收藏+]

Installing via curl error - starship: Cannot open: Permission denied · Issue #838 · starship/starship https://github.com/starship/starship/issues/838

Tarball URL: https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-gnu.tar.gz
上面就是WSL对应的starship安装包,根据这个下载链接,下载starship-x86_64-unknown-linux-gnu.tar.gz文件到本地,访问github下载慢可以参考github下载加速或者代下方案。

解压得到WSL可用的linux的二进制文件starship,在starship所在文件夹下

sudo install starship /bin

Bash
Add the following to the end of ~/.bashrc:

# ~/.bashrc

eval "$(starship init bash)"

可以用nano打开编辑

nano ~/.bashrc

WSL安装starship

原文:https://www.cnblogs.com/lingr7/p/13281839.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!