Skip to content
"pokemonsay" is like "cowsay" but for pokémon.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Ignore all downloaded files ('scrapped-data' folder) Jun 24, 2015
example.png Change image example Jun 24, 2015 Create a script to change the pokemon images the way I want it Jun 11, 2015 Fix install script Feb 1, 2017 Create script to make the cow files Jun 11, 2015 Warn the user when an unknown option is provided Jun 25, 2015 Create a 'pokemonthink' script Jun 23, 2015 Add 'trap' for SIG{HUP,INT,TERM} Jun 26, 2015


You should try pokemonsay!

pokemonsay is like cowsay but for pokémon only. It was inspired by ponysay (cowsay for ponies). Internally, pokemonsay still uses cowsay, so you need it installed too (cowsay... not ponysay).



If you simply want to use pokemonsay, the only thing you need installed is cowsay. But you are probably interested in fortune as well, to provide random sayings to your pokémon. To install them both in Ubuntu, simply run:

$ sudo apt-get install fortune cowsay

If you want to rebuild everything in the repository, you will also need img2xterm. img2xterm is used to generate ".cow files" from the pokémon images. To install it you will need to build from source. The instructions are provided on their repository. And if you know an easier way, please tell me!

Keep in mind that pokemonsay will only work if you have cowsay installed and available in your $PATH. To install pokemonsay run these commands in a terminal window:

$ git clone
$ cd pokemonsay
$ ./

After the last command, you will have pokemonsay installed in you home folder in ~/.pokemonsay/. And an executable script will be created in ~/bin/pokemonsay, so that you can have pokemonsay in your $PATH too.

It may be necessary to logout and login back again to have pokemonsay in you $PATH. This is specially true if you have never had a ~/bin/ folder before. Your operating system will have it added to you $PATH automatically after the ~/bin/ folder is created... I hope.


You can install pokemonsay through Homebrew. It is pretty straightforward:

$ brew tap possatti/possatti
$ brew install pokemonsay


There's an interesting fork by @xaviervia that allows you to run pokemonsay on Docker. Check out xaviervia/docker-pokemonsay.


Now that you've installed pokemonsay, you can make it work like so:

$ pokemonsay Hello World

To have a random pokémon saying some random thing to you, use fortune:

$ fortune | pokemonsay

And if you really like it, you can add the command above to the end of your ~/.bashrc file (or equivalent). So you will have a random pokémon speaking to you whenever you open a new terminal window! :D

You get a cowthink-like version too. Try it:

$ pokemonthink --pokemon Charmander "Should I wear some clothes?"


Just in case you hate Pokémon and you've installed pokemonsay "by mistake"... Humpf! You can uninstall it by running:

$ sh $HOME/.pokemonsay/

Building the whole thing

In order to use pokemonsay you don't need to build anything because everything is built already within the repository. But if you want to download the whole images again or make some change in the process, here is how it's done:

# Download pokémon images from Bulbapedia... Thanks bulbapedia!
$ ./

# Manipulate the downloaded images, to make the pokémon look
# to the right, and trim the useless space around them.
$ ./

# Use 'img2xterm' to generate .cow files (for 'cowsay').
$ ./

And there it is. Now install it with and you are done.

Special Thanks

A special thanks to my friend Lucas Coutinho Oliveira (@lucascsoliveira) who helped me with some Pokémon wisdom. Thanks buddy!


Please notice I don't own Pokémon or anything related to it. Pokémon is property of The Pokémon Company.

You can’t perform that action at this time.