iSMC
iSMC copied to clipboard
install instructions don't seem to work?
i ran what i was advised in the README:
$ CGO_ENABLED=1 go install github.com/dkorunic/iSMC@latest
go: downloading github.com/dkorunic/iSMC v0.10.0
go: downloading github.com/spf13/cobra v1.10.1
go: downloading github.com/fvbommel/sortorder v1.1.0
go: downloading github.com/jedib0t/go-pretty/v6 v6.6.8
go: downloading github.com/panotza/gosmc v1.0.0
go: downloading github.com/spf13/pflag v1.0.10
go: downloading golang.org/x/text v0.30.0
go: downloading github.com/mattn/go-runewidth v0.0.19
go: downloading github.com/clipperhouse/uax29/v2 v2.2.0
# github.com/panotza/gosmc
smc.c:73:5: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:143:1: note: 'IOMasterPort' has been explicitly marked deprecated here
$ iSMC hwlp
bash: iSMC: command not found
does not seem to be installed?
update: ok i see it's installed under $HOME/go/bin/iSMC -- this is not in my PATH by default.. maybe might be worth mentioning in the README? btw, what i was really hoping for was a brew install command :-)