In CircleCI 2.0 you can define the shell at the exector level or the individual command level. Here is how you can utilize that to run any arbitrary Python in a single run command: - run: shell: /usr/bin/python command: | import os print(os.environ)Running this will