Skip to content

Commit

Permalink
docs: fix install command
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Oct 4, 2023
1 parent 3d011c1 commit 3e63d90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This command line interface enables you to package your Node.js project into an
## Usage

```sh
npm install -g pkg
npm install -g @yao-pkg/pkg
```

After installing it, run `pkg --help` without arguments to see list of options:
Expand Down Expand Up @@ -271,7 +271,7 @@ This option can reduce the size of the embedded file system by up to 60%.

The startup time of the application might be reduced slightly.

`-C` can be used as a shortcut for `--compress `.
`-C` can be used as a shortcut for `--compress`.

### Environment

Expand Down Expand Up @@ -406,7 +406,7 @@ IDEs, such as **VS Code**, may add this env variable automatically.
You could check on **Unix systems** (Linux/macOS) in `bash`:

```bash
$ printenv | grep NODE
printenv | grep NODE
```

## Advanced
Expand All @@ -421,8 +421,8 @@ This feature can be useful to inspect if symlinks are correctly handled,
and check that all the required files for your application are properly
incorporated to the final executable.

$ pkg --debug app.js -o output
$ DEBUG_PKG=1 output
pkg --debug app.js -o output
DEBUG_PKG=1 output

or

Expand Down

0 comments on commit 3e63d90

Please sign in to comment.