%env: Get, set, or list environment variables.
If you need access to an environment variable and can’t remember what it was, you can recall it easily using
%env. You can list all of them by passing the command by itself, or recall specific ones like
%env variable, or set them like
%env variable new_value.
In : %env foo UsageError: Environment does not have key: foo In : %env foo bar env: foo=bar In : %env foo Out: 'bar'