2022-03-05 11:41:28 +00:00
|
|
|
|
|
|
|
# Usage: Just run `powershell install-all.ps1` in nushell root directory
|
|
|
|
|
|
|
|
Write-Output "-----------------------------------------------------------------"
|
2022-11-23 00:58:11 +00:00
|
|
|
Write-Output "Installing nushell (nu) with dataframes and all the plugins"
|
2022-03-05 11:41:28 +00:00
|
|
|
Write-Output "-----------------------------------------------------------------"
|
|
|
|
Write-Output ""
|
|
|
|
|
|
|
|
Write-Output "Install nushell from local..."
|
|
|
|
Write-Output "----------------------------------------------"
|
2023-02-24 17:54:19 +00:00
|
|
|
cargo install --force --path . --features=dataframe
|
2022-03-05 11:41:28 +00:00
|
|
|
|
2022-08-11 14:40:35 +00:00
|
|
|
$NU_PLUGINS = @(
|
2022-03-05 11:41:28 +00:00
|
|
|
'nu_plugin_example',
|
|
|
|
'nu_plugin_gstat',
|
|
|
|
'nu_plugin_inc',
|
2022-08-11 14:40:35 +00:00
|
|
|
'nu_plugin_query',
|
2023-02-13 12:42:08 +00:00
|
|
|
'nu_plugin_custom_values',
|
|
|
|
'nu_plugin_formats'
|
2022-03-05 11:41:28 +00:00
|
|
|
)
|
|
|
|
|
2022-08-11 14:40:35 +00:00
|
|
|
foreach ( $plugin in $NU_PLUGINS) {
|
2022-03-05 11:41:28 +00:00
|
|
|
Write-Output ''
|
|
|
|
Write-Output "----------------------------------------------"
|
|
|
|
Write-Output "Install plugin $plugin from local..."
|
|
|
|
Write-Output "----------------------------------------------"
|
|
|
|
Set-Location crates/$plugin
|
2023-02-24 17:54:19 +00:00
|
|
|
cargo install --force --path .
|
2022-03-05 11:41:28 +00:00
|
|
|
Set-Location ../../
|
|
|
|
}
|
|
|
|
|