nushell/install-all.ps1

31 lines
955 B
PowerShell
Raw Normal View History

# Usage: Just run `powershell install-all.ps1` in nushell root directory
Write-Output "-----------------------------------------------------------------"
Write-Output "Installing nushell (nu) with --features=extra and all the plugins"
Write-Output "-----------------------------------------------------------------"
Write-Output ""
Write-Output "Install nushell from local..."
Write-Output "----------------------------------------------"
cargo install --path . --features=extra
2022-08-11 16:40:35 +02:00
$NU_PLUGINS = @(
'nu_plugin_example',
'nu_plugin_gstat',
'nu_plugin_inc',
2022-08-11 16:40:35 +02:00
'nu_plugin_query',
'nu_plugin_custom_values'
)
2022-08-11 16:40:35 +02:00
foreach ( $plugin in $NU_PLUGINS) {
Write-Output ''
Write-Output "----------------------------------------------"
Write-Output "Install plugin $plugin from local..."
Write-Output "----------------------------------------------"
Set-Location crates/$plugin
cargo install --path .
Set-Location ../../
}