Skip to content

Get Started in 2 Easy Steps 🚀#

Ready to try? Let's get started:

1. Install Colorist for Python Package#

Assuming that Python is already installed, execute this command in the terminal to install the Colorist package:

pip install colorist

Find more details and options in the installation guide.

2. First Script#

You're now ready to go:

Python
1
2
3
4
5
6
from colorist import Color, green

green("This is GREEN!")

print(f"Both {Color.RED}red{Color.OFF}...")
print(f"... and {Color.YELLOW}yellow{Color.OFF} are nice colors")

How it appears in the terminal:

% This is GREEN!
% Both red...
% ... and yellow are nice colors

Next Steps#

Find more usage examples and tutorials in the user guide section.