Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed May 21, 2024
1 parent 1b2e287 commit 8584af3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ Let's Oxidize Development Environments
For macOS / Linux (Intel)

```sh
git clone --depth=1 https://github.com/ivaquero/oxidizer.git && bash oxidizer/install.sh

# customize path for Oxidizer
export OXIDIZER=$HOME/oxidizer
git clone --depth=1 https://github.com/ivaquero/oxidizer.git $OXIDIZER && bash oxidizer/install.sh
```

Note that Homebrew is an essential dependency for Oxidizer on macOS / Linux. For China mainland users, you may set `BREW_CN` variable to install Homebrew through domestic mirror
Expand All @@ -38,10 +36,8 @@ export BREW_CN=1
For Windows

```powershell
git clone --depth=1 https://github.com/ivaquero/oxidizer.git; . oxidizer\install.ps1
# customize path for Oxidizer
$env:OXIDIZER = "$HOME\oxidizer"
git clone --depth=1 https://github.com/ivaquero/oxidizer.git $env:OXIDIZER; . oxidizer\install.ps1
```

Note that Scoop is an essential dependency for Oxidizer on Windows. For China mainland users, you may set `SCOOP_CN` variable to install Scoop through domestic mirror
Expand Down
8 changes: 2 additions & 6 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@
对 macOS / Linux(Intel)

```sh
git clone --depth=1 https://github.com/ivaquero/oxidizer.git $OXIDIZER && bash $OXIDIZER/install.sh

# 自定义安装路径
export OXIDIZER=$HOME/oxidizer
git clone --depth=1 https://github.com/ivaquero/oxidizer.git $OXIDIZER && bash $OXIDIZER/install.sh
```

- 对中国大陆用户,可设置 `BREW_CN` 变量来下载安装 Homebrew:
Expand All @@ -34,10 +32,8 @@ export BREW_CN=1
对 Windows

```powershell
git clone --depth=1 https://github.com/ivaquero/oxidizer.git $env:OXIDIZER; . $env:OXIDIZER\install.ps1
# 自定义安装路径
$env:OXIDIZER = "$HOME\oxidizer"
git clone --depth=1 https://github.com/ivaquero/oxidizer.git $env:OXIDIZER; . $env:OXIDIZER\install.ps1
```

> 对于 Cmder 用户,你需要删除`%CMDER_ROOT%\vendor\profile.ps1`的最后一行`Set-Item -Path function:\prompt -Value $Prompt -Options ReadOnly`中的`-Options ReadOnly`
Expand Down

0 comments on commit 8584af3

Please sign in to comment.