Skip to content

Instantly share code, notes, and snippets.

@VirtuBox
Last active April 9, 2019 16:29
Show Gist options
  • Save VirtuBox/2f149ce45e2449c36f18cb634243fe90 to your computer and use it in GitHub Desktop.
Save VirtuBox/2f149ce45e2449c36f18cb634243fe90 to your computer and use it in GitHub Desktop.
Mkdocs install on Windows with chocolatery

Install chocolatery

With cmd.exe

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

With Powershell

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Install mkdocs & mkdocs-material

choco install mkdocs mkdocs-material -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment