osx - setenv equivalent on mac? -


i want set environment variable using setenv:

setenv node_env localhost   

but setenv gives me error saying command not found. know how perform mac osx equivalent of setenv? thanks!

you want export

node_env=localhost export node_env 

or on 1 line export node_env=localhost

and has nothing osx per se, more bash vs (t)csh shell


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -