-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
193 additions
and
37 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
# Installation | ||
|
||
This track uses the [nightly Arturo releases][nightly]. The `full` build is required for package support and is currently supported for only Linux and Windows platforms. An [official Docker image][docker-image] is also available. | ||
Arturo comes with pre-built binaries for Linux, MacOS, and Windows in both `full` and `mini` build flavors. | ||
For this track, we'll be using [the nightly `full` build release of Arturo][nightly] which includes the entire standard library and mostly notably package manager support. | ||
This full build is only supported for `x86_64` Linux and Windows platforms. | ||
|
||
## Downloading Nightly | ||
|
||
On the [nightly Arturo build page][nightly], find the latest `full` release for your current platform (Linux or Windows only). | ||
The page lists the pre-built releases as `arturo_0.9.83-<year>-<month>-<date>-<platform>-full`. | ||
For example, the latest `full` build for Linux as of this writing is `arturo_0.9.83-2024-06-12-linux-full`. | ||
Download the correct release for your platform and extract the `arturo` binary from the archive. | ||
Move that binary to a directory on your system's PATH environment variable. | ||
Common locatons might be `/usr/local/bin` or `~/.local/bin` on Linux or perhaps `C:\arturo` on Windows. | ||
You can verify the binary is on your PATH by running `arturo --version` at the command-line. | ||
That should print something like `arturo v/0.9.83 b/3112 (amd64/linux)`, and the specific version and platform identifiers may be different for you. | ||
|
||
## Running Arturo code | ||
At that point, you're reaady to start writing Arturo code! | ||
To access the Arturo REPL interactive console, run `arturo` at the command-line. | ||
To execute an Arturo script, run `arturo <file>` at the command-line inside. | ||
To import packages, run `import "<package-name>"!` inside the REPL. | ||
If the package is not already installed, Arturo will download and install the package for you. | ||
You can find packages using [Packager, the official Arturo package registry][packager]. | ||
|
||
[nightly]: https://github.com/arturo-lang/nightly/releases | ||
[docker-image]: https://hub.docker.com/r/arturolang/arturo | ||
[packager]: https://pkgr.art/ |
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