Remove dollar signs before commands

This commit is contained in:
Mimi 2024-04-24 00:57:06 +08:00
parent 26d682cfa2
commit cd1a082795
3 changed files with 24 additions and 24 deletions

View File

@ -39,15 +39,15 @@
If you're using Hexo 5.0 or later, the simplest way to install is through npm:
```sh
$ cd hexo-site
$ npm install hexo-theme-next
cd hexo-site
npm install hexo-theme-next
```
Or you can clone the entire repository:
```sh
$ cd hexo-site
$ git clone https://github.com/next-theme/hexo-theme-next themes/next
cd hexo-site
git clone https://github.com/next-theme/hexo-theme-next themes/next
```
See [detailed installation instructions][docs-installation-url] if you want any other variant.
@ -97,15 +97,15 @@ A new version of NexT will be released every month. Please read the [release not
Install the latest version through npm:
```sh
$ cd hexo-site
$ npm install hexo-theme-next@latest
cd hexo-site
npm install hexo-theme-next@latest
```
Or update to the latest master branch:
```sh
$ cd themes/next
$ git pull
cd themes/next
git pull
```
**If you want to update from v5.x / v7.x to the latest version, read [this][docs-upgrade-url].**

View File

@ -39,15 +39,15 @@
If you're using Hexo 5.0 or later, the simplest way to install is through npm:
```sh
$ cd hexo-site
$ npm install hexo-theme-next
cd hexo-site
npm install hexo-theme-next
```
Or you can clone the entire repository:
```sh
$ cd hexo-site
$ git clone https://github.com/next-theme/hexo-theme-next themes/next
cd hexo-site
git clone https://github.com/next-theme/hexo-theme-next themes/next
```
See [detailed installation instructions][docs-installation-url] if you want any other variant.
@ -97,15 +97,15 @@ NexT выпускает новые версии каждый месяц. Please
Install the latest version through npm:
```sh
$ cd hexo-site
$ npm install hexo-theme-next@latest
cd hexo-site
npm install hexo-theme-next@latest
```
Or update to the latest master branch:
```sh
$ cd themes/next
$ git pull
cd themes/next
git pull
```
**Если нужно обновиться с версии v5.x / v7.x на последней версиями, читаем [здесь][docs-upgrade-url].**

View File

@ -39,15 +39,15 @@
如果你在使用 Hexo 5.0 或更新版本,最简单的安装方式是通过 npm
```sh
$ cd hexo-site
$ npm install hexo-theme-next
cd hexo-site
npm install hexo-theme-next
```
你也可以直接克隆整个仓库:
```sh
$ cd hexo-site
$ git clone https://github.com/next-theme/hexo-theme-next themes/next
cd hexo-site
git clone https://github.com/next-theme/hexo-theme-next themes/next
```
此外,如果你想要使用其他方式,请参见[详细安装步骤][docs-installation-url]。
@ -97,15 +97,15 @@ NexT 每个月都会发布新版本。请在更新前阅读[更新说明][docs-r
通过 npm 安装最新版本:
```sh
$ cd hexo-site
$ npm install hexo-theme-next@latest
cd hexo-site
npm install hexo-theme-next@latest
```
或者通过 git 更新到最新的 master 分支:
```sh
$ cd themes/next
$ git pull
cd themes/next
git pull
```
**如果你想要从 v5.x / v7.x 更新到最新版本,阅读[这篇文档][docs-upgrade-url]。**