mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Move curl installation (#380)
Curl need to be installed before the first time we use it. It's now installed before setting up nodejs repository.
This commit is contained in:
parent
8b6eb84430
commit
1e98a53c85
@ -53,6 +53,7 @@ You will need to add an external repository so we can have the version of [node.
|
|||||||
We run this script to add the repository:
|
We run this script to add the repository:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
apt -y install curl
|
||||||
curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -65,7 +66,6 @@ Another repository needs to be added so we can get the version of [Yarn](https:/
|
|||||||
This is how you add the repository:
|
This is how you add the repository:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
apt -y install curl
|
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
|
||||||
apt update
|
apt update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user