Nyancat in Termux – Run a Fun Terminal Animation

NyanCat is a fun terminal animation that shows the famous flying cat with a colorful rainbow. You can run it in the Termux terminal and watch the animation on your screen. It is simple to install and easy to use with a few commands and you can also change how the animation looks using different options

Here’s what you can do with Nyancat in Termux:

  • Run the Nyan Cat animation in the terminal.
  • Change the terminal title.
  • Control how the animation is displayed.
  • Crop the animation from different sides.
  • Set a custom animation width or height.
  • Display a specific number of frames.

Install Nyancat in Termux

Nyan Cat is available as a Termux package, so you can install it directly from the Termux repository.

First, update the Termux packages.

pkg update && pkg upgrade -y

Install Nyancat.

pkg install nyancat -y

Nyancat is now installed and ready to use.

Use Nyancat in Termux

After installing Nyancat, you can start the animation with a simple command. You can use different options to change the animation, hide the timer, crop the display, or control how many frames are shown.

Run Nyancat:

nyancat

Press CTRL + C to exit the animation.

Show the introduction information when starting:

nyancat -i

Do not display the timer:

nyancat -n

Do not change the terminal title:

nyancat -s

Do not clear the display between animation frames:

nyancat -e

Display a specific number of frames and then exit:

nyancat -f 100

For example, the following command displays 50 frames:

nyancat -f 50

Crop the animation from the top:

nyancat -r 5

Crop the animation from the bottom:

nyancat -R 5

Crop the animation from the left:

nyancat -c 5

Crop the animation from the right:

nyancat -C 5

Set the animation width:

nyancat -W 40

Set the animation height:

nyancat -H 15

You can also combine options. For example, run the animation without the timer and stop after 100 frames:

nyancat -n -f 100

Show the Nyancat help menu:

nyancat -h

You can also use:

nyancat --help

You can use these options to control the Nyancat animation in different ways.

End Note

Nyan Cat is a simple and fun terminal animation for Termux. It does not provide any special Linux function, but it can make your terminal more colorful and entertaining. You can also use its options to control how the animation appears.

SHARE THIS POST: