Chocolatey: Difference between revisions

From Omnia
Jump to navigation Jump to search
Line 105: Line 105:


All:
All:
  choco install -y putty kitty notepadplusplus cygwin 7zip openhashtab filezilla irfanview irfanviewplugins winmerge
  choco install -y putty kitty notepadplusplus cygwin 7zip openhashtab filezilla irfanview irfanviewplugins winmerge rsync


=== putty ===
=== putty ===
Line 125: Line 125:
=== winmerge ===
=== winmerge ===
  choco install -y winmerge
  choco install -y winmerge
=== rsync ===
choco install -y rsync
== More ==
=== adobereader ===
choco install adobereader
=== git ===
choco install git
=== gimp ===
choco install gimp
=== ccleaner ===
choco install ccleaner


== Keywords ==
== Keywords ==

Revision as of 21:30, 21 April 2024

Install Chocolatey

Install with PowerShell...

Note: With PowerShell, you must ensure Get-ExecutionPolicy is not Restricted. We suggest using Bypass to bypass the policy to get things installed or AllSigned for quite a bit more security.

Run:

Get-ExecutionPolicy.

If it returns Restricted, then run:

Set-ExecutionPolicy AllSigned
# or
Set-ExecutionPolicy Bypass -Scope Process

Then run:

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'))

ref: https://chocolatey.org/install

---

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin

Ref: http://www.hanselman.com/blog/IsTheWindowsUserReadyForAptget.aspx

Install Package

choco install [PACKAGE]
# or
cinst [PACKAGE]

List Intalled

choco list

Remove Package

choco uninstall [PACKAGE]

Upgrade Package

chocolatey upgrade [PACKAGE]
# OR (warning shim is being removed)
cup [PACKAGE]

Upgrade All Packages

choco upgrade all
choco upgrade all -y
# OR (warning shim is being removed)
cup all

ref: [1]

Package List Online

https://community.chocolatey.org/packages

Install Custom Package From Source Path

choco install [PACKAGE] --source //smb.oeey.com/chocolatey/packages

32bit Python 2.7

Install:

choco install -y python2-x86_32
choco install -y python2-x86_32 pip

Ref: https://chocolatey.org/packages/python2-x86_32

64bit Python 2.7

Install:

choco install -y python2

Ref: https://chocolatey.org/packages/python2

Clear Cache

%temp%\Chocolatey
%temp%\

Logs

C:\ProgramData\chocolatey\logs

Favorites

choco install -y putty
choco install -y kitty
choco install -y notepadplusplus
choco install -y cygwin
choco install -y 7zip
choco install -y openhashtab
choco install -y filezilla
choco install -y irfanview irfanviewplugins
choco install -y winmerge

All:

choco install -y putty kitty notepadplusplus cygwin 7zip openhashtab filezilla irfanview irfanviewplugins winmerge rsync

putty

choco install -y putty

kitty

choco install -y kitty

notepadplusplus

choco install -y notepadplusplus

cygwin

choco install -y cygwin

7zip

choco install -y 7zip

openhashtab

choco install -y openhashtab

filezilla

choco install -y filezilla

Irfanview

choco install -y irfanview irfanviewplugins

winmerge

choco install -y winmerge

rsync

choco install -y rsync


More

adobereader

choco install adobereader

git

choco install git

gimp

choco install gimp

ccleaner

choco install ccleaner

Keywords