2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-01-19 16:44:46 +00:00
nushell/uninstall-all.sh

20 lines
374 B
Bash
Raw Normal View History

#!/bin/sh
echo ''
echo "----------------------------------------------"
echo "Uninstall nu and all plugins from cargo/bin..."
echo "----------------------------------------------"
NU_PLUGINS=(
'nu_plugin_inc'
'nu_plugin_gstat'
'nu_plugin_query'
'nu_plugin_example'
)
cargo uninstall nu
for plugin in "${NU_PLUGINS[@]}"
do
cargo uninstall $plugin
done