Apparently you missed the point. local needs to be the default. Not some magic incantation
In node
cd projectFoo
# do stuff, node uses packages local to projectFoo
cd ../projectBar
# do stuff, node uses packages local to projectBar
There is no "activation", the default is it just works.Installing packages local to the project is also the default.