Installation
List (sls) can be installed on macOS and Linux systems that support Swift. Choose the installation method that works best for you.Prerequisites
Before installing List, ensure your system meets these requirements:- Swift: Version 6.2 or later
- Platform: macOS 13.0 (Ventura) or later, or a compatible Linux distribution
- Git: Required if building from source
List uses Swift 6.2 features and requires macOS 13.0 as the minimum deployment target.
Installation methods
Choose your installation method
You can either build List from source for the latest version, or download a pre-built binary for convenience.Building from source is recommended if you want the latest features or need to customize the build.
Install Swift (if needed)
Verify that Swift is installed on your system:You should see Swift version 6.2 or later. If Swift is not installed:macOS: Install Xcode from the Mac App Store, or install the Command Line Tools:Linux: Download Swift from swift.org and follow the installation instructions for your distribution.
Build from source
Clone the List repository and build the executable:The build process compiles List with optimizations enabled. The executable will be created at
.build/release/sls.The
-c release flag builds an optimized production binary. This provides better performance than a debug build.Install the binary
Copy the compiled executable to a directory in your PATH:This makes the
sls command available system-wide. You may need to use sudo depending on your permissions:Alternative: Download pre-built binary
If you prefer not to build from source, you can download a pre-built binary:- Visit the releases page
- Download the latest binary for your platform
- Extract the archive and copy
slsto/usr/local/bin/ - Make the binary executable:
Custom installation location
If you want to install List to a custom location instead of/usr/local/bin/, you can:
Uninstalling
To remove List from your system, simply delete the executable:Next steps
Now that you have List installed, learn how to use it:Quickstart guide
Get started with your first List commands and explore common usage patterns