Miniforgeを使用してJupyter Notebook上でPowershellを使用する。
- Miniforge
- Node.js (Use in extentions for JupyterLab)
- Jupyter-PowerShell5 (DeepAQからフォーク)
- Jupyter-PowerShellSDK (オプション)
- .Net Interactive (オプション)
.\Miniforge.ps1 [スクリプトオプション]
-
InstallationType [Computer | User]
インストールターゲットをComputer(すべてのユーザー)またはUser(実行ユーザー)に指定します。
必須: いいえ
デフォルト: Computer
例: .\Miniforge.ps1 -InstallationType User -
InstallPwsh7SDK
このスイッチオプションを指定すると、 Jupyter-PowerShellSDKをインストールします。
例: .\Anaconda.ps1 -InstallPwsh7SDK -
InstallDotnetInteractive
このスイッチオプションを指定すると、.Net Interactiveをインストールします。
例: .\Miniforge.ps1 -InstallDotnetInteractive -
CleanupDownloadFiles
このスイッチオプションを指定すると、インストール後にダウンロードしたファイルを削除します。 例: .\Miniforge.ps1 -DoNotCleanupDownloadFiles -
WorkingFolder [Folder Path]
スクリプトで使用する作業フォルダを指定します。
必須: いいえ
デフォルト: $PSScriptRoot (このスクリプトと同じフォルダ)
例: .\Miniforge.ps1 -WorkingFolder C:\pathto\folder
Set-Location $env:HOMEPATH
Invoke-WebRequest -UseBasicParsing `
-Uri https://github.com/sakaztk/pwsh-notebook/raw/master/Miniforge/Miniforge.ps1 `
-OutFile .\Miniforge.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\Miniforge.ps1 -CleanupDownloadFiles -WorkingFolder $env:HOMEPATH -Verbose
pip install jupyterlab-language-pack-ja-JP