Convert Videos and Images to GIFs on Linux: Simple Steps
Convert Videos and Images to GIFs on Linux: Simple Steps

CLI

Convert Videos and Images to GIFs on Linux: Simple Steps

Rajdeep Singh
The Linux
Published in
3 min readOct 2, 2024

--

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

How to Install gifski with Debian

--

--

Rajdeep Singh
The Linux

Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | https://linktr.ee/officialrajdeepsingh