forked from DGNum/colmena
Update installation docs to point users at Nixpkgs
Nixpkgs now includes Colmena starting with 21.11 and is now the preferred method to obtain Colmena. The `stable` branch will continue to be updated for each stable release. Fixes #41.
This commit is contained in:
parent
83ebe45f20
commit
a12d7e1115
3 changed files with 13 additions and 15 deletions
|
@ -25,15 +25,17 @@ $ <b>colmena apply --on @tag-a</b>
|
|||
|
||||
## Installation
|
||||
|
||||
To install the latest stable version to the user profile, use the following command:
|
||||
`colmena` is included in Nixpkgs beginning with 21.11.
|
||||
|
||||
Use the following command to enter a shell environment with the `colmena` command:
|
||||
|
||||
```bash
|
||||
nix-env -if https://github.com/zhaofengli/colmena/tarball/stable
|
||||
nix-shell -p colmena
|
||||
```
|
||||
|
||||
### Unstable Version
|
||||
|
||||
To install the latest development version:
|
||||
To install the latest development version to your user profile:
|
||||
|
||||
```bash
|
||||
nix-env -if https://github.com/zhaofengli/colmena/tarball/main
|
||||
|
|
|
@ -3,20 +3,14 @@
|
|||
## Installation
|
||||
|
||||
<!-- STABLE_BEGIN -->
|
||||
To quickly try Colmena out, use the following command to enter an ephemeral environment with the latest stable version of `colmena`:
|
||||
`colmena` is included in Nixpkgs beginning with 21.11.
|
||||
|
||||
For this tutorial, use the following command to enter an ephemeral environment with the `colmena` command:
|
||||
|
||||
```bash
|
||||
nix shell github:zhaofengli/colmena/stable
|
||||
nix shell nixpkgs#colmena
|
||||
```
|
||||
|
||||
To install Colmena to the user profile, use the following command:
|
||||
|
||||
```bash
|
||||
nix-env -if https://github.com/zhaofengli/colmena/tarball/stable
|
||||
```
|
||||
|
||||
You can also add `github:zhaofengli/colmena/stable` as an input in your Flake and add the `colmena` package to your `devShell`.
|
||||
|
||||
If you are interested in trying out the bleeding-edge version of Colmena, Read [the unstable version](https://zhaofengli.github.io/colmena/unstable) of the Manual for instructions.
|
||||
<!-- STABLE_END -->
|
||||
|
||||
|
|
|
@ -4,10 +4,12 @@
|
|||
|
||||
<!-- STABLE_BEGIN -->
|
||||
|
||||
To install the latest stable version to the user profile, use the following command:
|
||||
`colmena` is included in Nixpkgs beginning with 21.11.
|
||||
|
||||
For this tutorial, use the following command to enter an ephemeral environment with the `colmena` command:
|
||||
|
||||
```bash
|
||||
nix-env -if https://github.com/zhaofengli/colmena/tarball/stable
|
||||
nix-shell -p colmena
|
||||
```
|
||||
|
||||
If you are interested in trying out the bleeding-edge version of Colmena, Read [the unstable version](https://zhaofengli.github.io/colmena/unstable) of the Manual for instructions.
|
||||
|
|
Loading…
Reference in a new issue