Comments (5)
The same happens on GitPod or Google Cloud Shell:
$ curl -sf https://gobinaries.com/tj/staticgen/cmd/staticgen | sh
\x1b[38;5;61m ==>\x1b[0;00m Downloading github.com/tj/staticgen/cmd/staticgen@master
\x1b[38;5;61m ==>\x1b[0;00m Resolved version master to v1.0.1
\x1b[38;5;61m ==>\x1b[0;00m Downloading binary for linux amd64
\x1b[38;5;61m ==>\x1b[0;00m Installing staticgen to /usr/local/bin
install: cannot create regular file '/usr/local/bin/staticgen': Permission denied
from staticgen.
Ahhh try curl -sf https://gobinaries.com/tj/staticgen/cmd/staticgen | sudo sh
, I was kind of debating recommending sudo by default but it should at least be documented.
You can alsocurl -sf https://gobinaries.com/tj/staticgen/cmd/staticgen | PREFIX=~/bin sh
or similar if you want a different/temporary install
from staticgen.
Thanks, it works.
I tried with sudo
before curl
, but not before sh
Yes, I would recommend mentioning it in the README, as I expect most users to have to do this.
from staticgen.
If you run curl -sf https://gobinaries.com/tj/staticgen/cmd/staticgen | sh
it should be ok now, snuck a sudo install ...
in there
from staticgen.
Oh that's perfect, thanks
from staticgen.
Related Issues (14)
- Minify CSS HOT 1
- Docs: not clear if javascript is executed before page is crawled HOT 1
- error saving error=context canceled HOT 2
- Stops on 404 405 HOT 5
- Validate fragments
- Usage in CI tools HOT 5
- Utilize HTTP caching for partial rebuilds
- Improve performance
- Larger examples
- Release binaries
- Tests
- Remove static.json configuration requirement HOT 1
- Resource URL rewriting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from staticgen.