You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/usage/getting-started.md
+41-61Lines changed: 41 additions & 61 deletions
Original file line number
Diff line number
Diff line change
@@ -5,94 +5,74 @@ title: Getting Started: Users
5
5
6
6
7
7
8
-
Basics
9
-
------------
10
-
Make sure that you are using Java 8 or later. The output of `java -version`
11
-
should contain `1.8`.
8
+
## Trying out Dotty
12
9
10
+
### In your web browser
11
+
[Scastie](https://scastie.scala-lang.org/?target=dotty), the online Scala playground, supports Dotty.
12
+
This is an easy way to try Dotty without installing anything, directly in your browser.
13
13
14
-
Option 1: Install Dotty
15
-
-------------
16
-
If you're a Mac user, you can install dotty with [brew](https://brew.sh/)
14
+
### sbt
15
+
The fastest way to create a new project compiled by Dotty is using [sbt (0.13.13+)](http://www.scala-sbt.org/)
17
16
17
+
Create a simple Dotty project:
18
18
```bash
19
-
brew install lampepfl/brew/dotty
19
+
$ sbt new lampepfl/dotty.g8
20
20
```
21
21
22
-
If you're a Linux or Windows user, download the [latest release](https://github.com/lampepfl/dotty/releases). Optionally add path of the folder `bin/` to the system environment variable `PATH`.
23
-
24
-
Option 2: Using Dotty directly from source
25
-
-------------
22
+
Or a Dotty project that cross compiles with Scala 2:
0 commit comments