     fs.writeFileSync(sysPath.join(project.clientDir, 'config.json'), JSON.stringify(config, null, 2))
   else
     # install all dependencies listed in config.json
-    for repo, version of config.dependencies
+    for repo, version of project.clientConfig.dependencies
       pkgmgr.install repo, version
 
 # Task - update packages

      pkgmgr.install repo, version

    # save to config.json
    config.dependencies ?= {}
    for pkg in pkgs
      [repo, version] = pkg.split('@')


# Task - install packages
task 'install', 'install packages', ->
  project.setEnv 'development'

  pkgs = opts.arguments[1..]
  if pkgs.length > 0
    # install the packages
    for pkg in pkgs
