It is small python script that prints a christmas tree in terminal.
It is colourful and always gives you a different tree with different decorations varying in position with three colours, more colours and decorations can be easilty added by looking into code.
A great script to be added in your unixporn screenshot.
use these commands in terminal :
git clone https://github.com/RohanKP1/ctree.git
cd ctree/
sudo mv ctree /usr/bin/ && chmod +x /usr/bin/ctree
use these commands in terminal :
git clone https://github.com/RohanKP1/ctree.git
cd ctree/
sudo mv ctree /usr/local/bin/ && chmod +x /usr/local/bin/ctree
Simply type ctree
in terminal and Enter
.
Add the parameter --animate
or -a
to animate the tree in an infinite loop (use ctrl+c
to stop). This may fail to
work in embedded terminals (e.g. PyCharm).
ctree -a