Once you have dissolved the fabric dye in water and want to use it in parts, it is best to keep the fabric dye stored in a closed jar or bottle in a cool and dark place.
Fabric dye does not or hardly spoil itself, so storage for several months is no problem.
The shelf life of unopened bags is in principle unlimited. The fabric dye can be kept for years in cool and dry storage.