Skip to content

Commit 7aff7fa

Browse files
committed
Create installChocolatey.cmd
1 parent 98c657a commit 7aff7fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/installChocolatey.cmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@echo off
2+
SET DIR=%~dp0%
3+
4+
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "((new-object net.webclient).DownloadFile('https://chocolatey.org/install.ps1','install.ps1'))"
5+
%systemroot%\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& '%DIR%install.ps1' %*"
6+
SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

0 commit comments

Comments
 (0)