markdown 通过bash命令运行Cacher片段内容

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 通过bash命令运行Cacher片段内容相关的知识,希望对你有一定的参考价值。

Suppose that you have a set of commands you need to run on the machine of every new engineer. These commands install Homebrew and wget. You could write a snippet file with the content:

```shell
echo "Running setup commands ..."

echo "Installing Homebrew ..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

echo "Installing wget ..."
brew install wget
```

Save the snippet as public, then click on the **View Raw** link in the snippet file's header. From the browser page that opens, copy the URL to the snippet file.

Then `curl` the file contents into `bash` to run the commands:

```shell
\curl -sSL https://api.cacher.io/raw/d87125a90faaf53b24bf/8f84e8dce35880bd3bbc/setup.sh | bash
```

以上是关于markdown 通过bash命令运行Cacher片段内容的主要内容,如果未能解决你的问题,请参考以下文章

请使用下列bash命令下载编译和运行本项目:

markdown Cacher Pro Tips

markdown Cacher Pro Tips

markdown Cacher Pro Tips

markdown Cacher Pro Tips

markdown Cacher Pro Tips