Closed dougg0k closed 7 months ago
How did you install it? which sd
If it's not in root
's path you won't be able to run it with sudo.
nu ❯ which sd
╭───┬─────────┬──────────────────────────────┬──────────╮
│ # │ command │ path │ type │
├───┼─────────┼──────────────────────────────┼──────────┤
│ 0 │ sd │ /home/user/.cargo/bin/sd │ external │
╰───┴─────────┴──────────────────────────────┴──────────╯
That explains it.
Hi,
If I use
sd
normally it seem to work, but if I applysudo
before it due to permission issue, this is what happenssudo: sd: command not found