mirror of
https://github.com/nushell/nushell
synced 2024-11-14 00:47:09 +00:00
85bfdca578
Otherwise, one has to remove old installations manually
30 lines
914 B
Bash
Executable file
30 lines
914 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Usage: Just run `./install-all.sh` in nushell root directory
|
|
set -euo pipefail
|
|
|
|
echo "-----------------------------------------------------------------"
|
|
echo "Installing nushell (nu) with dataframes and all the plugins"
|
|
echo "-----------------------------------------------------------------"
|
|
echo ""
|
|
|
|
echo "Install nushell from local..."
|
|
echo "----------------------------------------------"
|
|
cargo install --force --path . --features=dataframe
|
|
|
|
NU_PLUGINS=(
|
|
'nu_plugin_inc'
|
|
'nu_plugin_gstat'
|
|
'nu_plugin_query'
|
|
'nu_plugin_example'
|
|
'nu_plugin_custom_values'
|
|
'nu_plugin_formats'
|
|
)
|
|
|
|
for plugin in "${NU_PLUGINS[@]}"
|
|
do
|
|
echo ''
|
|
echo "----------------------------------------------"
|
|
echo "Install plugin $plugin from local..."
|
|
echo "----------------------------------------------"
|
|
cd crates/"$plugin" && cargo install --force --path . && cd ../../
|
|
done
|