Skip to content

Commit 7d36ab1

Browse files
committed
FIXUP
1 parent 2482fae commit 7d36ab1

1 file changed

Lines changed: 36 additions & 20 deletions

File tree

docs/guide/cli.md

Lines changed: 36 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,9 @@ vite cache view
511511

512512
### `vite install`
513513

514-
Install dependencies using the detected package manager. `vite i` is alias.
514+
Aliases: `vite i`
515+
516+
Install dependencies using the detected package manager.
515517

516518
#### Usage
517519

@@ -533,7 +535,9 @@ vite install --loglevel debug
533535

534536
### `vite update`
535537

536-
Updates packages to their latest version based on the specified range. `vite up` and `vite upgrade` are aliases.
538+
Aliases: `vite up`
539+
540+
Updates packages to their latest version based on the specified range.
537541

538542
#### Usage
539543

@@ -566,7 +570,9 @@ vite add -D @types/node
566570

567571
### `vite remove`
568572

569-
Removes packages. `vite rm`, `vite uninstall` and `vite un` are aliases.
573+
Aliases: `vite rm`, `vite uninstall`, `vite un`
574+
575+
Removes packages.
570576

571577
#### Usage
572578

@@ -594,41 +600,51 @@ If called without arguments, all linked dependencies will be unlinked inside the
594600

595601
Perform an install removing older dependencies in the lockfile if a newer version can be used.
596602

597-
### `vite prune`
603+
### `vite outdated`
598604

599-
Removes unnecessary packages.
605+
Shows outdated packages.
600606

601-
### `vite pack`
607+
### `vite why`
602608

603-
Pack the current package into a tarball.
609+
Aliases: `vite explain`
604610

605-
### `vite list`
611+
Shows all packages that depend on the specified package.
606612

607-
Aliases: `vite ls`
613+
### `vite pm <subcommand>`
608614

609-
List installed packages.
615+
The `vite pm` command group provides a set of utilities for working with package manager.
610616

611-
### `vite view`
617+
> package manager commands with low usage frequency will under this command group.
612618
613-
View a package info from the registry.
619+
#### `vite pm prune`
614620

615-
### `vite why`
621+
Removes unnecessary packages.
616622

617-
Aliases: `vite explain`
623+
#### `vite pm pack`
618624

619-
Shows all packages that depend on the specified package.
625+
Pack the current package into a tarball.
620626

621-
### `vite outdated`
627+
#### `vite pm list`
622628

623-
Shows outdated packages.
629+
Aliases: `vite pm ls`
624630

625-
### `vite publish`
631+
List installed packages.
632+
633+
#### `vite pm view`
634+
635+
View a package info from the registry.
636+
637+
#### `vite pm publish`
626638

627639
Publishes a package to the registry.
628640

629-
### `vite owner ls`
641+
#### `vite pm owner`
642+
643+
Manage package owners.
644+
645+
#### `vite pm cache`
630646

631-
List package owners.
647+
Manage the packages metadata cache.
632648

633649
## Others
634650

0 commit comments

Comments
 (0)