A light ls alternative.
Cerium is a lightweight file listing tool inspired by lsd and eza. It focuses on staying small with minimal dependencies while doing what it's supposed to do... list your files and directories.
Table of Contents
Availability
| OS | Tested | Features |
|---|---|---|
| Android (Termux) | yes |
checksum |
| Fedora | yes |
checksum, filemagic |
| Ubuntu | yes |
checksum, filemagic |
| MacOS | no |
not tested |
Development
Development happens on Codeberg. The GitHub repository is a read-only mirror used solely for crates.io deployments. Issues should be opened on either GitHub or Codeberg, but pull requests should be opened only on Codeberg.
Installation
Prebuilt Binary
|
Options:
| Option | Description |
|---|---|
--nightly |
Install the latest nightly build instead of stable |
--dir <path> |
Installation directory (default: /usr/local/bin) |
--features <value> |
Feature variant to install: checksum, magic, all |
[!NOTE] The
magicandallvariants require libmagic at runtime, which the installer will attempt to install automatically. Without--features, a no-dependency binary is installed.
# Nightly build
|
# Custom install directory
|
# Install with checksum support
|
# Install with all features (requires libmagic for the filemagic feature)
|
With Cargo
# Standard installation with all features
cargo install cerium --all-features
# Minimal installation
cargo install cerium
# Specific features
cargo install cerium --features magic
cargo install cerium --features checksum
Build from Source
# Clone the repo
# Move to cerium directory
# Build and install: This will build cerium with all its features
Features (optional)
Magic
Content-based file type identification using libmagic. Shows actual file types regardless of extension.
Requirements: libmagic library (scripts/libmagic.sh)
Checksum
Calculate file checksums with multiple algorithms.
Supported: crc32, md5, sha224, sha256, sha384, sha512
Usage
ce [OPTIONS] [PATH]
Display Options
)
Filtering
)
Metadata Display
Sorting & Traversal
Formatting
Appearance
Examples
Basic Operations
Metadata Inspection
Advanced Usage
Combined Operations
Themes
Cerium supports customisable themes via a TOML configuration file. By default, it uses the Gruvbox colour palette.
Quick Start
# Apply a pre-made theme
Available Themes
See themes/README.md for the full list of pre-made themes, installation instructions, and customisation guide.
Licence
MIT Licence. See choosealicense for more details.