Adding platformio packages to $PATH

Hi - I enjoy using the platformio vscode extension for AVR development. However, sometimes I inherit a project that has existing makefiles that use the traditional avr toolchain directly. I’d like to use the packages that platformio installs because you do a better job of keeping tools like avrdude up to date better than others.

Is there a shortcut or better way of having direct command line access (via bash terminal in OSX) to the platformio packages than just putting the following into my $PATH env variable (on OSX):

~/.platformio/packages/tool-avrdude
~/.platformio/packages/toolchain-atmelavr/bin

Thanks!

just putting the following into my $PATH env variable (on OSX):

If you plan to use PlatformIO’s toolchains, this is the right way.