(RuntimeError) environment variable WOLFRAM_APP_ID is missing

Yeah just see my edited post.

It’s export then (under the assumption that you use bash or zsh, which both are the default shells in Mac, depending on the version, but as I’m not a Mac user by myself I have no clue when the change happened)