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# - Pausing a storyboard on TabItem mouse over -

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

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -