Skip to content

Instantly share code, notes, and snippets.

@alizhdanov
Created November 9, 2017 14:14
Show Gist options
  • Save alizhdanov/6946b3f409c88aea992abc7f5022ced3 to your computer and use it in GitHub Desktop.
Save alizhdanov/6946b3f409c88aea992abc7f5022ced3 to your computer and use it in GitHub Desktop.
Set environment variables
// to set/create variable use export
export NODE_ENV=development
// to get variable use echo and $ prefix
echo $NODE_ENV
// will return 'development'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment