From 4e3de7af66c5f76e442fa61148e559889edf9b89 Mon Sep 17 00:00:00 2001 From: peefy Date: Fri, 11 Oct 2024 12:00:01 +0800 Subject: [PATCH] chore: update windows install script address Signed-off-by: peefy --- .github/workflows/install-kcl-lsp.yml | 4 ++-- docs/user_docs/getting-started/install.md | 6 +++--- .../current/user_docs/getting-started/install.md | 6 +++--- .../version-0.10/user_docs/getting-started/install.md | 6 +++--- .../version-0.7/user_docs/getting-started/install.md | 4 ++-- .../version-0.8/user_docs/getting-started/install.md | 4 ++-- .../version-0.9/user_docs/getting-started/install.md | 4 ++-- .../version-0.10/user_docs/getting-started/install.md | 6 +++--- .../version-0.7/user_docs/getting-started/install.md | 6 +++--- .../version-0.8/user_docs/getting-started/install.md | 6 +++--- .../version-0.9/user_docs/getting-started/install.md | 6 +++--- 11 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/install-kcl-lsp.yml b/.github/workflows/install-kcl-lsp.yml index 18e21ceb..d44710a4 100644 --- a/.github/workflows/install-kcl-lsp.yml +++ b/.github/workflows/install-kcl-lsp.yml @@ -35,7 +35,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Check Install Script KCL Language Server - run: powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" + run: powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" - name: Check run run: C:\kclvm\bin\kcl-language-server.exe version @@ -55,7 +55,7 @@ jobs: check-kcl-lsp-brew-install-macos: strategy: matrix: - os: [macos-12, macos-13, macos-latest] + os: [macos-12, macos-13, macos-latest] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/docs/user_docs/getting-started/install.md b/docs/user_docs/getting-started/install.md index ebd31235..4cd89f55 100644 --- a/docs/user_docs/getting-started/install.md +++ b/docs/user_docs/getting-started/install.md @@ -59,13 +59,13 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash Install or upgrade the latest windows KCL to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-cli.ps1 | iex" ``` Uninstall ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` ### Homebrew (MacOS) @@ -164,7 +164,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash Install or upgrade the latest windows KCL language server to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` #### Homebrew (MacOS) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/getting-started/install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/getting-started/install.md index 01882f64..b2b75bad 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/getting-started/install.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/getting-started/install.md @@ -59,13 +59,13 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash 将 KCL windows 最新版本安装到 $Env:SystemDrive\kclvm\bin,并将该目录添加到用户 PATH 环境变量中。 ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-cli.ps1 | iex" ``` 卸载 ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` #### Homebrew (MacOS) @@ -164,7 +164,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash 将 KCL language server windows 最新版本安装到 $Env:SystemDrive\kclvm\bin,并将该目录添加到用户 PATH 环境变量中。 ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` ### Homebrew (MacOS) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/getting-started/install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/getting-started/install.md index 01882f64..b2b75bad 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/getting-started/install.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/getting-started/install.md @@ -59,13 +59,13 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash 将 KCL windows 最新版本安装到 $Env:SystemDrive\kclvm\bin,并将该目录添加到用户 PATH 环境变量中。 ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-cli.ps1 | iex" ``` 卸载 ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` #### Homebrew (MacOS) @@ -164,7 +164,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash 将 KCL language server windows 最新版本安装到 $Env:SystemDrive\kclvm\bin,并将该目录添加到用户 PATH 环境变量中。 ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` ### Homebrew (MacOS) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7/user_docs/getting-started/install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7/user_docs/getting-started/install.md index c542b556..d670c11c 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7/user_docs/getting-started/install.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7/user_docs/getting-started/install.md @@ -65,7 +65,7 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash 卸载 ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` #### Homebrew (MacOS) @@ -162,7 +162,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash 将 KCL language server windows 最新版本安装到 $Env:SystemDrive\kclvm\bin,并将该目录添加到用户 PATH 环境变量中。 ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` ### Homebrew (MacOS) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.8/user_docs/getting-started/install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.8/user_docs/getting-started/install.md index 5712696e..b5891f9a 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.8/user_docs/getting-started/install.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.8/user_docs/getting-started/install.md @@ -65,7 +65,7 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash 卸载 ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` #### Homebrew (MacOS) @@ -166,7 +166,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash 将 KCL language server windows 最新版本安装到 $Env:SystemDrive\kclvm\bin,并将该目录添加到用户 PATH 环境变量中。 ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` ### Homebrew (MacOS) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.9/user_docs/getting-started/install.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.9/user_docs/getting-started/install.md index f2b12ace..eaf4d0b4 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.9/user_docs/getting-started/install.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.9/user_docs/getting-started/install.md @@ -65,7 +65,7 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash 卸载 ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` #### Homebrew (MacOS) @@ -164,7 +164,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash 将 KCL language server windows 最新版本安装到 $Env:SystemDrive\kclvm\bin,并将该目录添加到用户 PATH 环境变量中。 ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` ### Homebrew (MacOS) diff --git a/versioned_docs/version-0.10/user_docs/getting-started/install.md b/versioned_docs/version-0.10/user_docs/getting-started/install.md index ebd31235..4cd89f55 100644 --- a/versioned_docs/version-0.10/user_docs/getting-started/install.md +++ b/versioned_docs/version-0.10/user_docs/getting-started/install.md @@ -59,13 +59,13 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash Install or upgrade the latest windows KCL to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-cli.ps1 | iex" ``` Uninstall ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` ### Homebrew (MacOS) @@ -164,7 +164,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash Install or upgrade the latest windows KCL language server to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` #### Homebrew (MacOS) diff --git a/versioned_docs/version-0.7/user_docs/getting-started/install.md b/versioned_docs/version-0.7/user_docs/getting-started/install.md index 32be666f..686f5f43 100644 --- a/versioned_docs/version-0.7/user_docs/getting-started/install.md +++ b/versioned_docs/version-0.7/user_docs/getting-started/install.md @@ -59,13 +59,13 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash Install or upgrade the latest windows KCL to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-cli.ps1 | iex" ``` Uninstall ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` ### Homebrew (MacOS) @@ -162,7 +162,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash Install or upgrade the latest windows KCL language server to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` #### Homebrew (MacOS) diff --git a/versioned_docs/version-0.8/user_docs/getting-started/install.md b/versioned_docs/version-0.8/user_docs/getting-started/install.md index 3f5ee826..cd76a034 100644 --- a/versioned_docs/version-0.8/user_docs/getting-started/install.md +++ b/versioned_docs/version-0.8/user_docs/getting-started/install.md @@ -59,13 +59,13 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash Install or upgrade the latest windows KCL to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-cli.ps1 | iex" ``` Uninstall ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` ### Homebrew (MacOS) @@ -166,7 +166,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash Install or upgrade the latest windows KCL language server to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` #### Homebrew (MacOS) diff --git a/versioned_docs/version-0.9/user_docs/getting-started/install.md b/versioned_docs/version-0.9/user_docs/getting-started/install.md index a10a44c1..0850d2fa 100644 --- a/versioned_docs/version-0.9/user_docs/getting-started/install.md +++ b/versioned_docs/version-0.9/user_docs/getting-started/install.md @@ -59,13 +59,13 @@ wget -q https://kcl-lang.io/script/uninstall-cli.sh -O - | /bin/bash Install or upgrade the latest windows KCL to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-cli.ps1 | iex" ``` Uninstall ```shell -powershell -Command "iwr -useb https://kcl-lang.io/script/uninstall-cli.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/uninstall-cli.ps1 | iex" ``` ### Homebrew (MacOS) @@ -164,7 +164,7 @@ wget -q https://kcl-lang.io/script/install-kcl-lsp.sh -O - | /bin/bash Install or upgrade the latest windows KCL language server to $Env:SystemDrive\kclvm\bin and add this directory to User PATH environment variable. ```bash -powershell -Command "iwr -useb https://kcl-lang.io/script/install-kcl-lsp.ps1 | iex" +powershell -Command "iwr -useb https://www.kcl-lang.io/script/install-kcl-lsp.ps1 | iex" ``` #### Homebrew (MacOS)