To create an application, you should always install it locally. This will allow you to use a different express version for each of your applications.
Installing express globally allows you to use the express command-line utility to create template code, etc. Therefore, ideally, you should install express in both places, but make sure that the application you are developing runs in the local version.
source share