export to pkg env for local mode