DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Using pub of Dart with Jayproxy


Dart's pub tool is blocked by GFW. So we have to use it with the help of a proxy.

Modify pubspec.yaml at the root of a Dart project. Then run the following commands at this position:

export http_proxy=http://<username>:<password>@us.jayproxy.net:6000
export https_proxy=http://<username>:<password>@us.jayproxy.net:6000
pub get


Published

Nov 13, 2014

Last Updated

Nov 13, 2014

Category

Tech

Tags

  • dart 2
  • jayproxy 1
  • pub 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor