Linux 新系统配置-zshell版

简介

Linux 新装系统配置,常用命令行工具安装记录。
关于zshell的配置详见,zsh 配置

软件

rust

rustup 安装 rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

如果需要添加 PATH:

export PATH="$HOME/.cargo/bin:$PATH"

cargo 安装 rust 软件:

cargo install eza
cargo install --locked bat
cargo install fd-find
cargo install git-delta
cargo install procs
cargo install sd
cargo install ripgrep
cargo install du-dust
cargo install starship --locked
cargo install tealdeer
cargo install choose
cargo install --locked --git https://github.com/sxyazi/yazi.git
cargo install tokei
cargo install --locked difftastic
cargo install jnv

cargo install zoxide --locked 
# Add `eval "$(zoxide init zsh)"` to the end of zshell config file (usually ~/.zshrc)

golang

下载 go 安装包 安装 go:

rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version

go 安装软件:

env CGO_ENABLED=0 go install -ldflags="-s -w" github.com/gokcehan/lf@latest
go install github.com/charmbracelet/freeze@latest

python

使用 minicondarye 管理。

npm

nvm 管理 npm 版本。

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# restart shell
nvm install node # "node" is an alias for the latest version

# check version
node -v
npm -v

npm 安装软件:

npm i -g projj nrm

lua

下载 lua 源码 安装 lua

curl -L -R -O https://www.lua.org/ftp/lua-5.4.6.tar.gz
tar zxf lua-5.4.6.tar.gz
cd lua-5.4.6
make all test
./install
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容