Neither is fluent. I would prefer you to say:
"I've only just learned about this environment."
'only just' , in this context, means immediately before this time, a minute ago, and you would use the present perfect tense because of this. Use the past simple if you learned about it yesterday or at some other defined time.
Student or Learner