我想在我的工作区域使用 bat 和 lsd 。
但为了安全起见,我公司的 Centos 6 Linux 服务器已与互联网断开连接。
但我们可以安装一些有助于工作的东西。
> cargo install --locked bat
Updating crates.io index
warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
error: failed to fetch `https://github.com/rust-lang/crates.io-index`
Caused by:
failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?