Skip to content

Commit

Permalink
Add sudo to apt commands
Browse files Browse the repository at this point in the history
  • Loading branch information
PadowYT2 committed Sep 27, 2023
1 parent 3166800 commit 28ab8d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions community/customization/panel.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

apt update
apt install -y nodejs
sudo apt update
sudo apt install -y nodejs

# CentOS
sudo yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
Expand Down

0 comments on commit 28ab8d3

Please sign in to comment.