how do i install it i a zfs .
You’ll have to be more specific.
Are you trying to install with ZFS or in a stystem which already has zfs on it?
There is an option in Cnchi (installer) that allows to setup an entire disk with zfs. You have to select automatic installation, but we warned that this will delete ALL disk contents!