Changing environment after initial setup

How do I change my current environment, seems I’m getting errors based on invalid data pins not available on the ATTINY85, but I’m developing for the ATTINY84 at this time, I have the environment defined in the platformio.ini, and I have it set as one of the defaults:

[platformio]
env_default = attiny85, attiny84

[env:attiny85]
platform = atmelavr
board = attiny85
framework = arduino

[env:attiny84]
platform = atmelavr
board = attiny84
framework = arduino

ex: ‘PORTA’ was not declared in this scope

Because attiny85 doesn’t have a PORTA, but if I change it to PORTB, the error in Linter will go away, but it’s not expected behavior

See Redirecting...

I tried this, and no worky:

Does building/uploading work?