Using Powershell on Jupyter Notebook on Miniforge.
- Miniforge
- Node.js (Use in extentions for JupyterLab)
- Jupyter-PowerShell5 (forked from DeepAQ)
- Jupyter-PowerShellSDK (Optional)
- .Net Interactive (Optional)
.\Miniforge.ps1 [Script Option(s)]
-
InstallationType [Computer | User]
Specify insatallation target to the Computer(All Users) or a User(Just Me).
Mandatory: No
Default: Computer
e.g.: .\Miniforge.ps1 -InstallationType User -
InstallPwsh7SDK
This switch option will install Jupyter-PowerShellSDK.
e.g.: .\Anaconda.ps1 -InstallPwsh7SDK -
InstallDotnetInteractive
This switch option will install latest powershell 7 and available it in Jupyter Notebook options.
e.g.: .\Miniforge.ps1 -InstallDotnetInteractive -
CleanupDownloadFiles
This switch option will delete downloaded files after installations.
e.g.: .\Miniforge.ps1 -DoNotCleanupDownloadFiles -
WorkingFolder [Folder Path]
Specify the working folder in this script. Mandatory: No
Default: $PSScriptRoot (Same folder as this script)
e.g.: .\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