Can I use ActiveRecord outside yii?

I just create models from yii and I want use them outside the yii framework, like, say, in another command-line based app written with PHP.

Can I do that? and How?

You know you can use Yii for console applications as well?

Oh, I forgot that!

Thanks very much!