{"action":"closed","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/609","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/609/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/609/events","html_url":"https://github.com/dart-lang/pub/issues/609","id":85643983,"number":609,"title":"Allow system-wide package installation","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/NotPlanned","name":"NotPlanned","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-05T22:10:02Z","updated_at":"2015-06-05T22:10:04Z","closed_at":"2015-06-05T22:10:04Z","body":"_Originally opened as dart-lang/sdk#12236_\n\n*This issue was originally filed by niklas.koe...&#064;gmail.com*\n_____\nIt would be very convenient if the Dart VM would be extensible in a similar way to Python or nodejs, i.e. make it possible to install packages system-wide. npm, the package manager for nodejs for instance, has a -g flag for its install command which deploys modules under {prefix}/lib/node_modules while pip (a package manager for Python) installs modules and packages under {prefix}/lib/{pythonversion}/site-packages. I think this would go a long way in improving the use of Dart as a general purpose language, especially with regard to native extensions which aren't deployable via pub. To that end it would also be nice to have a command-line tool like dart-config which could be queried for the installation prefix, as well as linker and compiler flags for building native extensions."}}