Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Python using Windows Command Prompt

Is it possible to install Python from cmd on Windows? If so, how to do it?

like image 471
madasionka Avatar asked Sep 05 '17 13:09

madasionka


1 Answers

https://docs.python.org/3.6/using/windows.html#installing-without-ui

Installing Without UI: All of the options available in the installer UI can also be specified from the command line, allowing scripted installers to replicate an installation on many machines without user interaction. These options may also be set without suppressing the UI in order to change some of the defaults.

To completely hide the installer UI and install Python silently, pass the /quiet option. To skip past the user interaction but still display progress and errors, pass the /passive option. The /uninstall option may be passed to immediately begin removing Python - no prompt will be displayed.

All other options are passed as name=value, where the value is usually 0 to disable a feature, 1 to enable a feature, or a path.

like image 70
Thomas Munk Avatar answered Sep 21 '22 23:09

Thomas Munk