Interestingly, _ is already reserved in the node.js console, so you have to import lodash under a different name.
teo ~ node -v
v7.3.0
teo ~ node
> _ = "hi"
Expression assignment to _ now disabled.
'hi'
> _
'hi' $ node
> _ = "hi"
'hi'
> _
'hi'
> foo = "bar"
'bar'
> _
'bar'
(See mattnewton's reply for explanation.) > _ = "hi"
Expression assignment to _ now disabled.
'hi'
> "bar"
'bar'
> _
'hi'
> foo = "bar"
'bar'
> _
'hi'