Skip to content

Commit

Permalink
No need to sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeville committed Aug 12, 2024
1 parent 7c292ba commit 22ccca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/common/.local/bin/nodeswitch
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [[ ! -d $install_dir ]]; then

curl -L "https://nodejs.org/download/release/v${version}/node-v${version}-${plat}-${arch}.tar.gz" -o node.tar.gz
mkdir -p "$install_dir"
sudo tar -xzf node.tar.gz -C "$install_dir" --strip-components 1
tar -xzf node.tar.gz -C "$install_dir" --strip-components 1

popd
fi
Expand Down

0 comments on commit 22ccca9

Please sign in to comment.