step1、install Xcode
step2、install xcpkg
step3、update xcpkg-formula-repository
xcpkg update
step4、build and install libsmi
xcpkg install libsmi
xcpkg formula view libsmi
{{ formula }}
if the formula of libsmi dosn't meet your needs, you can edit it ⤵︎
xcpkg formula edit libsmi
after editing, you may want to rebuild this package ⤵︎
xcpkg install libsmi