# samplr **samplr** is a CLI tool to randomly sample data; generating a fixed size sample of input lines with uniform probabilities. ## Installation ### Source > Requires [Rust](https://www.rust-lang.org/) to be installed. ``` git clone https://github.com/SteadBytes/sample.git cd sample cargo install --path . ``` ## Examples Sample 15 lines from a file: ``` sample -n 15 things.txt ``` Sample 15 lines from standard input: ```