Skip to content

Commit

Permalink
Document link: dependency type (#793)
Browse files Browse the repository at this point in the history
  • Loading branch information
p12tic committed Jun 18, 2019
1 parent 828da61 commit 8c967b5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lang/en/docs/cli/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ You can also specify packages from different locations:
haven't been published to the registry.
3. `yarn add file:/path/to/local/tarball.tgz` installs a package from a gzipped
tarball which could be used to share a package before publishing it.
4. `yarn add <git remote url>` installs a package from a remote git repository.
5. `yarn add <git remote url>#<branch/commit/tag>` installs a package from a remote
4. `yarn add link:/path/to/local/folder` installs a symlink to a package that is
on your local file system. This is useful to develop related packages in
monorepo environments.
5. `yarn add <git remote url>` installs a package from a remote git repository.
6. `yarn add <git remote url>#<branch/commit/tag>` installs a package from a remote
git repository at specific git branch, git commit or git tag.
6. `yarn add https://my-project.org/package.tgz` installs a package from a
7. `yarn add https://my-project.org/package.tgz` installs a package from a
remote gzipped tarball.

### Caveats <a class="toc" id="toc-caveats" href="#toc-caveats"></a>
Expand Down

0 comments on commit 8c967b5

Please sign in to comment.