pkgx uninstall does not work
char8x opened this issue · comments
Output
When executing uninstall, node cli is executed instead.
❯ pkgx uninstall node
Welcome to Node.js v18.19.0.
Type ".help" for more information.
>
(To exit, press Ctrl+C again or Ctrl+D or type .exit)
>
Env
❯ pkgx --version
pkgx 1.1.1
❯ cat ~/.local/bin/node
#!/bin/sh
exec pkgx +nodejs.org^18 -- node "$@"
Did you per chance pkgx install node
before we had an uninstall command? I bet if you delete ~/.local/bin/node
and reinstall then uninstall will work.
Apologies if that is the case. 1.0.0 didn't support uninstall.
If that isn’t the issue can you cat ~/.local/bin/node
for me?
Did you per chance
pkgx install node
before we had an uninstall command? I bet if you delete~/.local/bin/node
and reinstall then uninstall will work.
Yes, delete and reinstall then uninstall works, thanks !