Skip to content

Commit

Permalink
Add a section how to install pager on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymoteusz Jankowski committed Dec 8, 2019
1 parent a3b076c commit 623c38c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions static/docs/user-guide/running-dvc-on-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,24 @@ The performance of NTFS degrades while handling large volumes of files in a
directory.
[Here](https://stackoverflow.com/questions/197162/ntfs-performance-and-large-volumes-of-files-and-directories)
is the resource for reference.

## Enabling paging with `less`

By default DVC uses `less` to page output for some commands.
Although, many operating systems have `less` preinstalled, there are still
platforms where `less` is not installed. This usually happens for Microsoft
Windows. Fortunately, there is a easy way of installing `less` via
[Chocolatey](https://chocolatey.org/).

```
choco install less
```

If you do not want to use [Chocolatey](https://chocolatey.org/) for some
reason, you can still provide `less` by your own way. However, you must
make `less` to be runnable from `cmd`/`Powershell`.
This usually means to add the `less` installation directory to the `PATH`
environement vairable.



0 comments on commit 623c38c

Please sign in to comment.