Get started
Thanks for giving pls
a try. We hope you like using it as much as we do.
Prerequisites
- macOS or Linux: Windows is currently not supported.
- Terminal: WezTerm,
Kitty and iTerm2
are great terminals that supports most
pls
features. - Nerd Fonts: Needed to render icons in the terminal.
Installation
These are the different ways you can install pls
on your machine.
Homebrew
pls
is available to install for macOS and Linux via our official Homebrew
tap. Currently pls
is not available
through Homebrew core, but it is planned for the future.
This command will fetch and install the latest release of pls
from GitHub.
Nix
pls
is also available as a Nix
package. You can install it using
nix-env
, add it to your NixOS configuration or just try it using nix-shell
.
To permanently add pls
to NixOS, update your config, usually located at
/etc/nixos/configuration.nix
.
Build from source
If you have the Rust toolchain installed on your computer, you can build from source locally for your operating system and architecture. Also, we welcome your contributions!
You can use --tag
to install a specific version, The current latest version is
v--branch main
to get the latest, unreleased
version.
Download binary
The CI + CD job compiles binaries for each supported OS on every code push.
Additionally, we also cut periodic releases from the main
branch of the
repository. You can download the binary for your operating system and
architecture by following these steps.
-
Download the binary file. You can either download the binary associated with a release or a commit.
-
Release
- Go to the GitHub Releases page
for
pls
. - Find the latest release
i.e. v
0.0.0 . - Expand the "Assets" attached to the release.
- Go to the GitHub Releases page
for
-
Commit
- Visit the page for
pls
's CI + CD workflow. - Click on the last successful workflow.
- Scroll down to the "Artifacts" section.
- Visit the page for
-
-
Download the binary as per your operating system.
pls-x86_64-apple-darwin
for macOSpls-x86_64-unknown-linux-musl
for Linux
-
Unzip the archive and find the single
pls
executable. -
Place the executable on your
$PATH
. To do this, you can either add the directory that contains it to the path, or move/symlink the binary to a directory that is already on your$PATH
.
Verification
You can check if pls
was installed correctly and present on your $PATH
by
running the following command. If you see a version number, you're good to go!
pls
0.0.0
Usage
To run pls
, type the following command into any terminal.
By default, pls
lists the contents of the current working directory, but you
can pass any number of different files or directories as
positional arguments.
If a directory path is passed, all the files and directories within that
directory are listed. This is useful to see what's in the folder. If a file path
is passed, only the file itself is listed. On its own, that's not very useful
except to see if that file exists. But with the
--det
/-d
flag, pls
can display quite a lot of
metadata for the file.
Help
To see what pls
is capable of, and how to use those features, check out the
built-in help. You can see the detailed help or a quick reference using the
--help
/-h
flags respectively.
pls
is a prettier and powerfulls
for the pros. Usage: pls [OPTIONS] [PATHS]... ...