Turning the Installation page more beginner-friendly
[?]
Dec 3, 2020, 6:37 PM
BRV6TU4BE3ZFM6G66UGYHK7SOYWIFZEX46AGZVOUC3GHOZDPZUUACDependencies
- [2]
R66FHFZ7Fixing a wrong $ sign - [3]
SCSV2FNSReboot - [4]
R2GOU54OInstalling on Debian (actually tested on Ubuntu) - [5]
GLUD3ZVFGenerating the reference - [6]
BA5KMNO5Updating installation instructions - [7]
ONXLUQLIAdd install instructions for arch - [8]
OSJ2HIDPVersion 1.0.0-alpha.10
Change contents
- edit in src/reference/clone.md at line 1[3.78342]
# pijul cloneClones an existing pijul repository## Usage```pijul clone [FLAGS] [OPTIONS] <remote> [--] [path]```## Args`<remote>``<path>`## Flags`-h, --help`Prints help information`--lazy`only download changes with alive contents`-k`Do not check certificates`-V, --version`Prints version information## Options`--change <change>`clone this change and its dependencies`--channel <channel>`set the remote channel [default: main]`--path <partial-paths>...`clone this path`--state <state>`clone this state - replacement in src/installing.md at line 5
The main channel to compile Pijul from source is the Rust Languagepackage manager, Cargo. See[here](https://www.rust-lang.org/install.html) for installing Cargo(which comes with Rust).The main channel to compile **Pijul** from source is the Rust Languagepackage manager: **cargo**. You'll need to download **rustup** from [here](https://www.rust-lang.org/tools/install) to install **cargo**. - replacement in src/installing.md at line 8
Next you'll need some libraries headers installed on your computer and clang compiler.On installing **cargo**, there are also three different channels to choose from, namely: stable, beta and nightly. You can find more information about it [here](https://rust-lang.github.io/rustup/concepts/channels.html). If you're unsure of which channel to choose, go with *stable* as your default rust toolchain: - replacement in src/installing.md at line 10
On Debian, be sure to install needed libraries:```rustup default stable```If you've already installed **rustup** before, make sure to *update* it.Next, you'll need the necessary **libraries and header files** installed on your computer and clang compiler: - edit in src/installing.md at line 18
<br />**On Debian:** - replacement in src/installing.md at line 26
On OSX, this can be done with:**On OSX:** - replacement in src/installing.md at line 32
On Arch Linux, install:**On Arch Linux:** - replacement in src/installing.md at line 38
and run<br /> - replacement in src/installing.md at line 40
```rustup default stable```After installing the necessary libraries and header files, it's time to install **Pijul**! - replacement in src/installing.md at line 42
to set the default rust toolchain.Then run the following command in yourterminal:Run the following command in your terminal: - replacement in src/installing.md at line 49
variable, for example, add to yourvariable. For example: adding the following to your - replacement in src/installing.md at line 63
nix-env upgradenix-env --upgrade - replacement in src/installing.md at line 73
if it fails with:If it fails with the following error: - replacement in src/installing.md at line 86
Pijul is packaged in [AUR](https://aur.archlinux.org/packages/pijul/) on Arch Linux.However, this package is currently flagged Out-of-date and seems to be broken.Pijul is packaged in [AUR](https://aur.archlinux.org/packages/pijul/); however, this package is currently flagged Out-of-date and seems to be broken.