Skip to content

Commit

Permalink
fix: install -> link in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 19, 2023
1 parent a4c7f40 commit 44ea474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jspm link --map index.html --integrity --preload dynamic
### Usage

```
jspm link [flags] [...packages]
jspm install [flags] [...packages]
```
Installs packages into an import map, along with all of the dependencies that are necessary to import them.By default, the latest versions of the packages that are compatible with the local "package.json" are installed, unless an explicit version is specified. The given packages must be valid package specifiers, such as `npm:[email protected]` or `denoland:oak`. If a package specifier with no registry is given, such as `lit`, the registry is assumed to be NPM. Packages can be installed under an alias by using specifiers such as `myname=npm:[email protected]`. An optional subpath can be provided, such as `npm:[email protected]/decorators.js`, in which case only the dependencies for that subpath are installed.

Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ cli
`
)
.usage(
`link [flags] [...packages]
`install [flags] [...packages]
Installs packages into an import map, along with all of the dependencies that are necessary to import them.` +
`By default, the latest versions of the packages that are compatible with the local "package.json" are ` +
Expand Down

0 comments on commit 44ea474

Please sign in to comment.