February 2, 2026β’8 min readβ’β’
Tags βΌ
- Anime
- Linux
- Terminal
- Ani Cli
- Watch
- Install
- Ubuntu
- Command
- One Line
- Streaming
A playful guide to watching anime in the terminal using any CLI, highlighting efficiency, customization, and pure Linux aesthetics today.
The transcript explains how to watch anime directly from the Linux terminal using a command-line tool called Annie CLI (often written as ani-cli). The tool is a shell script that scrapes anime streaming sources and streams the video to a local media player, typically mpv media player or VLC media player.
The main goal of the tutorial is to demonstrate how power users can avoid heavy web browsers (like Google Chrome) and instead stream anime using a lightweight terminal workflow.
Key capabilities shown:
The tutorial emphasizes efficiency, low RAM usage, and keyboard-only media playback.
Before installing new packages on Debian-based systems such as Ubuntu, Linux Mint, or Kali Linux, refresh repository indexes.
Run:
sudo apt update
Purpose:
Typical output includes:
Install the anime streaming CLI tool.
Command:
sudo apt install ani-cli
Installation process:
Y
Package manager downloads and installs:
ani-cli streams video into a media player rather than rendering video itself.
Primary supported player:
mpv media player
Install manually if not present:
sudo apt install mpv
Alternative player supported:
VLC media player
However, mpv is recommended because:
Check the tool is installed correctly.
Run:
ani-cli -h
This displays the help menu.
Typical output includes available flags such as:
Running the command without flags opens a menu workflow.
ani-cli
Interactive steps:
Example workflow:
Search: One Piece
Select: Season
Select: Episode
Launch MPV
However, this approach requires manual input.
Power users prefer direct execution without prompts.
Example command:
ani-cli -q 1080p -dub -s 2 "Jujutsu Kaisen"
Explanation of flags:
| Flag | Meaning |
|---|---|
-q 1080p | Force Full HD stream |
-dub | Use dubbed audio |
-s 2 | Select season 2 |
"Jujutsu Kaisen" | Anime search query |
Effect:
After running the query, the CLI returns a list.
Example:
1) Episode 1
2) Episode 2
3) Episode 3
Select episode:
1
Press Enter.
Result:
Once video starts, playback is controlled entirely by keyboard.
Key shortcuts:
| Key | Function |
|---|---|
β β | Seek backward/forward |
[ | Decrease playback speed |
] | Increase playback speed |
J | Toggle subtitles |
Q | Quit player |
No mouse required.
ani-cli logs watched content locally.
Command:
ani-cli --history
Features:
ani-cli can download episodes.
Example command:
ani-cli --download "Jujutsu Kaisen"
Possible uses:
Power users can chain commands for fast execution.
Example streamlined command:
ani-cli -q 1080p -dub -s 2 "Jujutsu Kaisen"
Possible enhancement:
ani-cli -q 1080p -dub -s 2 "Jujutsu Kaisen" -e 1
Where:
-e 1
directly launches Episode 1 without prompts.
ani-cli
Type:
Bash shell script
Function:
Scrapes anime streaming websites
Streams video via external player
Primary:
Alternative:
Transcript references:
All Debian-based distributions should work.
| Flag | Function |
|---|---|
-h | Show help |
-q | Set video quality |
-dub | Force dubbed audio |
-s | Specify season |
-e | Episode number |
--download | Save episode locally |
--history | Show watch history |
Terminal streaming avoids heavy browsers like:
Google Chrome
Benefits:
Speed up commands with aliases.
Example:
alias anime='ani-cli -q 1080p'
Usage:
anime "Attack on Titan"
Run media while coding.
Tools like:
allow watching anime alongside development.
If internet speed is high:
-q 1080p
prevents resolution prompts.
Launch directly:
ani-cli -q 1080p -s 1 -e 3 "Chainsaw Man"
Example bash loop:
for i in {1..12} do ani-cli -q 1080p -e $i --download "Jujutsu Kaisen" done
Downloads all episodes automatically.
ani-cli scrapes unofficial anime streaming sources.
Depending on region, this may violate:
Because the script relies on site scraping:
Update command:
ani-cli --update
Typical requirements:
Assumption: Standard Linux environment.
Sometimes streams fail due to:
Different providers may:
To expand on command-line media workflows and Linux automation:
A highly practical guide to mastering Linux terminal usage. It covers command syntax, shell scripting basics, and command-line workflows that directly support tools like ani-cli and automation of terminal-based utilities. PaperBack, Kindle
This book explains the internal mechanics of Linux systems, including processes, filesystems, networking, and shell environments. It provides the foundational knowledge needed to understand how command-line applications like ani-cli interact with system resources. Paperback, Kindle
A deep dive into shell scripting techniques used in many command-line tools. Readers learn how scripts scrape websites, process data streams, and automate tasksβsimilar to how ani-cli operates. Paperback, Kindle
An advanced technical reference explaining Linux system calls, process control, and low-level system interaction. This helps developers understand how CLI tools integrate with system APIs and media processes. Hardcover, Kindle
A comprehensive guide to managing Linux systems efficiently. It includes command-line tools, automation strategies, and scripting practices that align with terminal-centric workflows like those shown in the tutorial. Paperback, Kindle
Follow on your preferred channel for new articles, notes, and experiments.