Back

Jan 25, 2024

Run Snippets with Curl and Wget

Run Snippets with Curl and Wget

You can now run snippets with its URL (https://snippet.run/owner/snippet) using curl or wget

snippet.run will use the User-Agent header to check whether a request is from curl or wget. If so, snippet.run will response the raw snippet content instead of the ui

For example, the following command will run owner/snippet with bash:

curl -fsSL https://snippet.run/owner/snippet | bash
logo
snippet.run
Run your code, from the cloud, on your computer
© 2024 snippet.run