Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change apt-get to apt in debian installation #1013

Merged
merged 1 commit into from
Oct 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lang/en/docs/_installations/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ On Ubuntu 16.04 or below and Debian Stable, you will also need to configure [the
Then you can simply:

```sh
sudo apt-get update && sudo apt-get install yarn
sudo apt update && sudo apt install yarn
```

**Note**: Ubuntu 17.04 comes with `cmdtest` installed by default. If you're getting errors from installing `yarn`, you may want to run `sudo apt remove cmdtest` first. Refer to [this](https://github.com/yarnpkg/yarn/issues/2821) for more information.

If using `nvm` you can avoid the `node` installation by doing:

```sh
sudo apt-get update && sudo apt-get install --no-install-recommends yarn
sudo apt update && sudo apt install --no-install-recommends yarn
```

**Note**: Due to the use of `nodejs` instead of `node` name in some distros, `yarn` might complain about `node` not being installed. A workaround for this is to add an alias in your `.bashrc` file, like so: `alias node=nodejs`. This will point `yarn` to whatever version of `node` you decide to use.
Expand Down
2 changes: 1 addition & 1 deletion lang/en/docs/_installations/nightly.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ An Ubuntu/Debian repository of the nightly builds is also available. To enable i
```sh
sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
echo "deb http://nightly.yarnpkg.com/debian/ nightly main" | sudo tee /etc/apt/sources.list.d/yarn-nightly.list
sudo apt-get update && sudo apt-get install yarn
sudo apt update && sudo apt install yarn
```

On Windows, the [Windows installer](https://nightly.yarnpkg.com/latest.msi) can be used.