run yarn in another directory code example Example: run yarn in folder yarn --cwd ~/test_project/ dev