Skip to content

Commit

Permalink
fix(nodejs/node): update the description
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Aug 21, 2024
1 parent 5e315f2 commit e81cf71
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions pkgs/nodejs/node/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ packages:
# Setup
To execute tools installed by npm, you need to add the following to your PATH:
To execute tools installed by npm, you need to run the following command:
```sh
if node_path="$(dirname "$(aqua which node 2>/dev/null)" | grep aquaproj 2>/dev/null)"; then
export PATH="$node_path:$PATH"
fi
eval "$(aqua set-shell <shell name>)"
```
e.g. .bashrc
```sh
eval "$(aqua set-shell bash)"
```
version_constraint: "false"
version_overrides:
Expand Down
12 changes: 8 additions & 4 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e81cf71

Please sign in to comment.