Home Command line fun Display Animated Christmas Tree In Terminal (2025)

Display Animated Christmas Tree In Terminal (2025)

By sk
9.8K views

It is Christmas!! On behalf of OSTechNix, I wish you all a Merry Christmas and a Happy New Year in advance! In this festive occasion, we will show you how to display an animated Christmas tree in Terminal in Linux.

We created this simple BASH script as a Christmas present to our beloved readers and followers. It is freely available in the OSTechNix GitHub Gist page. You can download it, modify the message, size of the tree, color of the tree, leaves, and trunk etc., and run it!

Display Animated Christmas Tree In Terminal

Open your terminal and download this Christmas tree Bash script using the following command:

wget -d -c -O "christmas.sh" https://gist.githubusercontent.com/ostechnix/66cecb6bbb9e35a492bccb9c6ecc5d9d/raw/1c281f20f9594297fd2a59197a3aff92db66f856/bashmastree.sh

If you want to customize Christmas tree as per your liking, open the downloaded script in your favorite editor and change the values as you please.

Make it executable using command:

chmod +x christmas.sh

Finally, run the script to display the animated Christmas tree in your Linux Terminal:

./christmas.sh

And, here's the Christmas tree in Bash!

Christmas Tree in Bash
Christmas Tree in Bash

Cool, yeah? To exit the script, simply press CTRL+C.

Here is the visual demo of Christmas tree in Bash Terminal:

Display Animated Christmas Tree In Linux Terminal
Display Animated Christmas Tree In Linux Terminal

Once again, Merry Christmas and a Happy New Year to all!

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. By using this site, we will assume that you're OK with it. Accept Read More