Skip to content

Commit 452c368

Browse files
Update README.md, fix installation script for Mac
Curl needs "Accept: application/json" in request header, else call curl "https://api.github.com/repos/covexo/devspace/releases/latest" fails with following error message { "message": "Unsupported 'Accept' header: [#<Sinatra::Request::AcceptEntry:0x00007f8e4e2f8878 @entry=\"application/vnd.heroku+json; version=3\", @type=\"application/vnd.heroku+json\", @params={\"version\"=>\"3\"}, @q=1.0>]. Must accept 'application/json'.", "documentation_url": "https://developer.github.com/v3/media" }
1 parent 4069099 commit 452c368

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ curl --silent "https://api.github.com/repos/covexo/devspace/releases/latest" | s
4343

4444
### For Mac
4545
```bash
46-
curl --silent "https://api.github.com/repos/covexo/devspace/releases/latest" | sed -nE 's!.*"(https://github.com[^"]*devspace-darwin-amd64)".*!\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace && sudo mv devspace /usr/local/bin
46+
curl -s -H "Accept: application/json" "https://api.github.com/repos/covexo/devspace/releases/latest" | sed -nE 's!.*"(https://github.com[^"]*devspace-darwin-amd64)".*!\1!p' | xargs -n 1 curl -L -o devspace && chmod +x devspace && sudo mv devspace /usr/local/bin
4747
```
4848

4949
## [Quickstart](https://devspace.covexo.com/docs/getting-started/quickstart.html)

0 commit comments

Comments
 (0)