Skip to content

Commit

Permalink
fix: migrate to new npm repo in collab notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Oct 10, 2023
1 parent 9c1b23b commit d480554
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,12 @@
"metadata": {},
"outputs": [],
"source": [
"! curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &&\\\n",
"! NODE_MAJOR=18\n",
"! apt-get install -y ca-certificates curl gnupg\n",
"! mkdir -p /etc/apt/keyrings\n",
"! curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg\n",
"! echo \"deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main\" | sudo tee /etc/apt/sources.list.d/nodesource.list\n",
"! apt-get update\n",
"! apt-get install -y nodejs"
]
},
Expand Down

0 comments on commit d480554

Please sign in to comment.