echo() should be updated to support echo-ing environment variables. Currently, echo('$TERM') will simply echo $TERM. We should allow distinction between strings and variables. Maybe something like this:
echo(null, '$TERM'); // 'xterm-256color'
Environment variables are visible to Node through the process.env object, which contains the user environment.