CLI
Convert Videos and Images to GIFs on Linux: Simple Steps
Convert your images or videos to GIFs with the Rust Gifski tool.
Gifski is a high-quality GIF encoder, a rust-based CLI tool that helps convert your local images or videos into a gif file. Gifski CLI utilizes FFmpeg.
The Gifski tool is only available to install with NixOS, Cargo and Debian. For Another operating system, you can build directly from the source.
How to Install Gifski With Cargo
You can install the gifski tool with cargo using the following command. However, Cargo CLI is only helpful when you work with cargo and need cargo.toml
file to install the gifski CLI.
But you cannot install gifski cli globally with cargo in your machine.
cargo install gifski
How to Install Gifski With NixOS
To install Gifski in NixOS, you can copy-paste the commands in NixOS according to your choice.
# with configuration.nix file:
environment.systemPackages = [
pkgs.gifski
];
# or with nix env:
nix-env -iA nixos.gifski
# or with nix shell:
nix-shell -p gifski