mirror of
https://github.com/nushell/nushell.git
synced 2024-11-21 16:03:19 +01:00
85bfdca578
Otherwise, one has to remove old installations manually
32 lines
994 B
PowerShell
32 lines
994 B
PowerShell
|
|
# Usage: Just run `powershell install-all.ps1` in nushell root directory
|
|
|
|
Write-Output "-----------------------------------------------------------------"
|
|
Write-Output "Installing nushell (nu) with dataframes and all the plugins"
|
|
Write-Output "-----------------------------------------------------------------"
|
|
Write-Output ""
|
|
|
|
Write-Output "Install nushell from local..."
|
|
Write-Output "----------------------------------------------"
|
|
cargo install --force --path . --features=dataframe
|
|
|
|
$NU_PLUGINS = @(
|
|
'nu_plugin_example',
|
|
'nu_plugin_gstat',
|
|
'nu_plugin_inc',
|
|
'nu_plugin_query',
|
|
'nu_plugin_custom_values',
|
|
'nu_plugin_formats'
|
|
)
|
|
|
|
foreach ( $plugin in $NU_PLUGINS) {
|
|
Write-Output ''
|
|
Write-Output "----------------------------------------------"
|
|
Write-Output "Install plugin $plugin from local..."
|
|
Write-Output "----------------------------------------------"
|
|
Set-Location crates/$plugin
|
|
cargo install --force --path .
|
|
Set-Location ../../
|
|
}
|
|
|