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
Add nightly installation instructions #303
Merged
beta-ziliani
merged 4 commits into
crystal-lang:master
from
straight-shoota:feature/install-nightly
Jul 27, 2022
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,62 @@ | ||||||
--- | ||||||
subtitle: Nightly Builds | ||||||
--- | ||||||
|
||||||
Nightly builds of the Crystal compiler are available from these locations: | ||||||
|
||||||
## Tarball | ||||||
|
||||||
Tarballs with nightly builds are available for the following platforms: | ||||||
|
||||||
* linux x86_64: [`https://artifacts.crystal-lang.org/dist/crystal-nightly-linux-x86_64.tar.gz`](https://artifacts.crystal-lang.org/dist/crystal-nightly-linux-x86_64.tar.gz) | ||||||
* darwin universal (x86_64 and aarch64): [`https://artifacts.crystal-lang.org/dist/crystal-nightly-darwin-universal.tar.gz`](https://artifacts.crystal-lang.org/dist/crystal-nightly-darwin-universal.tar.gz) | ||||||
* windows x86_64: [`https://nightly.link/crystal-lang/crystal/workflows/win/master/crystal.zip`](https://nightly.link/crystal-lang/crystal/workflows/win/master/crystal.zip) | ||||||
|
||||||
See [*Install from tar.gz*](/install/from_targz) for further instructions. | ||||||
|
||||||
## Docker | ||||||
|
||||||
Nightly builds are available on the `nightly` tag on the [Docker repository of Crystal](https://hub.docker.com/r/crystallang/crystal/). | ||||||
|
||||||
```shell | ||||||
docker pull crystallang/crystal:nightly | ||||||
``` | ||||||
|
||||||
## Homebrew | ||||||
|
||||||
The [homebrew formula for Crystal](https://formulae.brew.sh/formula/crystal) provides the `HEAD` version for building from the `master` branch. | ||||||
|
||||||
```shell | ||||||
brew install crystal --HEAD | ||||||
``` | ||||||
|
||||||
## Snapcraft | ||||||
|
||||||
Nightly builds are available on the `edge` channel of the [Snapcraft repository of Crystal](https://snapcraft.io/crystal). | ||||||
|
||||||
```shell | ||||||
snap install crystal --classic --edge | ||||||
``` | ||||||
|
||||||
## Scoop | ||||||
|
||||||
Nightly builds are available via the package manager [Scoop](https://scoop.sh/) on Windows in the bucket [`https://github.com/neatorobito/scoop-crystal`](https://github.com/neatorobito/scoop-crystal): | ||||||
|
||||||
```shell | ||||||
scoop bucket add crystal-preview https://github.com/neatorobito/scoop-crystal | ||||||
scoop install crystal-nightly | ||||||
``` | ||||||
|
||||||
## From Sources | ||||||
|
||||||
See [*Build from sources*](/install/from_sources) for further instructions and pull the content of the `master` branch, instead of a tagged release version. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto
Suggested change
|
||||||
|
||||||
```shell | ||||||
wget https://github.com/crystal-lang/crystal/archive/refs/heads/master.zip | ||||||
# or | ||||||
git clone git@github.com:crystal-lang/crystal | ||||||
``` | ||||||
|
||||||
## GitHub Actions | ||||||
|
||||||
Nightly builds are available in GitHub Actions with the [install-crystal](https://github.com/crystal-lang/install-crystal) action. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for the italics here? (more a curiosity than a concern)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cause it's a page title 🤷