Unverified50% confidenceFactExact time
~/.local/bin 遵循 XDG Base Directory 规范,是 Linux 和 macOS 中用户级可执行文件的惯例存放位置,不需要 root 权限即可写入
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
7/2/2026
First Seen
Valid until: 9/30/2026
Sources
Claude Code安装配置全攻略:从零开始到验证成功
bilibili安迪讲AI6/25/2026
Related Claims
Unverified在 macOS 系统中通过 curl | bash 一键安装模式,脚本能够在用户输入密码授权后以管理员权限运行任意命令,权限边界几乎没有技术层面的限制61% similarUnverifiedBash是绝大多数Linux发行版和macOS的默认Shell,是一门图灵完备的脚本语言61% similarUnverified在macOS上,IDE启动内置终端时需要读取/etc/paths和用户的shell配置文件来继承环境变量57% similarUnverified写入环境变量后必须执行 source ~/.bashrc 或 source ~/.zshrc 重新加载配置才能生效,否则新终端窗口不会包含手动设置的变量56% similarUnverified在Unix/Mac系统上,NVM通过shell函数实现,修改的是当前shell会话中的PATH变量56% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/40962API
curl https://kongchang.com/api/v1/knowledge/claims/40962MCP
get_claim(id=40962)