Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: src/site/docs/pub-package-manager/pub-install.markdown

Issue 10890014: Add a getting-started link to the pub install docs. (Closed) Base URL: git@github.com:dart-lang/dartlang.org.git@master
Patch Set: Code review Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 --- 1 ---
2 layout: default 2 layout: default
3 title: "pub install" 3 title: "pub install"
4 description: "Reference documentation for the `pub install` command." 4 description: "Reference documentation for the `pub install` command."
5 has-permalinks: true 5 has-permalinks: true
6 --- 6 ---
7 7
8 # {{ page.title }} 8 # {{ page.title }}
9 9
10 <aside class="note">
11 <a href="index.html" style="text-align: right;">
12 <i class="icon-hand-right icon-white">&nbsp;</i>
13 Looking for the quick start guide? Get started with pub
14 </a>
15 </aside>
16
10 $ pub install 17 $ pub install
11 18
12 This command installs all the dependencies listed in the 19 This command installs all the dependencies listed in the
13 [`pubspec.yaml`](pubspec.html) file in the current working directory, as well as 20 [`pubspec.yaml`](pubspec.html) file in the current working directory, as well as
14 their [transitive dependencies](glossary.html#transitive-dependencies), to a 21 their [transitive dependencies](glossary.html#transitive-dependencies), to a
15 `packages` directory located next to the pubspec. For example: 22 `packages` directory located next to the pubspec. For example:
16 23
17 $ pub install 24 $ pub install
18 Dependencies installed! 25 Dependencies installed!
19 26
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 installed. Dependencies downloaded over the internet, such as those from Git and 69 installed. Dependencies downloaded over the internet, such as those from Git and
63 [pub.dartlang.org](http://pub.dartlang.org), are stored in a system-wide cache 70 [pub.dartlang.org](http://pub.dartlang.org), are stored in a system-wide cache
64 and linked to from the `packages` directory. This means that if multiple 71 and linked to from the `packages` directory. This means that if multiple
65 packages use the same version of the same dependency, it will only need to be 72 packages use the same version of the same dependency, it will only need to be
66 downloaded and stored locally once. It also means that it's safe to delete the 73 downloaded and stored locally once. It also means that it's safe to delete the
67 `packages` directory without worrying about re-downloading packages. 74 `packages` directory without worrying about re-downloading packages.
68 75
69 By default, the system package cache is located in the `.pub-cache` subdirectory 76 By default, the system package cache is located in the `.pub-cache` subdirectory
70 of your home directory. However, it may be configured by setting the `PUB_CACHE` 77 of your home directory. However, it may be configured by setting the `PUB_CACHE`
71 environment variable before running Pub. 78 environment variable before running Pub.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698