Download and install from command line:
powershell.exe -NoP -NonI -Command "Set-ExecutionPolicy Bypass -Force;$branch='develop';$repo='Janda.Dot.CLI';$ProgressPreference = 'SilentlyContinue';[System.Net.ServicePointManager]::SecurityProtocol = 3072;cd $env:TEMP;Invoke-WebRequest -Uri \"https://github.com/Jandini/$repo/archive/$branch.zip\" -OutFile \"$branch.zip\";Expand-Archive -LiteralPath \"$branch.zip\" -DestinationPath $branch -Force;cd \"$branch\$repo-$branch\";.install.cmd"
Manual installation from command line:
-
Clone
Janda.Dot.CLI
repositorygit clone http://nas/matt/Janda.Dot.CLI.git
-
Change directory to
Janda.Dot.CLI
cd Janda.Dot.CLI
-
Optionally checkout
develop
branch to install latest development buildgit checkout develop
-
Run
.install.cmd
.install
Installation script downloads and install all required prerequisites.
PowerShell:
[System.Net.ServicePointManager]::Expect100Continue=$true;[System.Net.ServicePointManager]::SecurityProtocol=[System.Net.SecurityProtocolType]::Tls12;iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
CommandLine:
powershell.exe -NoP -NonI -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::Expect100Continue=$true;[System.Net.ServicePointManager]::SecurityProtocol=[System.Net.SecurityProtocolType]::Tls12;iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
choco install 7zip.install nuget.commandline git.install git jq curl gitversion.portable dotnetcore-sdk dotnetcore nodejs-lts
set DOT_CID_GITLAB_URL=https://github.com
set DOT_CID_GITLAB_USER=Jandini
call .newlib RightTurn.Extensions.CommandLine
cd ..
cd ..
call .newlib RightTurn.Extensions.Configuration
cd ..
cd ..
call .newlib RightTurn.Extensions.Logging
cd ..
cd ..
call .newlib RightTurn.Extensions.Serilog
cd ..
cd ..