Downloads of v 5.48:


Last Update:


Package Maintainer(s):

Software Author(s):

  • Mark Nudelman


pager viewer


This is not the latest version of Less available.

5.48 | Updated: 2/14/2019



Downloads of v 5.48:



Software Author(s):

  • Mark Nudelman


pager viewer

Less 5.48

This is not the latest version of Less available.

All Checks are Passing

2 Passing Test

Validation Testing Passed

Verification Testing Passed


To install Less, run the following command from the command line or from PowerShell:


To upgrade Less, run the following command from the command line or from PowerShell:


To uninstall Less, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade less -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade less -y --source="'STEP 3 URL'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure less installed
    name: less
    state: present
    version: 5.48
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'less' do
  action    :install
  version  '5.48'
  source   'STEP 3 URL'

See docs at

    Name: less,
    Version: 5.48,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller less
   Name     = 'less'
   Ensure   = 'Present'
   Version  = '5.48'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'less':
  provider => 'chocolatey',
  ensure   => '5.48',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install less version="5.48" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 5/31/2019.


Less is a CLI pager, a program that displays text files. Other pagers commonly in use are more and pg. Less is similar to more, but allows backward movement in the file as well as forward movement. Also, less does not have to read the entire input file before starting, so with large input files it starts up faster than text editors like vi.


  • If you are using PSCX, you must override its internally distributed less version using the following in your $PROFILE: ($Pscx:Preferences).PageHelpUsingLess = $false


Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Package can be verified like this:

1. Go to


   to download the zip package.

2. You can use one of the following methods to obtain the checksum:
   - Use powershell function 'Get-FileHash'
   - Use Chocolatey utility 'checksum.exe'

   checksum32: 4B71434C5B01022FF9FDD98F410EBA643CD05BFAE51161177FA6F0E894659969
Hash: RIPEMD160

MD5(less.exe)= d8abd41ffb37e8aa2433726d9e36b004
SHA1(less.exe)= e8d8fac339830034c03dc738771e38d659aa1c0d
SHA256(less.exe)= e1965fffe5ee9ef91f6aca6d3f60392a7aa8e2b5188b566d794f90fd70aa7db8
MD5(lesskey.exe)= fbdb01a42f68a82ab14cd3bf9db6ad9d
SHA1(lesskey.exe)= 8f186e750466cd2a3eb145d6f5c67ad2607c5263
SHA256(lesskey.exe)= 3dfa724026d4c7e4d49133df903709f4a8eed191800941c73c48a9586d56de36

md5: D8ABD41FFB37E8AA2433726D9E36B004 | sha1: E8D8FAC339830034C03DC738771E38D659AA1C0D | sha256: E1965FFFE5EE9EF91F6ACA6D3F60392A7AA8E2B5188B566D794F90FD70AA7DB8 | sha512: 1CB400C0CD2949F225B7E094CC4BFAA9C39724D9B18F8C0CB67468E698B63EF30B063F2B5B7A525D65961D8C5CAB0853C3E379AEF1887B8CD31858D7D6C5A50D
md5: FBDB01A42F68A82AB14CD3BF9DB6AD9D | sha1: 8F186E750466CD2A3EB145D6F5C67AD2607C5263 | sha256: 3DFA724026D4C7E4D49133DF903709F4A8EED191800941C73C48A9586D56DE36 | sha512: 2BD1D16B3E36C3E08FD69916800C9241F40FCCCF1DBACBF110E7EF377BE467D9BB1ED8263B78B0AE6005B912E3597D9220EE302307156C5443312C391AC5A1E1

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Less 5.50 275 Wednesday, June 12, 2019 Approved
Less 5.48 1079 Thursday, February 14, 2019 Approved
Less 5.29 2009 Sunday, January 28, 2018 Approved
Less 5.27 258 Monday, January 22, 2018 Approved
Less for Windows 4.87 1346 Friday, April 14, 2017 Approved
Less for Windows 4.81.1 897 Thursday, June 30, 2016 Approved
Less for Windows 4.81 449 Saturday, February 6, 2016 Approved
Less for Windows 3.94 1209 Monday, November 11, 2013 Unknown

This package has no dependencies.

Discussion for the Less Package

Ground Rules:

  • This discussion is only about Less and the Less package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Less, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus