Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
135 changes: 135 additions & 0 deletions en-US/installation/download-commandline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
# Downloading Gogs via commandline

Requirements: [curl](https://wikipedia.org/wiki/CURL), [wget](https://wikipedia.org/wiki/Wget)

Simply copy & Paste the command to your terminal.
If any errors accure please file an issue so we can fix it.

* darwin_amd64.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "darwin_amd64.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```
* linux_386.tar.gz

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "linux_386.tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* linux_386.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "linux_386.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* linux_amd64.tar.gz

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "linux_amd64.tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* linux_amd64.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "linux_amd64.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* linux_armv5.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "linux_armv5.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* linux_armv6.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "linux_armv6.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* raspi_armv7.tar.gz

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "raspi_armv7.tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* raspi_armv7.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "raspi_armv7.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* windows_386.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "windows_386.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* windows_386_mws.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "windows_386_mws.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* windows_amd64.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "windows_amd64.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```

* windows_amd64_mws.zip

```bash
curl -s https://api.github.com/repos/gogs/gogs/releases/latest \
| grep "windows_amd64_mws.zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i -
```
2 changes: 2 additions & 0 deletions en-US/installation/install_from_binary.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ To go further, see [Configuration and run](/docs/installation/configuration_and_

Below are links to downloads for the latest releases. Older downloads can be found at [releases](https://github.com/gogs/gogs/releases).

Learn about [downloading Gogs via commandline](/docs/installation/download-commandline.md) (without GUI)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This url here could be an issue


### 0.11.91 @ 2019-08-11

|System|Type|SQLite|PAM|Download ([GitHub](https://github.com/gogs/gogs/releases/tag/v0.11.91))|
Expand Down