Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit 8c8edea

Browse files
committed
Update installation docs
1 parent 2b13ff1 commit 8c8edea

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ to open a project right from the command line.
2121

2222
![Demo](/site/demo.gif)
2323

24+
## Install
25+
26+
```bash
27+
curl https://sail.dev/install.sh | bash
28+
```
29+
2430
## Features
2531

2632
- **No more "It works on my machine"**, everyone working on the same project is working in the same environment.

site/content/docs/installation.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,22 @@ Before using Sail, there are several dependencies that must be installed on the
1515

1616
- [Docker](https://docs.docker.com/install/)
1717
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
18-
- [Chrome](https://www.google.com/chrome/) or [Chromium](https://www.chromium.org/getting-involved/download-chromium) - not required, but strongly recommended for best [code-server](https://github.com/cdr/code-server) support.
19-
18+
- [Chrome](https://www.google.com/chrome/) or [Chromium](https://www.chromium.org/getting-involved/download-chromium) - not required, but strongly recommended for best [code-server](https://github.com/cdr/code-server) support. If chrome is not installed, the default browser will be used.
2019

2120
## Installation
2221

23-
### Stable Releases
24-
25-
It's recommended that users install the sail binary from the stable releases.
22+
For simple, secure and fast installation, the following command will install the latest version
23+
of sail for your OS and architecture into `/usr/local/bin`. You will need to have `/usr/local/bin`
24+
in your [$PATH](https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them) in order to use it.
2625

27-
You can download and untar the binary to your current working directory by running the following command with the download URL for your platform.
28-
29-
The download URLs can be found on our [releases page](https://github.com/cdr/sail/releases).
30-
```
31-
curl -L <DOWNLOAD_URL> | tar -C ./ -xv
26+
```bash
27+
curl https://sail.dev/install.sh | bash
3228
```
3329

34-
After installing, you can move the binary to your [PATH](https://superuser.com/questions/284342/what-are-path-and-other-environment-variables-and-how-can-i-set-or-use-them) in order
35-
to use Sail from anywhere in your terminal.
30+
### Stable Releases
31+
32+
You can also manually install from the [github releases](https://github.com/cdr/sail/releases) and
33+
place the binary wherever you want.
3634

3735
### From Source
3836

@@ -70,7 +68,4 @@ In order to have an optimal experience while using Sail, we recommend [installin
7068

7169
## Updating
7270

73-
To gracefully update `sail`, simply overwrite the binary with the binary
74-
in the new release.
75-
76-
If you installed via `go install`, just run the same command again.
71+
Just reinstall with whatever method you installed with.
File renamed without changes.

0 commit comments

Comments
 (0)