mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-04 20:49:02 +00:00
19 lines
396 B
Markdown
19 lines
396 B
Markdown
# install-npm-packages
|
|
|
|
Install npm packages defined in the script.
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
scripts/install-npm-packages.sh
|
|
```
|
|
|
|
## What it does
|
|
|
|
1. Checks that `npm` is available.
|
|
2. Installs each package from the inline list using `npm install -g`.
|
|
3. Upgrades all global packages.
|
|
4. Cleans the npm cache.
|
|
|
|
To add or remove packages, edit the `packages` array in `scripts/install-npm-packages.sh`.
|