Saturday, June 22, 2024
HomeApplemacos - zsh: command not discovered: clang_select

macos – zsh: command not discovered: clang_select


I’ve tried to put in clang_select in macOS 13.4.1 like this:

> sudo port set up clang_select
--->  Cleansing clang_select
--->  Scanning binaries for linking errors
--->  No damaged recordsdata discovered.
--->  No damaged ports discovered.

however once I use this command in terminal:

> clang_select 16
zsh: command not discovered: clang_select

I’ve already add the trail /decide/native/bin, why nonetheless incorporates this difficulty? that is the $PATH settings:

> echo $PATH

/decide/native/bin:/decide/native/sbin:/Customers/xiaoqiangjiang/Library/pnpm:/Customers/xiaoqiangjiang/.yarn/bin:/Customers/xiaoqiangjiang/.config/yarn/international/node_modules/.bin:/Customers/xiaoqiangjiang/anaconda3/bin:/Customers/xiaoqiangjiang/.sdkman/candidates/java/present/bin:/Customers/xiaoqiangjiang/.nvm/variations/node/v16.14.2/bin:/Customers/xiaoqiangjiang/fvm/default/bin:/decide/homebrew/decide/openssl@3/bin:/decide/homebrew/decide/ruby/bin:/decide/native/bin:/decide/native/sbin:/Library/Frameworks/Python.framework/Variations/3.10/bin:/decide/homebrew/bin:/decide/homebrew/sbin:/usr/native/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Purposes/VMware Fusion.app/Contents/Public:/Library/TeX/texbin:/Library/Apple/usr/bin:/var/run/com.apple.safety.cryptexd/codex.system/bootstrap/usr/native/bin:/var/run/com.apple.safety.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.safety.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Customers/xiaoqiangjiang/.cargo/bin:/Purposes/iTerm.app/Contents/Assets/utilities:/Customers/xiaoqiangjiang/Library/Utility Assist/JetBrains/Toolbox/scripts:/Customers/xiaoqiangjiang/.orbstack/bin:/Customers/xiaoqiangjiang/Library/Python/3.10/bin:/Customers/xiaoqiangjiang/.native/bin:/Customers/xiaoqiangjiang/.pub-cache/bin:/Customers/xiaoqiangjiang/.yarn/bin:/Customers/xiaoqiangjiang/supply/third-party/depot_tools:/Customers/xiaoqiangjiang/Library/Python/3.10/bin:/Customers/xiaoqiangjiang/.native/bin

that is the port model:

> port model
Model: 2.9.3

I additionally tried like this:

> echo 'export PATH="/decide/native/bin:/decide/native/sbin:$PATH"' >> ~/.zshrc

> supply .zshrc

> clang_select
zsh: command not discovered: clang_select

nonetheless couldn’t use the clang_select command.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments