Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.88 KB

File metadata and controls

46 lines (39 loc) · 1.88 KB

Anaconda

Using Powershell on Jupyter Notebook on Anaconda.

Installing Softwares

Installations

.\Anaconda.ps1 [Script Option(s)]

Script Options

  • InstallationType [Computer | User]
    Specify insatallation target to the Computer(All Users) or a User(Just Me).
    Mandatory: No
    Default: Computer
    e.g.: .\Anaconda.ps1 -InstallationType User

  • InstallPwsh7SDK
    This switch option will install Jupyter-PowerShellSDK.
    e.g.: .\Anaconda.ps1 -InstallPwsh7SDK

  • InstallDotnetInteractive
    This switch option will install .Net Interactive.
    e.g.: .\Anaconda.ps1 -InstallDotnetInteractive

  • CleanupDownloadFiles
    This switch option will delete downloaded files after installations.
    e.g.: .\Anaconda.ps1 -DoNotCleanupDownloadFiles

  • WorkingFolder [Folder Path]
    Specify the working folder in this script. Mandatory: No
    Default: $PSScriptRoot (Same folder as this script)
    e.g.: .\Anaconda.ps1 -WorkingFolder C:\pathto\folder

Installation Example

Set-Location $env:HOMEPATH
Invoke-WebRequest -UseBasicParsing `
    -Uri https://github.com/sakaztk/pwsh-notebook/raw/master/Anaconda/Anaconda.ps1 `
    -OutFile .\Anaconda.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\Anaconda.ps1 -CleanupDownloadFiles -WorkingFolder $env:HOMEPATH -Verbose