Difference between revisions of "Choco installation"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
* https://chocolatey.org/install
 +
 +
 +
 +
== Examples ==
 
  [[Set-ExecutionPolicy]] Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
 
  [[Set-ExecutionPolicy]] Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
 +
 
 
  .../...
 
  .../...
 
  Chocolatey (choco.exe) is now ready.
 
  Chocolatey (choco.exe) is now ready.
Line 8: Line 14:
 
  Ensuring Chocolatey commands are on the path
 
  Ensuring Chocolatey commands are on the path
 
  Ensuring chocolatey.nupkg is in the lib folder
 
  Ensuring chocolatey.nupkg is in the lib folder
 +
 +
 +
[[Set-ExecutionPolicy]] Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
 +
 +
.../...
 +
Installation of Chocolatey to default folder requires Administrative permissions. Please run from elevated
 +
prompt. Please see https://chocolatey.org/install for details
 +
and alternatives if needing to install as a non-administrator.
 +
At C:\Users\USER\AppData\Local\Temp\chocolatey\chocoInstall\tools\chocolateysetup.psm1:291 char:9
 +
+        throw "Installation of Chocolatey to default folder requires  ...
 +
+        13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)~
 +
    + CategoryInfo          : OperationStopped: (Installation of...-administrator.:String) [],
 +
RuntimeException
 +
    + FullyQualifiedErrorId : Installation of Chocolatey to default folder requires [[Administrative permissions]]. Please run from elevated prompt. Please see https://chocolatey.org/install for details and alternatives if needing to install as a non-administrator.
  
  
Line 21: Line 41:
 
</pre>
 
</pre>
  
 +
 +
== Related ==
 +
* [[Choco Non-Administrative install]]
 +
* [[Scoop installation]]
  
 
== See also ==
 
== See also ==

Latest revision as of 13:12, 4 December 2023


Examples[edit]

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
 
.../...
Chocolatey (choco.exe) is now ready.
You can call choco from anywhere, command line or powershell by typing choco.
Run choco /? for a list of functions.
You may need to shut down and restart powershell and/or consoles
first prior to using choco.
Ensuring Chocolatey commands are on the path
Ensuring chocolatey.nupkg is in the lib folder


Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

.../...
Installation of Chocolatey to default folder requires Administrative permissions. Please run from elevated 
prompt. Please see https://chocolatey.org/install for details
and alternatives if needing to install as a non-administrator.
At C:\Users\USER\AppData\Local\Temp\chocolatey\chocoInstall\tools\chocolateysetup.psm1:291 char:9
+         throw "Installation of Chocolatey to default folder requires  ...
+         13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)13:09, 4 December 2023 (UTC)~
    + CategoryInfo          : OperationStopped: (Installation of...-administrator.:String) [], 
RuntimeException
    + FullyQualifiedErrorId : Installation of Chocolatey to default folder requires Administrative permissions. Please run from elevated prompt. Please see https://chocolatey.org/install for details and alternatives if needing to install as a non-administrator.


cocho
cocho : The term 'cocho' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ cocho
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (cocho:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException


Related[edit]

See also[edit]

Advertising: