commit 017e46212e1d67ecdafd39cc4da26b9d3d66a8ce Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon Oct 7 13:52:36 2024 +0000 Deploy to GitHub pages diff --git a/404.html b/404.html new file mode 100644 index 00000000..dc5acdf0 --- /dev/null +++ b/404.html @@ -0,0 +1,21 @@ + + + + + + 404 | asdf + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 00000000..b850b998 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +asdf-vm.com \ No newline at end of file diff --git a/assets/app.2_UJsjMp.js b/assets/app.2_UJsjMp.js new file mode 100644 index 00000000..e705c438 --- /dev/null +++ b/assets/app.2_UJsjMp.js @@ -0,0 +1 @@ +import{t as i}from"./chunks/theme.BQKOjM6g.js";import{R as o,a3 as u,a4 as c,a5 as l,a6 as f,a7 as d,a8 as m,a9 as h,aa as g,ab as A,ac as v,d as P,u as y,v as C,s as b,ad as w,ae as R,af as E,ag as S}from"./chunks/framework.C9NVOr0y.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=p(i),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return C(()=>{b(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),R(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function D(){globalThis.__VITEPRESS__=!0;const e=j(),a=_();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function _(){return g(T)}function j(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&D().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{D as createApp}; diff --git a/assets/chunks/@localSearchIndexja-jp.CBrievQI.js b/assets/chunks/@localSearchIndexja-jp.CBrievQI.js new file mode 100644 index 00000000..b19f253a --- /dev/null +++ b/assets/chunks/@localSearchIndexja-jp.CBrievQI.js @@ -0,0 +1 @@ +const t='{"documentCount":130,"nextId":130,"documentIds":{"0":"/ja-jp/contribute/core.html#asdf","1":"/ja-jp/contribute/core.html#初期セットアップ","2":"/ja-jp/contribute/core.html#開発","3":"/ja-jp/contribute/core.html#gitignore","4":"/ja-jp/contribute/core.html#git-blame-ignore-revs","5":"/ja-jp/contribute/core.html#batsテスト","6":"/ja-jp/contribute/core.html#batsのヒント","7":"/ja-jp/contribute/core.html#プルリクエスト、リリース、conventional-commits","8":"/ja-jp/contribute/core.html#dockerイメージ","9":"/ja-jp/contribute/documentation.html#ドキュメント-サイト","10":"/ja-jp/contribute/documentation.html#初期セットアップ","11":"/ja-jp/contribute/documentation.html#開発","12":"/ja-jp/contribute/documentation.html#プルリクエスト、リリース、conventional-commits","13":"/ja-jp/contribute/documentation.html#vitepress","14":"/ja-jp/contribute/documentation.html#i18n","15":"/ja-jp/contribute/github-actions.html#github-actions","16":"/ja-jp/contribute/first-party-plugins.html#公式プラグイン","17":"/ja-jp/guide/getting-started.html#はじめよう","18":"/ja-jp/guide/getting-started.html#_1-依存関係のインストール","19":"/ja-jp/guide/getting-started.html#_2-asdfのダウンロード","20":"/ja-jp/guide/getting-started.html#公式ダウンロード","21":"/ja-jp/guide/getting-started.html#コミュニティがサポートするダウンロード方法","22":"/ja-jp/guide/getting-started.html#_3-asdfのインストール","23":"/ja-jp/guide/getting-started.html#コアのインストールが完了","24":"/ja-jp/guide/getting-started.html#_4-プラグインのインストール","25":"/ja-jp/guide/getting-started.html#プラグインの依存関係","26":"/ja-jp/guide/getting-started.html#プラグインのインストール","27":"/ja-jp/guide/getting-started.html#_5-特定のバージョンのインストール","28":"/ja-jp/guide/getting-started.html#_6-バージョンをセット","29":"/ja-jp/guide/getting-started.html#グローバル","30":"/ja-jp/guide/getting-started.html#ローカル","31":"/ja-jp/guide/getting-started.html#ツールごとに用意された既存バージョンファイルの利用","32":"/ja-jp/guide/getting-started.html#入門完了","33":"/ja-jp/guide/introduction.html#イントロダクション","34":"/ja-jp/guide/introduction.html#どうやって動いているの","35":"/ja-jp/guide/introduction.html#関連プロジェクト","36":"/ja-jp/guide/introduction.html#nvm-n-rbenv-etc","37":"/ja-jp/guide/introduction.html#direnv","38":"/ja-jp/guide/introduction.html#homebrew","39":"/ja-jp/guide/introduction.html#nixos","40":"/ja-jp/guide/introduction.html#なぜasdfを使うの","41":"/ja-jp/manage/commands.html#すべてのコマンド","42":"/ja-jp/manage/configuration.html#構成設定","43":"/ja-jp/manage/configuration.html#tool-versions","44":"/ja-jp/manage/configuration.html#asdfrc","45":"/ja-jp/manage/configuration.html#legacy-version-file","46":"/ja-jp/manage/configuration.html#use-release-candidates","47":"/ja-jp/manage/configuration.html#always-keep-download","48":"/ja-jp/manage/configuration.html#plugin-repository-last-check-duration","49":"/ja-jp/manage/configuration.html#disable-plugin-short-name-repository","50":"/ja-jp/manage/configuration.html#concurrency","51":"/ja-jp/manage/configuration.html#環境変数","52":"/ja-jp/manage/configuration.html#asdf-config-file","53":"/ja-jp/manage/configuration.html#asdf-default-tool-versions-filename","54":"/ja-jp/manage/configuration.html#asdf-dir","55":"/ja-jp/manage/configuration.html#asdf-data-dir","56":"/ja-jp/manage/configuration.html#asdf-concurrency","57":"/ja-jp/manage/configuration.html#asdf-force-prepend","58":"/ja-jp/manage/configuration.html#完全な構成の例","59":"/ja-jp/manage/configuration.html#内部構成","60":"/ja-jp/manage/core.html#コア","61":"/ja-jp/manage/core.html#インストール-セットアップ","62":"/ja-jp/manage/core.html#実行","63":"/ja-jp/manage/core.html#環境変数","64":"/ja-jp/manage/core.html#情報","65":"/ja-jp/manage/core.html#shimの再作成","66":"/ja-jp/manage/core.html#shimのバージョン","67":"/ja-jp/manage/core.html#更新","68":"/ja-jp/manage/core.html#アンインストール","69":"/ja-jp/manage/plugins.html#プラグイン","70":"/ja-jp/manage/plugins.html#追加","71":"/ja-jp/manage/plugins.html#インストール済みプラグイン一覧","72":"/ja-jp/manage/plugins.html#全プラグインのショートネーム一覧","73":"/ja-jp/manage/plugins.html#更新","74":"/ja-jp/manage/plugins.html#削除","75":"/ja-jp/manage/plugins.html#ショートネームリポジトリの同期","76":"/ja-jp/manage/versions.html#バージョン","77":"/ja-jp/manage/versions.html#バージョンのインストール","78":"/ja-jp/manage/versions.html#最新安定バージョンのインストール","79":"/ja-jp/manage/versions.html#インストール済みバージョン一覧","80":"/ja-jp/manage/versions.html#インストール可能な全バージョン一覧","81":"/ja-jp/manage/versions.html#最新安定バージョンの表示","82":"/ja-jp/manage/versions.html#カレントバージョンのセット","83":"/ja-jp/manage/versions.html#システムバージョンへの委任","84":"/ja-jp/manage/versions.html#カレントバージョンの表示","85":"/ja-jp/manage/versions.html#バージョンのアンインストール","86":"/ja-jp/manage/versions.html#shims","87":"/ja-jp/manage/versions.html#asdfのshimのバイパス","88":"/ja-jp/more/community-projects.html#コミュニティプロジェクト","89":"/ja-jp/more/faq.html#faq","90":"/ja-jp/more/faq.html#wsl1をサポートしていますか","91":"/ja-jp/more/faq.html#wsl2をサポートしていますか","92":"/ja-jp/more/faq.html#新しくインストールした実行ファイルが実行できないのですが","93":"/ja-jp/more/faq.html#シェルが、新しくインストールされたshimを検知してくれないのですが","94":"/ja-jp/more/thanks.html#謝辞","95":"/ja-jp/more/thanks.html#クレジット","96":"/ja-jp/more/thanks.html#メンテナー","97":"/ja-jp/more/thanks.html#コントリビューター","98":"/ja-jp/plugins/create.html#プラグインの作成","99":"/ja-jp/plugins/create.html#クイックスタート","100":"/ja-jp/plugins/create.html#プラグインスクリプトの鉄則","101":"/ja-jp/plugins/create.html#スクリプトの概要","102":"/ja-jp/plugins/create.html#環境変数の概要","103":"/ja-jp/plugins/create.html#必須スクリプト","104":"/ja-jp/plugins/create.html#bin-list-all","105":"/ja-jp/plugins/create.html#bin-download","106":"/ja-jp/plugins/create.html#bin-install","107":"/ja-jp/plugins/create.html#オプションスクリプト","108":"/ja-jp/plugins/create.html#bin-latest-stable","109":"/ja-jp/plugins/create.html#bin-help-overview","110":"/ja-jp/plugins/create.html#bin-help-deps","111":"/ja-jp/plugins/create.html#bin-help-config","112":"/ja-jp/plugins/create.html#bin-help-links","113":"/ja-jp/plugins/create.html#bin-list-bin-paths","114":"/ja-jp/plugins/create.html#bin-exec-env","115":"/ja-jp/plugins/create.html#bin-exec-path","116":"/ja-jp/plugins/create.html#bin-uninstall","117":"/ja-jp/plugins/create.html#bin-list-legacy-filenames","118":"/ja-jp/plugins/create.html#bin-parse-legacy-file","119":"/ja-jp/plugins/create.html#bin-post-plugin-add","120":"/ja-jp/plugins/create.html#bin-post-plugin-update","121":"/ja-jp/plugins/create.html#bin-pre-plugin-remove","122":"/ja-jp/plugins/create.html#asdf-cliの拡張コマンド","123":"/ja-jp/plugins/create.html#カスタムshimテンプレート","124":"/ja-jp/plugins/create.html#テスト","125":"/ja-jp/plugins/create.html#github-action","126":"/ja-jp/plugins/create.html#travisci-構成設定","127":"/ja-jp/plugins/create.html#apiレート制限","128":"/ja-jp/plugins/create.html#github-api-token","129":"/ja-jp/plugins/create.html#プラグインショートネームインデックス"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,3],"1":[1,1,47],"2":[1,1,40],"3":[1,2,14],"4":[5,2,37],"5":[1,1,13],"6":[1,2,32],"7":[4,1,66],"8":[1,1,8],"9":[3,1,3],"10":[1,3,38],"11":[1,3,27],"12":[4,3,16],"13":[1,3,27],"14":[1,3,57],"15":[2,1,8],"16":[1,1,23],"17":[1,1,12],"18":[2,1,40],"19":[2,1,1],"20":[1,3,14],"21":[1,3,22],"22":[2,1,200],"23":[2,1,9],"24":[2,1,6],"25":[1,3,26],"26":[1,3,11],"27":[2,1,20],"28":[2,1,16],"29":[1,3,24],"30":[1,3,20],"31":[1,3,25],"32":[2,1,15],"33":[1,1,22],"34":[1,1,10],"35":[1,1,1],"36":[4,2,14],"37":[1,2,8],"38":[1,2,11],"39":[1,2,16],"40":[2,1,13],"41":[1,1,144],"42":[1,1,6],"43":[3,1,75],"44":[2,1,34],"45":[3,2,18],"46":[3,2,11],"47":[3,2,12],"48":[5,2,40],"49":[5,2,43],"50":[1,2,18],"51":[1,1,18],"52":[3,2,18],"53":[5,2,17],"54":[2,2,16],"55":[3,2,20],"56":[2,2,10],"57":[3,2,24],"58":[1,1,65],"59":[1,1,15],"60":[1,1,3],"61":[3,1,2],"62":[1,1,7],"63":[1,1,6],"64":[1,1,7],"65":[1,1,30],"66":[1,1,28],"67":[1,1,21],"68":[1,1,102],"69":[1,1,7],"70":[1,1,22],"71":[1,1,14],"72":[1,1,7],"73":[1,1,22],"74":[1,1,13],"75":[1,1,29],"76":[1,1,1],"77":[1,1,21],"78":[1,1,12],"79":[1,1,11],"80":[1,1,12],"81":[1,1,11],"82":[1,1,47],"83":[1,1,17],"84":[1,1,20],"85":[1,1,10],"86":[1,1,65],"87":[1,2,6],"88":[1,1,18],"89":[1,1,3],"90":[2,1,10],"91":[2,1,20],"92":[2,1,17],"93":[3,1,19],"94":[1,1,3],"95":[1,1,10],"96":[1,1,6],"97":[1,1,2],"98":[1,1,16],"99":[1,1,22],"100":[1,2,9],"101":[1,1,53],"102":[1,1,44],"103":[1,1,1],"104":[3,2,55],"105":[2,2,81],"106":[2,2,91],"107":[1,1,1],"108":[3,2,89],"109":[3,2,57],"110":[3,2,55],"111":[3,2,55],"112":[3,2,67],"113":[3,2,60],"114":[3,2,45],"115":[3,2,72],"116":[2,2,34],"117":[4,2,46],"118":[4,2,43],"119":[4,2,35],"120":[4,2,39],"121":[4,2,31],"122":[2,1,57],"123":[1,1,18],"124":[1,1,56],"125":[2,2,40],"126":[2,2,37],"127":[1,1,28],"128":[3,2,11],"129":[1,1,25]},"averageFieldLength":[1.7846153846153847,1.5,28.100000000000005],"storedFields":{"0":{"title":"asdf","titles":[]},"1":{"title":"初期セットアップ","titles":["asdf"]},"2":{"title":"開発","titles":["asdf"]},"3":{"title":"Gitignore","titles":["asdf","開発"]},"4":{"title":".git-blame-ignore-revs","titles":["asdf","開発"]},"5":{"title":"Batsテスト","titles":["asdf"]},"6":{"title":"Batsのヒント","titles":["asdf","Batsテスト"]},"7":{"title":"プルリクエスト、リリース、Conventional Commits","titles":["asdf"]},"8":{"title":"Dockerイメージ","titles":["asdf"]},"9":{"title":"ドキュメント & サイト","titles":[]},"10":{"title":"初期セットアップ","titles":["ドキュメント & サイト"]},"11":{"title":"開発","titles":["ドキュメント & サイト"]},"12":{"title":"プルリクエスト、リリース、Conventional Commits","titles":["ドキュメント & サイト"]},"13":{"title":"Vitepress","titles":["ドキュメント & サイト"]},"14":{"title":"I18n","titles":["ドキュメント & サイト"]},"15":{"title":"GitHub Actions","titles":[]},"16":{"title":"公式プラグイン","titles":[]},"17":{"title":"はじめよう","titles":[]},"18":{"title":"1. 依存関係のインストール","titles":["はじめよう"]},"19":{"title":"2. asdfのダウンロード","titles":["はじめよう"]},"20":{"title":"公式ダウンロード","titles":["はじめよう","2. asdfのダウンロード"]},"21":{"title":"コミュニティがサポートするダウンロード方法","titles":["はじめよう","2. asdfのダウンロード"]},"22":{"title":"3. asdfのインストール","titles":["はじめよう"]},"23":{"title":"コアのインストールが完了!","titles":["はじめよう"]},"24":{"title":"4. プラグインのインストール","titles":["はじめよう"]},"25":{"title":"プラグインの依存関係","titles":["はじめよう","4. プラグインのインストール"]},"26":{"title":"プラグインのインストール","titles":["はじめよう","4. プラグインのインストール"]},"27":{"title":"5. 特定のバージョンのインストール","titles":["はじめよう"]},"28":{"title":"6. バージョンをセット","titles":["はじめよう"]},"29":{"title":"グローバル","titles":["はじめよう","6. バージョンをセット"]},"30":{"title":"ローカル","titles":["はじめよう","6. バージョンをセット"]},"31":{"title":"ツールごとに用意された既存バージョンファイルの利用","titles":["はじめよう","6. バージョンをセット"]},"32":{"title":"入門完了!","titles":["はじめよう"]},"33":{"title":"イントロダクション","titles":[]},"34":{"title":"どうやって動いているの","titles":["イントロダクション"]},"35":{"title":"関連プロジェクト","titles":["イントロダクション"]},"36":{"title":"nvm / n / rbenv etc","titles":["イントロダクション","関連プロジェクト"]},"37":{"title":"direnv","titles":["イントロダクション","関連プロジェクト"]},"38":{"title":"Homebrew","titles":["イントロダクション","関連プロジェクト"]},"39":{"title":"NixOS","titles":["イントロダクション","関連プロジェクト"]},"40":{"title":"なぜasdfを使うの?","titles":["イントロダクション"]},"41":{"title":"すべてのコマンド","titles":[]},"42":{"title":"構成設定","titles":[]},"43":{"title":".tool-versions","titles":["構成設定"]},"44":{"title":".asdfrc","titles":["構成設定"]},"45":{"title":"legacy_version_file","titles":["構成設定",".asdfrc"]},"46":{"title":"use_release_candidates","titles":["構成設定",".asdfrc"]},"47":{"title":"always_keep_download","titles":["構成設定",".asdfrc"]},"48":{"title":"plugin_repository_last_check_duration","titles":["構成設定",".asdfrc"]},"49":{"title":"disable_plugin_short_name_repository","titles":["構成設定",".asdfrc"]},"50":{"title":"concurrency","titles":["構成設定",".asdfrc"]},"51":{"title":"環境変数","titles":["構成設定"]},"52":{"title":"ASDF_CONFIG_FILE","titles":["構成設定","環境変数"]},"53":{"title":"ASDF_DEFAULT_TOOL_VERSIONS_FILENAME","titles":["構成設定","環境変数"]},"54":{"title":"ASDF_DIR","titles":["構成設定","環境変数"]},"55":{"title":"ASDF_DATA_DIR","titles":["構成設定","環境変数"]},"56":{"title":"ASDF_CONCURRENCY","titles":["構成設定","環境変数"]},"57":{"title":"ASDF_FORCE_PREPEND","titles":["構成設定","環境変数"]},"58":{"title":"完全な構成の例","titles":["構成設定"]},"59":{"title":"内部構成","titles":["構成設定"]},"60":{"title":"コア","titles":[]},"61":{"title":"インストール & セットアップ","titles":["コア"]},"62":{"title":"実行","titles":["コア"]},"63":{"title":"環境変数","titles":["コア"]},"64":{"title":"情報","titles":["コア"]},"65":{"title":"Shimの再作成","titles":["コア"]},"66":{"title":"Shimのバージョン","titles":["コア"]},"67":{"title":"更新","titles":["コア"]},"68":{"title":"アンインストール","titles":["コア"]},"69":{"title":"プラグイン","titles":[]},"70":{"title":"追加","titles":["プラグイン"]},"71":{"title":"インストール済みプラグイン一覧","titles":["プラグイン"]},"72":{"title":"全プラグインのショートネーム一覧","titles":["プラグイン"]},"73":{"title":"更新","titles":["プラグイン"]},"74":{"title":"削除","titles":["プラグイン"]},"75":{"title":"ショートネームリポジトリの同期","titles":["プラグイン"]},"76":{"title":"バージョン","titles":[]},"77":{"title":"バージョンのインストール","titles":["バージョン"]},"78":{"title":"最新安定バージョンのインストール","titles":["バージョン"]},"79":{"title":"インストール済みバージョン一覧","titles":["バージョン"]},"80":{"title":"インストール可能な全バージョン一覧","titles":["バージョン"]},"81":{"title":"最新安定バージョンの表示","titles":["バージョン"]},"82":{"title":"カレントバージョンのセット","titles":["バージョン"]},"83":{"title":"システムバージョンへの委任","titles":["バージョン"]},"84":{"title":"カレントバージョンの表示","titles":["バージョン"]},"85":{"title":"バージョンのアンインストール","titles":["バージョン"]},"86":{"title":"Shims","titles":["バージョン"]},"87":{"title":"asdfのShimのバイパス","titles":["バージョン","Shims"]},"88":{"title":"コミュニティプロジェクト","titles":[]},"89":{"title":"FAQ","titles":[]},"90":{"title":"WSL1をサポートしていますか?","titles":["FAQ"]},"91":{"title":"WSL2をサポートしていますか?","titles":["FAQ"]},"92":{"title":"新しくインストールした実行ファイルが実行できないのですが?","titles":["FAQ"]},"93":{"title":"シェルが、新しくインストールされたShimを検知してくれないのですが?","titles":["FAQ"]},"94":{"title":"謝辞","titles":[]},"95":{"title":"クレジット","titles":["謝辞"]},"96":{"title":"メンテナー","titles":["謝辞"]},"97":{"title":"コントリビューター","titles":["謝辞"]},"98":{"title":"プラグインの作成","titles":[]},"99":{"title":"クイックスタート","titles":["プラグインの作成"]},"100":{"title":"プラグインスクリプトの鉄則","titles":["プラグインの作成","クイックスタート"]},"101":{"title":"スクリプトの概要","titles":["プラグインの作成"]},"102":{"title":"環境変数の概要","titles":["プラグインの作成"]},"103":{"title":"必須スクリプト","titles":["プラグインの作成"]},"104":{"title":"bin/list-all","titles":["プラグインの作成","必須スクリプト"]},"105":{"title":"bin/download","titles":["プラグインの作成","必須スクリプト"]},"106":{"title":"bin/install","titles":["プラグインの作成","必須スクリプト"]},"107":{"title":"オプションスクリプト","titles":["プラグインの作成"]},"108":{"title":"bin/latest-stable","titles":["プラグインの作成","オプションスクリプト"]},"109":{"title":"bin/help.overview","titles":["プラグインの作成","オプションスクリプト"]},"110":{"title":"bin/help.deps","titles":["プラグインの作成","オプションスクリプト"]},"111":{"title":"bin/help.config","titles":["プラグインの作成","オプションスクリプト"]},"112":{"title":"bin/help.links","titles":["プラグインの作成","オプションスクリプト"]},"113":{"title":"bin/list-bin-paths","titles":["プラグインの作成","オプションスクリプト"]},"114":{"title":"bin/exec-env","titles":["プラグインの作成","オプションスクリプト"]},"115":{"title":"bin/exec-path","titles":["プラグインの作成","オプションスクリプト"]},"116":{"title":"bin/uninstall","titles":["プラグインの作成","オプションスクリプト"]},"117":{"title":"bin/list-legacy-filenames","titles":["プラグインの作成","オプションスクリプト"]},"118":{"title":"bin/parse-legacy-file","titles":["プラグインの作成","オプションスクリプト"]},"119":{"title":"bin/post-plugin-add","titles":["プラグインの作成","オプションスクリプト"]},"120":{"title":"bin/post-plugin-update","titles":["プラグインの作成","オプションスクリプト"]},"121":{"title":"bin/pre-plugin-remove","titles":["プラグインの作成","オプションスクリプト"]},"122":{"title":"asdf CLIの拡張コマンド","titles":["プラグインの作成"]},"123":{"title":"カスタムShimテンプレート","titles":["プラグインの作成"]},"124":{"title":"テスト","titles":["プラグインの作成"]},"125":{"title":"GitHub Action","titles":["プラグインの作成","テスト"]},"126":{"title":"TravisCI 構成設定","titles":["プラグインの作成","テスト"]},"127":{"title":"APIレート制限","titles":["プラグインの作成"]},"128":{"title":"GITHUB_API_TOKEN","titles":["プラグインの作成","APIレート制限"]},"129":{"title":"プラグインショートネームインデックス","titles":["プラグインの作成"]}},"dirtCount":0,"index":[["認証トークンをコードリポジトリで公開してはいけません",{"2":{"128":1}}],["次に",{"2":{"128":1}}],["次のような出力となります",{"2":{"113":1}}],["次のように実行します",{"2":{"11":2,"124":1}}],["次のいずれかの方法を使用することを推奨します",{"2":{"104":1}}],["次の2つの方法があります",{"2":{"99":1}}],["次のとおりです",{"2":{"75":1}}],["次のコマンドで",{"2":{"68":4}}],["次のコマンドを実行します",{"2":{"27":1,"29":1}}],["次の両方のファイルを参照してください",{"2":{"13":1}}],["次のスクリプト",{"2":{"2":1}}],["ブランチ",{"2":{"124":1}}],["ブランチをgithubからダウンロードし",{"2":{"43":1}}],["標準的なbashのshimを使用できないのです",{"2":{"123":1}}],["前に",{"2":{"121":1}}],["前回のリリースからのコミット履歴を読み込むことで生成されます",{"2":{"7":1}}],["呼び出されます",{"2":{"119":1,"120":1,"121":1}}],["後に",{"2":{"119":1,"120":1}}],["後続のコア実行によってこれらの出力が読み取られることはありません",{"2":{"116":1}}],["マシンに何がインストールされているか",{"2":{"118":1}}],["マネージャごとの異なるコマンド",{"2":{"36":1}}],["常に正確で同じバージョンを返す必要があります",{"2":{"118":1}}],["決定論的で",{"2":{"118":1}}],["パラメータは",{"2":{"124":1}}],["パスはasdf",{"2":{"113":1}}],["パッケージのインストールディレクトリにある実行ファイルの完全パス",{"2":{"86":1}}],["パッケージ管理とシステム構成に独自のアプローチを取り入れたツールです",{"2":{"39":1}}],["パッケージとその上位の依存関係を管理します",{"2":{"38":1}}],["パッケージマネージャやインテグレータ向けのasdfの内部構成について記述しているため",{"2":{"59":1}}],["パッケージマネージャでアンインストールします",{"2":{"68":9}}],["パッケージマネージャでもありません",{"2":{"38":1,"39":1}}],["パッケージマネージャで実行するコマンドの",{"2":{"18":1}}],["パッケージマネージャ",{"2":{"18":1}}],["形式は以下のいずれかである必要があります",{"2":{"112":1}}],["\\thttps",{"2":{"112":2}}],["短い1段落程度の説明が理想です",{"2":{"109":1}}],["自動テスト中にレート制限が発生することがあります",{"2":{"127":1}}],["自動的にshimが作成されますが",{"2":{"92":1}}],["自動的にpath",{"2":{"22":1}}],["自由な形式のテキストで出力できます",{"2":{"111":1}}],["自由な形式のテキストで出力して構いませんが",{"2":{"109":1}}],["ヘッダはasdfコア側で表示するため",{"2":{"109":1}}],["非安定版やリリース候補版は除外されるべきです",{"2":{"108":1}}],["今後作成するすべてのプラグインでこのスクリプトを含めるようにしてください",{"2":{"105":1}}],["終了コードは非ゼロとしてください",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1}}],["終了コードは0としてください",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1}}],["成功した場合",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1}}],["失敗した場合",{"2":{"105":2,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1}}],["解凍されたソースコードまたはバイナリのみを",{"2":{"105":1}}],["引数はありません",{"2":{"104":1,"105":1,"106":1,"116":1,"117":1,"119":1,"120":1,"121":1}}],["引き続き",{"2":{"23":1}}],["カスタムshimテンプレートを使用することができます",{"2":{"123":1}}],["カスタムshimテンプレート",{"0":{"123":1}}],["カスタムソートメソッドを自分で書く",{"2":{"104":1}}],["カレントワークディレクトリがwindowsドライブではなくunixドライブである場合に",{"2":{"91":1}}],["カレントバージョンの表示",{"0":{"84":1}}],["カレントバージョンのセットと同様の方法で",{"2":{"83":1}}],["カレントバージョンのセット",{"0":{"82":1}}],["カレントディレクトリ内",{"2":{"30":1}}],["カレントディレクトリにおいてツールのバージョンを解決可能か確認できるため",{"2":{"28":1}}],["カレントディレクトリから上位の$homeディレクトリまでに存在するすべての",{"2":{"28":1}}],["逆順にしたければ",{"2":{"104":1}}],["提供されている順序は正しいリリース順となっていることが多いため",{"2":{"104":1}}],["ウェブサイト上のリリースページからバージョンを取得する場合",{"2":{"104":1}}],["並べ替え",{"2":{"104":1}}],["出力フォーマット",{"2":{"104":1,"116":1}}],["ソースとなるファイルのフルパスに解決されます",{"2":{"102":1,"122":1}}],["ソースコードまたはバイナリのダウンロード先のパスです",{"2":{"105":1,"106":1}}],["ソースコードまたはバイナリをダウンロードする必要があります",{"2":{"105":1}}],["ソースコードからのダウンロード",{"2":{"77":1}}],["ソースコードのコンパイル時に使用するコア数です",{"2":{"50":1,"56":1,"102":1,"106":1}}],["ソースコードやバイナリを保持します",{"2":{"47":1}}],["ソースコードやバイナリを削除します",{"2":{"47":1}}],["される",{"2":{"121":1}}],["されるべき",{"2":{"102":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["されたプラグインがダウンロードされた",{"2":{"120":1}}],["された",{"2":{"119":1}}],["されている",{"2":{"102":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["場所へのパスです",{"2":{"102":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["場所",{"2":{"102":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["レガシーファイルのパスという1つの引数を受け取ります",{"2":{"118":1}}],["レガシーファイルの内容を読み込むために",{"2":{"118":1}}],["レガシーバージョンが有効で完全かどうかは関係ありません",{"2":{"118":1}}],["レガシーバージョンファイルのカスタムパーサーです",{"2":{"101":1}}],["レガシー",{"2":{"105":1}}],["レガシープラグインのサポートは最終的に削除される予定のため",{"2":{"105":1}}],["レガシープラグイン",{"2":{"105":1,"106":1}}],["レガシー構成ファイルのリストを出力します",{"2":{"101":1}}],["指定されたバージョンをダウンロード",{"2":{"106":1}}],["指定されたバージョンをasdf",{"2":{"106":1}}],["指定された場所にダウンロードします",{"2":{"105":1}}],["指定されたツールの最新安定バージョンをリストします",{"2":{"101":1}}],["指定されたタグ",{"2":{"43":1}}],["移植性のないツールやコマンドフラグの使用は避けてください",{"2":{"100":1}}],["スペース区切りのファイル名リストを出力してください",{"2":{"117":1}}],["スペース区切りのバージョンリストの文字列を出力する必要があります",{"2":{"104":1}}],["スペースで区切れば",{"2":{"43":1}}],["スクリプト内では表示しないでください",{"2":{"109":1}}],["スクリプト内で他のasdfコマンドを呼び出してはいけません",{"2":{"100":1}}],["スクリプトの第1引数で提供されます",{"2":{"108":1}}],["スクリプトの概要",{"0":{"101":1}}],["スクリプトは",{"2":{"105":1,"106":1,"108":1}}],["スクリプトで使用できる環境変数",{"2":{"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1}}],["スクリプト",{"2":{"101":1}}],["テンプレートを対話的に更新していきます",{"2":{"99":1}}],["テスト",{"0":{"124":1},"1":{"125":1,"126":1}}],["テストを実行させています",{"2":{"82":1}}],["テストを作成する前に",{"2":{"5":1}}],["テストを作ってください",{"2":{"2":1}}],["テスト実行中に特殊なファイルディスクリプタ",{"2":{"6":1}}],["生成できたら",{"2":{"99":1}}],["生成",{"2":{"99":1}}],["名前はasdf",{"2":{"99":1}}],["やasdf",{"2":{"98":1}}],["言語",{"2":{"98":1}}],["言語開発者などが使用します",{"2":{"43":1}}],["メンテナー",{"0":{"96":1}}],["咳",{"2":{"95":1}}],["風邪",{"2":{"95":1}}],["高熱",{"2":{"95":1}}],["私",{"2":{"95":1}}],["クイックスタート",{"0":{"99":1},"1":{"100":1}}],["クレジット",{"0":{"95":1}}],["クローンしたリポジトリのパスを設定し",{"2":{"2":1}}],["謝辞",{"0":{"94":1},"1":{"95":1,"96":1,"97":1}}],["上記の例では",{"2":{"92":1}}],["限られる",{"2":{"91":1}}],["重要なのは",{"2":{"91":1}}],["動作するはずです",{"2":{"91":1}}],["詳細はreadmeをご確認ください",{"2":{"87":1}}],["詳しくはasdfの構成設定のリファレンスをご覧ください",{"2":{"75":2}}],["詳しくはnixosのドキュメントをご覧ください",{"2":{"39":1}}],["詳しくはhomebrewのドキュメントをご覧ください",{"2":{"38":1}}],["詳しくはdirenvのドキュメントをご覧ください",{"2":{"37":1}}],["詳しくは",{"2":{"4":1,"6":1,"12":1,"16":1,"29":1,"92":1}}],["詳しくはこちらをご覧ください",{"2":{"3":1}}],["何らかの理由でasdfのshimをバイパスしたい場合や",{"2":{"87":1}}],["何らかのトリガーイベントが発生した際に",{"2":{"48":1}}],["本システムはexec呼び出しを使用するため",{"2":{"86":1}}],["本番用アプリケーションの実行用途として使用することができます",{"2":{"8":1}}],["kim",{"2":{"84":3}}],["keep",{"0":{"47":1},"2":{"44":1,"58":1}}],["代替手段",{"2":{"82":1}}],["代わりにshimが実行され",{"2":{"34":1}}],["存在しない場合は作成されます",{"2":{"82":1}}],["存在しない場合はasdf",{"2":{"55":1}}],["タグでプラグイン自体をチェックアウトします",{"2":{"124":1}}],["タグ",{"2":{"77":1}}],["ターミナルのタブを新たに開けばokです",{"2":{"22":1}}],["過去x分の間に同期が行われていない場合",{"2":{"75":1}}],["定期的に更新されます",{"2":{"75":1}}],["削除",{"0":{"74":1},"2":{"121":1}}],["916",{"2":{"73":1}}],["全プラグインのショートネーム一覧については",{"2":{"72":1}}],["全プラグインのショートネーム一覧",{"0":{"72":1}}],["推奨されるプラグインのインストール方法は",{"2":{"129":1}}],["推奨されるインストール方法を使用した場合",{"2":{"67":1}}],["推奨",{"2":{"70":1}}],["追加",{"0":{"70":1},"2":{"119":1}}],["様々なツールをサポートするために使用されるプラグインapiについては",{"2":{"69":1}}],["🎉",{"2":{"68":1}}],["もし",{"2":{"68":1,"75":1}}],["アンインストールするときも",{"2":{"77":1}}],["アンインストール",{"0":{"68":1}}],["アンロードできる機能を付け加えます",{"2":{"37":1}}],["別の方法でインストールした場合",{"2":{"67":1}}],["別ファイルに切り出されており",{"2":{"13":1}}],["更新後のプラグインのgit",{"2":{"102":1,"120":1}}],["更新",{"0":{"67":1,"73":1},"2":{"120":1}}],["8",{"2":{"66":2,"106":1,"108":1}}],["8837でご覧いただくと分かるとおり",{"2":{"22":2}}],["が付与されていない場合",{"2":{"122":1}}],["が付与されている場合",{"2":{"122":1}}],["が",{"2":{"65":1}}],["がある場合",{"2":{"45":1}}],["情報",{"0":{"64":1}}],["現時点ではそうではないようです",{"2":{"91":1}}],["現時点での最新バージョンを指定できるasdfのヘルパーです",{"2":{"27":1}}],["現在のバージョンでshimコマンドを実行します",{"2":{"114":1,"115":1}}],["現在のバージョンのshimでコマンドを実行します",{"2":{"62":1}}],["現在のシェルセッションでのみバージョンを設定したい場合",{"2":{"82":1}}],["現在のシェルセッションでのみ有効となります",{"2":{"82":1}}],["現在開発中です",{"2":{"73":1}}],["実装内容",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"115":1,"117":1,"118":1}}],["実行可能ビット",{"2":{"122":2}}],["実行ファイルであると同時に",{"2":{"123":1}}],["実行ファイルは",{"2":{"123":1}}],["実行ファイルへの相対パスを文字列で出力する必要があります",{"2":{"115":2}}],["実行ファイルのパスを表示します",{"2":{"114":1,"115":1}}],["実行ファイルが含まれるディレクトリのパスをスペース区切りで出力してください",{"2":{"113":1}}],["実行ファイルが含まれるディレクトリの一覧を出力します",{"2":{"113":1}}],["実行ファイルをグローバルインストールができます",{"2":{"65":1}}],["実行します",{"2":{"86":1}}],["実行",{"0":{"62":1}}],["実バージョンの表記です",{"2":{"43":1}}],["セットアップと依存関係の解決を済ませれば",{"2":{"91":1}}],["セットアップ",{"0":{"61":1}}],["セマンティックバージョンやプロバイダをフィルタするために",{"2":{"108":1}}],["セマンティックバージョンのmajorを新しく作成します",{"2":{"7":1}}],["セマンティックバージョンのminorを新しく作成します",{"2":{"7":1}}],["セマンティックバージョンのpatchを新しく作成します",{"2":{"7":1}}],["セマンティックバージョンを自動的に引き上げ",{"2":{"7":1}}],["多くのワークフローを円滑に進めることができます",{"2":{"60":1}}],["値がセットされる過程",{"2":{"58":1}}],["値",{"2":{"58":1}}],["値をneverにしても",{"2":{"48":1}}],["結果として以下のような構成となります",{"2":{"58":1}}],["完全な構成の例",{"0":{"58":1}}],["quot",{"2":{"57":2,"105":2,"113":8,"117":2}}],["します",{"2":{"99":1}}],["しません",{"2":{"57":1}}],["しかし",{"2":{"23":1}}],["に作成されます",{"2":{"86":1}}],["における",{"2":{"73":1}}],["に対して",{"2":{"65":1}}],["に追加するかどうかを設定します",{"2":{"57":1}}],["によって異なります",{"2":{"51":1}}],["通常は",{"2":{"124":1}}],["通常",{"2":{"53":1}}],["有効なファイル名であれば何でも設定できます",{"2":{"53":1}}],["未設定の場合",{"2":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1}}],["必要に応じてカスタマイズしてください",{"2":{"126":1}}],["必要に応じて",{"2":{"109":1,"110":1,"111":1,"112":1}}],["必要なものは次のとおりです",{"2":{"25":1}}],["必須",{"2":{"105":1}}],["必須スクリプト",{"0":{"103":1},"1":{"104":1,"105":1,"106":1}}],["必ず絶対パスで設定してください",{"2":{"52":1,"54":1,"55":1}}],["任意の場所に設定できます",{"2":{"52":1,"54":1,"55":1}}],["環境変数経由で認証トークンを提供するコードパスがあることを確認してください",{"2":{"127":1}}],["環境変数が設定されることはありません",{"2":{"118":1}}],["環境変数の概要",{"0":{"102":1}}],["環境変数の設定値は",{"2":{"51":1}}],["環境変数は何も設定していない",{"2":{"58":1}}],["環境変数は通常",{"2":{"51":1}}],["環境変数",{"0":{"51":1,"63":1},"1":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1},"2":{"102":1}}],["環境変数など",{"2":{"33":1}}],["整数値",{"2":{"50":1}}],["同じバージョンを返すようにしてください",{"2":{"118":1}}],["同じレガシーファイルを解析したら",{"2":{"118":1}}],["同じ名前とバージョンを指定する必要があります",{"2":{"77":1}}],["同期が開始されます",{"2":{"75":1}}],["同期のタイミングの条件は",{"2":{"75":1}}],["同期イベントは",{"2":{"75":1}}],["同期イベントはすぐに終了します",{"2":{"49":1}}],["同期イベントが発生した際に",{"2":{"49":1}}],["同期は中止されます",{"2":{"75":1}}],["同期は",{"2":{"48":1,"49":1}}],["同期しません",{"2":{"48":1}}],["同様の手順を実施してください",{"2":{"32":1}}],["トリガーイベントのたびに同期します",{"2":{"48":1}}],["トリガーイベントで同期します",{"2":{"48":1}}],["設定されていない場合は",{"2":{"106":1}}],["設定されている場合は",{"2":{"106":1}}],["設定された間隔以上の時間が経過していた倍は",{"2":{"48":1}}],["設定してみましょう",{"2":{"24":1}}],["分",{"2":{"48":2}}],["保持しておくか削除するかを制御します",{"2":{"47":1}}],["利用可能なレガシーバージョンファイル",{"2":{"45":1}}],["説明",{"2":{"45":1,"46":1,"47":1,"48":1,"49":1,"101":1,"102":1,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1}}],["オペレーティングシステムと",{"2":{"109":1,"110":1,"111":1,"112":1}}],["オペレーティングシステムに合わせた依存関係のリストを出力します",{"2":{"101":1,"110":1}}],["オリジナルのプラグインを作成するには",{"2":{"99":1}}],["オプションで",{"2":{"124":2}}],["オプションの",{"2":{"124":1}}],["オプションのフィルタに基づいて",{"2":{"108":1}}],["オプションのbin",{"2":{"106":1}}],["オプションスクリプト",{"0":{"107":1},"1":{"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1}}],["オプション",{"2":{"45":1,"46":1,"47":1,"48":1,"49":1,"105":1}}],["オートコンプリートを使用するようにzshを設定する必要があります",{"2":{"22":1}}],["対応しているプラグインの場合",{"2":{"45":1}}],["対象となるディレクトリで",{"2":{"30":1}}],["ユーザは下記コマンドが実行できるようになります",{"2":{"122":1}}],["ユーザへの出力は",{"2":{"116":1}}],["ユーザが提供したフィルタは",{"2":{"108":1}}],["ユーザが気にする必要はありません",{"2":{"59":1}}],["ユーザがjavascriptを使用できない",{"2":{"11":1}}],["ユーザのマシン固有の構成を設定します",{"2":{"44":1}}],["直接編集するか",{"2":{"43":1}}],["7",{"2":{"43":4,"106":1,"108":1}}],["複数のバージョンのツールがインストールされている場合",{"2":{"66":1}}],["複数のバージョンを指定できます",{"2":{"43":1}}],["複数のcliのバージョンマネージャを用意する必要があり",{"2":{"33":1}}],["当該スクリプトが実行されます",{"2":{"122":1}}],["当該ツールの最新安定バージョンにセットします",{"2":{"108":2}}],["当該プラグインでインストールされたすべてのツールが削除されます",{"2":{"74":1}}],["当該ディレクトリおよびサブディレクトリで",{"2":{"43":1}}],["当該バージョンが実行されます",{"2":{"34":1}}],["他人と共有可能な",{"2":{"42":1}}],["他のciを使用する場合",{"2":{"126":1}}],["他のバージョンマネージャで使用されているバージョンファイルを読み込むことができます",{"2":{"45":1}}],["他のバージョンマネージャ向けに作られた既存のバージョンファイル",{"2":{"31":1}}],["他のツールと差別化することで",{"2":{"36":1}}],["`",{"2":{"125":1}}],["`$asdf",{"2":{"122":5}}],["`env`",{"2":{"41":1}}],["`asdf",{"2":{"41":1}}],["チームが確実に同じバージョンのツールを使用することを保証できます",{"2":{"40":1}}],["チーム全員に同じーバージョンのツールを使ってもらえるようになります",{"2":{"33":1}}],["親しみやすさによって",{"2":{"40":1}}],["親切ですね",{"2":{"22":1}}],["なぜasdfを使うの",{"0":{"40":1}}],["などの機能をサポートするコマンドを使って",{"2":{"98":1}}],["など",{"2":{"22":1}}],["繰り返しになりますが",{"2":{"39":1}}],["たったこれだけです",{"2":{"68":1}}],["たくさんのcliツール",{"2":{"39":1}}],["たいていの場合は",{"2":{"30":1}}],["たいていの場合",{"2":{"22":1}}],["独自のプログラミング言語",{"2":{"39":1}}],["真に再現可能な環境を構築することを目指しています",{"2":{"39":1}}],["関連するコマンドフックについても参照してください",{"2":{"119":1,"120":1,"121":1}}],["関連するasdfプラグインの更新が必要となることがあります",{"2":{"22":2}}],["関連プロジェクト",{"0":{"35":1},"1":{"36":1,"37":1,"38":1,"39":1}}],["どうしても必要な場合にのみ使用してください",{"2":{"123":1}}],["どうしても並べ替えが避けられない場合",{"2":{"104":1}}],["どうなっているの",{"2":{"92":1}}],["どうやって動いているの",{"0":{"34":1}}],["どのコマンドがどのスクリプトを呼び出すかについては",{"2":{"101":1}}],["どのようなツールでもasdfで管理できるようになりますが",{"2":{"40":1}}],["どのツールが実行に失敗するか検証することができます",{"2":{"28":1}}],["従来は",{"2":{"33":1}}],["すでに同期されたリポジトリは削除されません",{"2":{"49":1}}],["すべてのスクリプトですべての環境変数が使用できるわけではありません",{"2":{"102":1}}],["すべてのスクリプトで使用される環境変数の全リストです",{"2":{"102":1}}],["すべてのコマンド",{"0":{"41":1}}],["すべてのコマンドの説明を見ることができます",{"2":{"32":1}}],["すべてのツール",{"2":{"33":1}}],["すべてのツールのバージョンは単一のファイル",{"2":{"33":1}}],["すると",{"2":{"29":1,"30":1,"58":1}}],["以降のasdfコアの互換性を保つために",{"2":{"106":1}}],["以降に記載されている必要なスクリプトを実装します",{"2":{"99":1}}],["以前と0",{"2":{"106":1}}],["以前にこのソースからインストールされたプラグインは削除されません",{"2":{"49":1}}],["以下に例を示します",{"2":{"127":1}}],["以下は",{"2":{"101":1,"102":1,"126":1}}],["以下では",{"2":{"51":1}}],["以下の各スクリプトのドキュメントで",{"2":{"102":1}}],["以下のコマンドが実行されたときに発生します",{"2":{"48":1,"49":1}}],["以下の表は",{"2":{"18":1}}],["以下のとおりです",{"2":{"13":1}}],["以上の場合",{"2":{"113":1}}],["以上経過していた場合",{"2":{"48":1}}],["以上で",{"2":{"32":1}}],["入門完了",{"0":{"32":1}}],["構成",{"2":{"58":1}}],["構成に必要な項目とそのデフォルト値を示しています",{"2":{"44":1}}],["構成ファイル",{"2":{"33":1}}],["構成設定のdisable",{"2":{"75":1}}],["構成設定のリファレンスをご覧ください",{"2":{"31":1,"82":1}}],["構成設定",{"0":{"42":1,"126":1},"1":{"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1}}],["構成設定でのその他のオプションについて詳しくは",{"2":{"31":1}}],["構成を示すために使用されるjsオブジェクト含んだ",{"2":{"13":1}}],["かasdf",{"2":{"86":1}}],["からの移行をサポートしています",{"2":{"31":1}}],["かつ",{"2":{"13":1,"22":1,"105":1,"106":1}}],["例",{"2":{"31":1,"65":1}}],["例えばasdf",{"2":{"65":1}}],["例えば次のとおりです",{"2":{"6":1,"104":1}}],["例えば",{"2":{"4":1,"43":1,"45":1,"66":1,"100":1,"108":1,"111":1,"113":1,"122":1,"124":1}}],["では",{"2":{"91":1}}],["で指定されたもの",{"2":{"86":1}}],["で指定されたツールのシステムバージョンを使用するには",{"2":{"83":1}}],["でバージョンを指定できます",{"2":{"77":1}}],["で定義されます",{"2":{"30":1}}],["です",{"2":{"11":1,"18":1,"88":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1,"124":1}}],["0をアンインストールし",{"2":{"116":1}}],["0をインストールします",{"2":{"106":1}}],["0のソースコードまたはバイナリをダウンロードし",{"2":{"105":1}}],["0のelixirプロジェクトに対して",{"2":{"82":1}}],["0以上が必要です",{"2":{"104":1}}],["000を超えるパッケージコレクションによって",{"2":{"39":1}}],["0",{"2":{"29":1,"30":1,"43":4,"48":1,"66":4,"82":1,"104":3,"105":3,"106":4,"115":1,"116":1}}],["エラーが発生します",{"2":{"28":1}}],["ジャストインタイムで行われます",{"2":{"28":1}}],["照会は",{"2":{"28":1}}],["60",{"2":{"44":1,"58":1}}],["6",{"0":{"28":1},"1":{"29":1,"30":1,"31":1},"2":{"84":1}}],["特定のツールバージョンでコマンドを実行するだけのためにバージョンを設定したい場合は",{"2":{"82":1}}],["特定のツールを管理するためのプラグインをインストールすることができるようになります",{"2":{"34":1}}],["特定のプレフィックスでの最新安定バージョンで表示することもできます",{"2":{"81":1}}],["特定のプレフィックスでの最新安定バージョンをインストールすることもできます",{"2":{"78":1}}],["特定のプレフィックスでのバージョンでフィルタすることもできます",{"2":{"79":1,"80":1}}],["特定のプラグインパッケージを更新したい場合は",{"2":{"73":1}}],["特定のパッケージ",{"2":{"65":1}}],["特定のインストールに対して正しい更新方法を適用するようにします",{"2":{"59":1}}],["特定のメジャーバージョンのサブセットはasdf",{"2":{"27":1}}],["特定のバージョンのインストール",{"0":{"27":1}}],["特定の順序を必要とするツールの動作に",{"2":{"22":1}}],["5",{"0":{"27":1},"2":{"29":1,"30":1,"43":2,"66":2,"84":1}}],["あくまで",{"2":{"40":1}}],["あらかじめインストールしておきましょう",{"2":{"25":1}}],["あなたが作成したプラグインを",{"2":{"129":1}}],["あなたが選択したwslディストリビューションに基づいて",{"2":{"91":1}}],["あなたが使用しているシェル",{"2":{"22":1}}],["あなたが使用している",{"2":{"18":1}}],["あなたが開発した変更内容を試したいときは",{"2":{"2":1}}],["ymlファイルの例です",{"2":{"126":1}}],["yamllanguage",{"2":{"126":1}}],["yamlname",{"2":{"125":1}}],["yamlのactionsワークフローの例は以下のとおりです",{"2":{"125":1}}],["yarnのshimを作成しなければいけません",{"2":{"92":1}}],["yarnのような新しい実行ファイルのshimを強制的に再作成させることができます",{"2":{"65":1}}],["yarnが実行できません",{"2":{"92":1}}],["yarnを実行したにも関わらず",{"2":{"92":1}}],["yarnコマンドでyarnをインストール",{"2":{"65":1}}],["yes以外の文字列を設定した場合",{"2":{"57":1}}],["yesの場合",{"2":{"57":1}}],["yes",{"2":{"31":1,"45":1,"46":1,"47":1,"49":1}}],["yum",{"2":{"25":1}}],["your",{"2":{"1":1,"10":1}}],["依存関係を1行ごとに出力します",{"2":{"110":1}}],["依存関係インストールコマンド",{"2":{"25":1}}],["依存関係のインストール",{"0":{"18":1},"2":{"17":1}}],["各スクリプトの詳細なドキュメントを参照してください",{"2":{"101":1}}],["各ツールの未使用バージョンを手っ取り早くクリーンアップ",{"2":{"74":1}}],["各ツールの依存関係ツリー全体でパッケージのバージョンを正確に管理することで",{"2":{"39":1}}],["各プラグインには依存関係があるため",{"2":{"25":1}}],["各ロケールのmarkdownコンテンツは",{"2":{"14":1}}],["4",{"0":{"24":1},"1":{"25":1,"26":1},"2":{"82":3,"104":1}}],["ガイドを進めていきましょう",{"2":{"23":1}}],["バージョニングされたプラグインの更新機能については",{"2":{"73":1}}],["バージョン番号を1行で出力してください",{"2":{"118":1}}],["バージョン番号を抽出するのに役立ちます",{"2":{"118":1}}],["バージョン番号やツールプロバイダによる出力をフィルタするために使用されるべきです",{"2":{"108":1}}],["バージョンとしてsystemを指定します",{"2":{"83":1}}],["バージョン1",{"2":{"82":1}}],["バージョンは$pwd",{"2":{"82":1}}],["バージョンは$home",{"2":{"82":1}}],["バージョンはasdf",{"2":{"82":1}}],["バージョン",{"0":{"76":1},"1":{"77":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1}}],["バージョンのフルナンバーです",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["バージョンのダウンロード",{"2":{"105":1}}],["バージョンのアンインストール",{"0":{"85":1}}],["バージョンの表記形式は",{"2":{"82":1}}],["バージョンの表記は下記の形式があります",{"2":{"43":1}}],["バージョンのインストール",{"0":{"77":1}}],["バージョンのshimを再作成します",{"2":{"65":1}}],["バージョンの読み込みには",{"2":{"45":1}}],["バージョンのリファレンスをご覧ください",{"2":{"29":1}}],["バージョン管理をシステムに委任するように指示する必要があります",{"2":{"29":1}}],["バージョンをセット",{"0":{"28":1},"1":{"29":1,"30":1,"31":1}}],["バージョンを管理するようになってからです",{"2":{"23":1}}],["バグレポート作成時に共有してください",{"2":{"64":1}}],["バグ修正のレビューをスピードアップさせることができます",{"2":{"2":1}}],["バイナリへのshimを再作成します",{"2":{"113":1}}],["バイナリへのshimを初期作成します",{"2":{"113":1}}],["バイナリがダウンロードされます",{"2":{"43":1}}],["バイナリのダウンロードに対応しているプラグインの場合",{"2":{"43":1}}],["ようにしてください",{"2":{"22":1}}],["より詳細な説明が記述されています",{"2":{"14":1}}],["優先度を一番高くする",{"2":{"22":1}}],["強制的にpathエントリの先頭に追加する",{"2":{"22":1}}],["一貫性が無くなってしまいます",{"2":{"22":1}}],["一部のレガシーファイルのフォーマットは適切でないときもあります",{"2":{"118":1}}],["一部のosでは",{"2":{"29":1}}],["一部のプラグインではインストール後の事後処理でこれらの依存関係が必要となるため",{"2":{"25":1}}],["一部のasdfツールのdocker化されたイメージを提供する取り組みを継続的に行っています",{"2":{"8":1}}],["一部例",{"2":{"18":1}}],["内部構成",{"0":{"59":1}}],["内で定義されるため",{"2":{"33":1}}],["内の項目の順番を並び替えることができるため",{"2":{"22":1}}],["内にすでに作成されているテスト",{"2":{"5":1}}],["使用するパッケージのバージョン",{"2":{"86":1}}],["使用するツールをカスタムコンパイルしたバージョンへのパスです",{"2":{"43":1}}],["使用方法",{"2":{"52":1,"53":1,"54":1,"55":1,"56":1}}],["使用中のフレームワーク",{"2":{"22":1}}],["使用しているos",{"2":{"3":1}}],["使用しているツールを列挙します",{"2":{"1":1}}],["+",{"2":{"22":2}}],["|",{"2":{"22":10}}],["まず",{"2":{"128":1}}],["また",{"2":{"49":1,"118":1}}],["またはインストール",{"2":{"102":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["またはshellのいずれかにsystemをセットしてください",{"2":{"83":1}}],["またはコミット",{"2":{"77":1}}],["または下記のコマンドで",{"2":{"70":1}}],["または1",{"2":{"50":1}}],["またはasdf",{"2":{"43":1,"86":1}}],["またはlinux",{"2":{"38":1}}],["または",{"2":{"22":1,"68":1,"82":1,"112":1}}],["または好みのaurヘルパーを使用",{"2":{"21":1,"67":1}}],["または有効にしていない場合に",{"2":{"11":1}}],["まだ更新されていません",{"2":{"22":2}}],["警告",{"2":{"22":2,"28":1,"123":1,"128":1}}],["フィルタクエリという1つの引数を受け取ります",{"2":{"108":1}}],["フィルタクエリは",{"2":{"108":1}}],["ファイル内容は関係ありません",{"2":{"59":1}}],["ファイル内で宣言しているツールのバージョンが使用されます",{"2":{"43":1}}],["ファイルの場所は",{"2":{"44":1}}],["ファイルは",{"2":{"43":1}}],["フレームワークソース以下にcompinitがくるようにしてください",{"2":{"22":1}}],["フォーマッタ",{"2":{"1":1}}],["=s",{"2":{"68":2}}],["=",{"2":{"22":9,"31":1,"44":6,"68":6}}],["$releases",{"2":{"127":1}}],["$relative",{"2":{"115":1}}],["$github",{"2":{"127":2}}],["$travis",{"2":{"126":1}}],["$file",{"2":{"118":1}}],["$fpath",{"2":{"22":1,"68":1}}],["$cmd",{"2":{"115":1,"127":2}}],["$install",{"2":{"115":1}}],["$query",{"2":{"108":1}}],["$e",{"2":{"68":4}}],["$env",{"2":{"22":2}}],["$pathを設定した後",{"2":{"93":1}}],["$pathを設定したあと",{"2":{"22":1}}],["$pathに設定されることで",{"2":{"86":1}}],["$pathの操作",{"2":{"33":1}}],["$pwd",{"2":{"30":2}}],["$nu",{"2":{"22":3}}],["$",{"2":{"22":16,"41":1,"68":17,"82":2,"86":4,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":5,"114":1,"115":1,"116":1,"117":2,"118":1,"119":3,"120":3,"121":3,"122":4,"125":1}}],["$homeが存在するので",{"2":{"58":1}}],["$home",{"2":{"22":8,"29":2,"43":1,"52":1,"55":1,"58":5,"68":49}}],["$asdf",{"2":{"2":1,"49":1,"59":1,"68":2,"106":1,"122":1}}],["最高優先度",{"2":{"57":1}}],["最後に同期した時刻から指定時間",{"2":{"48":1}}],["最後に同期した時刻からの経過時間をチェックします",{"2":{"48":1}}],["最新バージョンが末尾にくる必要があります",{"2":{"104":1}}],["最新安定バージョンの表示",{"0":{"81":1}}],["最新安定バージョンのインストール",{"0":{"78":1}}],["最新コミット",{"2":{"73":1}}],["最新の安定リリース",{"2":{"67":1}}],["最新リリースを使用します",{"2":{"46":1}}],["最新リリースではなく",{"2":{"46":1}}],["最新版をインストールするには",{"2":{"27":1}}],["最終的にsystemのpythonにフォールバックさせるには",{"2":{"43":1}}],["最も適したものを選択してください",{"2":{"22":1}}],["最小限の構成でmarkdownファイルを書くことに重点を置いています",{"2":{"11":1}}],["方法",{"2":{"21":1,"67":1}}],["理由がない限り",{"2":{"21":1}}],["~",{"2":{"20":1,"22":50,"43":1,"68":23,"115":2}}],["22",{"2":{"108":1}}],["2014年から今まで",{"2":{"95":1}}],["2を使用し",{"2":{"43":1}}],["2",{"0":{"19":1},"1":{"20":1,"21":1},"2":{"43":6,"82":1,"91":1,"104":1,"108":4,"118":1}}],["接頭にsudoが必要となる場合もあります",{"2":{"18":1}}],["お使いのシステムやシェルによって異なります",{"2":{"51":1}}],["お使いのシステムの構成によっては",{"2":{"18":1}}],["およびawkが必要です",{"2":{"104":1}}],["およびasdfのデバッグ情報を表示するヘルパーコマンドです",{"2":{"64":1}}],["および実行環境",{"2":{"86":1}}],["および実装",{"2":{"33":1}}],["およびrbenvのようなツールはすべて",{"2":{"36":1}}],["およびmanpath",{"2":{"22":1}}],["およびインストール方法によって",{"2":{"22":1}}],["およびgitlens",{"2":{"4":1}}],["およびワークフロー固有のファイルは",{"2":{"3":1}}],["およびテストすることを推奨します",{"2":{"2":1}}],["備考",{"2":{"18":1,"27":1,"43":1,"48":1,"49":1,"50":1,"86":1,"88":1,"102":1,"124":1,"126":1}}],["zdotdir",{"2":{"22":1}}],["zshなど",{"2":{"93":1}}],["zshに適した場所に配置されますが",{"2":{"22":1}}],["zshrcで",{"2":{"68":3}}],["zshrc",{"2":{"22":1,"93":1}}],["zshrcにある可能性があります",{"2":{"68":1}}],["zshrcにasdf",{"2":{"22":1}}],["zshrcに下記の行を追記することで設定できます",{"2":{"22":1}}],["zshrcに下記の行を追記します",{"2":{"22":2}}],["zshフレームワークプラグインを使用します",{"2":{"68":1}}],["zshフレームワークasdfによって設定されるか",{"2":{"22":1}}],["zshフレームワークを使用している場合",{"2":{"22":2}}],["zshフレームワークでcompinitのセットアップをカスタマイズしている場合は",{"2":{"22":1}}],["zshフレームワークのasdfプラグインで設定するか",{"2":{"22":1}}],["zshの手順をご覧ください",{"2":{"68":1}}],["zshの手順を参照してください",{"2":{"22":2}}],["zshのようなzshフレームワークプラグインを使用して",{"2":{"22":1}}],["zsh",{"2":{"22":9,"68":3}}],["zypper",{"2":{"18":2}}],["zh",{"2":{"14":4}}],["1行ずつリストします",{"2":{"104":2}}],["18で始まるバージョンのみフィルタし",{"2":{"104":1}}],["18",{"2":{"104":2,"105":1,"106":1,"116":1}}],["11",{"2":{"84":1}}],["17",{"2":{"66":2,"77":1,"78":1,"79":1,"80":1,"81":1,"84":2,"85":1}}],["14",{"2":{"66":4}}],["14コマンドで確認できます",{"2":{"27":1}}],["1から999999999までの整数値",{"2":{"48":1}}],["15にフォールバックし",{"2":{"43":1}}],["15",{"2":{"43":4,"116":2}}],["10",{"2":{"43":3}}],["16",{"2":{"29":1,"30":1,"66":2}}],["13",{"2":{"20":1}}],["1",{"0":{"18":1},"2":{"20":1,"82":1,"90":1,"104":4,"108":1,"115":1}}],["グローバルのデフォルト値は",{"2":{"43":1}}],["グローバルのデフォルト設定は",{"2":{"29":1}}],["グローバルのバージョンをセットするには",{"2":{"29":1}}],["グローバル",{"0":{"29":1}}],["グローバルまたはプロジェクトのバージョンをセット",{"2":{"17":1}}],["グローバルな",{"2":{"3":1}}],["ランタイムごとのマネージャ",{"2":{"36":1}}],["ランタイムごとにプラグインをインストール",{"2":{"17":1}}],["ランタイムのバージョン管理という分野では競合しています",{"2":{"36":1}}],["ランタイムの特定バージョンをインストール",{"2":{"17":1}}],["ランタイムに拡張することができます",{"2":{"33":1}}],["管理したいツール",{"2":{"17":1}}],["システムバージョンへの委任",{"0":{"83":1}}],["システム上のツールバージョンへパススルーします",{"2":{"43":1}}],["ショートネームインデックスに追加することができます",{"2":{"129":1}}],["ショートネームインデックスリポジトリを使用します",{"2":{"129":1}}],["ショートネームリポジトリはローカルマシンに同期され",{"2":{"75":1}}],["ショートネームリポジトリの同期",{"0":{"75":1}}],["ショートネームリポジトリが無効となっている場合",{"2":{"49":1}}],["ショートネームのリストです",{"2":{"16":1}}],["シンプルなプラグインインターフェースを使って",{"2":{"33":1}}],["シェルのツール",{"2":{"100":1}}],["シェルの構成ファイル",{"2":{"93":1}}],["シェルが",{"0":{"93":1}}],["シェル",{"2":{"64":1}}],["シェル構成にたった1行のシェルスクリプトを記述するだけで使えるというシンプルさ",{"2":{"40":1}}],["シェルによってsourceされるパッケージ内のスクリプトは",{"2":{"86":1}}],["シェルに",{"2":{"37":1}}],["シェル上でasdfコアがセットアップすると",{"2":{"34":1}}],["シェルを再起動してください",{"2":{"22":1}}],["シェルスクリプトの静的解析ツールです",{"2":{"1":1}}],["ポピュラーなasdfプラグインを検索するためにasdfコアが使用する",{"2":{"16":1}}],["そうでなければ",{"2":{"115":2}}],["そちらのガイドに従って削除する行を見つけてください",{"2":{"68":2}}],["そしてbin",{"2":{"105":1}}],["そしてフレームワーク",{"2":{"93":1}}],["そして",{"2":{"68":4}}],["そして60",{"2":{"39":1}}],["そしてリポジトリ内の様々な",{"2":{"36":1}}],["それらがインストールされているかどうかを出力します",{"2":{"108":1}}],["それらの機能を支えています",{"2":{"39":1}}],["それらの管理はユーザが負担することとなりますが",{"2":{"38":1}}],["それがそのツールにとって最善の方法であるとは限りませんのでご注意ください",{"2":{"40":1}}],["それぞれが異なるapi",{"2":{"33":1}}],["それぞれのリポジトリを参照してください",{"2":{"16":1}}],["それを使用する場合",{"2":{"29":1}}],["そのコミット",{"2":{"124":1}}],["そのバージョンのツールがインストールされます",{"2":{"124":1}}],["そのバイナリ向けのshimを作成します",{"2":{"113":1}}],["そのため",{"2":{"123":1}}],["そのファイルをコピーします",{"2":{"123":1}}],["そのままの順序を使用することを推奨します",{"2":{"104":1}}],["そのスクリプトで利用可能な環境変数を確認してください",{"2":{"102":1}}],["そのリポジトリをクローンしてsetup",{"2":{"99":1}}],["そのパッケージに含まれるすべての実行プログラムのshimが$asdf",{"2":{"86":1}}],["その場合は",{"2":{"68":1}}],["その方法の手順に従ってください",{"2":{"67":1}}],["そのような時に",{"2":{"65":1}}],["その他のシステムでのデフォルト値はnoです",{"2":{"57":1}}],["そのプラグインでインストールされたすべてのツールバージョンが削除されます",{"2":{"49":1}}],["その際は",{"2":{"2":1}}],["そのディレクトリのbinとshimsディレクトリを一時的にパスの先頭へ追加します",{"2":{"2":1}}],["いくつかのバージョンは画面外にはみ出る場合があります",{"2":{"104":1}}],["いくつかのtypescriptファイルに記述されています",{"2":{"13":1}}],["いつでも歓迎しています",{"2":{"16":1}}],["日々のワークライフに関連するプラグインをいくつか作成しています",{"2":{"16":1}}],["公式ダウンロード",{"0":{"20":1}}],["公式プラグイン",{"0":{"16":1}}],["公式のvitepress",{"2":{"14":1}}],["議論",{"2":{"15":1}}],["既存のイシュー",{"2":{"15":1}}],["ご興味を持っていただきありがとうございます",{"2":{"15":1}}],["└─",{"2":{"14":4}}],["│",{"2":{"14":1}}],["modのようなファイルから",{"2":{"118":1}}],["mit",{"2":{"95":1}}],["mix",{"2":{"82":1}}],["might",{"2":{"18":1}}],["my",{"2":{"22":5,"93":1,"125":1,"126":2}}],["matrix",{"2":{"125":2}}],["man",{"2":{"122":3}}],["manage",{"2":{"41":1}}],["make",{"2":{"102":1,"106":1}}],["makepkg",{"2":{"21":1}}],["main",{"2":{"86":1,"125":1}}],["masterブランチの最新コミット",{"2":{"67":1}}],["master",{"2":{"41":1}}],["masosユーザの方は",{"2":{"22":1}}],["macosでのデフォルト値はyes",{"2":{"57":1}}],["macosでasdfを利用するときは",{"2":{"22":1}}],["macosでは",{"2":{"22":1}}],["macos",{"2":{"18":2,"22":4,"25":1,"38":1,"68":3,"125":1}}],["md",{"2":{"14":6}}],["messageのフォーマットを使用してください",{"2":{"7":1}}],["messagesでは",{"2":{"7":1}}],["├─",{"2":{"14":5}}],["配下に同じmarkdownファイルのセットを配置する必要があります",{"2":{"14":1}}],["を指定すると",{"2":{"124":2}}],["を実行します",{"2":{"114":1,"115":1}}],["を実行すると",{"2":{"65":1}}],["を",{"2":{"99":1}}],["を決定し",{"2":{"86":1}}],["を取得します",{"2":{"73":1}}],["を制御します",{"2":{"48":1}}],["を使用しているのれあればそれをsourceした後に",{"2":{"93":1}}],["を使用して更新してください",{"2":{"43":1}}],["を使う場合は",{"2":{"4":1}}],["を呼び出したあとに記述する必要があります",{"2":{"22":1}}],["を有効にするには",{"2":{"14":1}}],["简体中文",{"2":{"14":1}}],["h",{"2":{"127":1}}],["haxeの実行ファイルが実行ディレクトリから相対的に動的ライブラリを見つけようとしてしまう問題を修正します",{"2":{"122":1}}],["haxe",{"2":{"122":1}}],["haxeは",{"2":{"122":1}}],["hashnuke",{"2":{"95":1,"96":1}}],["halcyon",{"2":{"71":1}}],["hans",{"2":{"14":4}}],["hw",{"2":{"50":1}}],["head",{"2":{"41":1,"67":2}}],["helpとなります",{"2":{"124":1}}],["help",{"0":{"109":1,"110":1,"111":1,"112":1},"2":{"41":1,"101":4,"109":2,"110":3,"111":3,"112":3,"122":3}}],["helpコマンドで表示されるテキストです",{"2":{"41":1}}],["helpコマンドまたは単にasdfコマンドを実行すれば",{"2":{"32":1}}],["helperはpath",{"2":{"22":1}}],["helperというユーティリティが呼び出されます",{"2":{"22":1}}],["helperに関する警告を必ず参照してください",{"2":{"22":1}}],["home",{"2":{"22":2,"44":1,"52":1,"54":1,"55":1,"117":1}}],["homebrewで説明されている方法で設定されている可能性があるため",{"2":{"68":2}}],["homebrewは",{"2":{"38":1}}],["homebrewの説明に従って設定必要があります",{"2":{"22":1}}],["homebrewのガイドに従って設定を完了させるか",{"2":{"22":2}}],["homebrew",{"0":{"38":1},"2":{"18":1,"21":1,"22":8,"51":1,"67":1,"68":5}}],["htmlのみのフォールバックをサポートしたいからでした",{"2":{"11":1}}],["https",{"2":{"1":5,"10":3,"20":1,"21":1,"26":1,"41":2,"70":1,"71":2,"124":1,"126":1,"129":1}}],["edit",{"2":{"22":3,"68":3}}],["echo",{"2":{"22":7}}],["elm",{"2":{"70":2}}],["else",{"2":{"68":2}}],["elvで",{"2":{"68":3}}],["elv",{"2":{"22":12,"68":3}}],["elvを追加します",{"2":{"22":3}}],["elvにasdf",{"2":{"22":3}}],["elvishの場合は",{"2":{"51":1}}],["elvish",{"2":{"22":18,"68":9}}],["elixirファイルとしても読み込まれます",{"2":{"123":1}}],["elixirなどの様々なツールを取り扱えるようにするためのものです",{"2":{"69":1}}],["elixir",{"2":{"16":1,"43":1,"82":3}}],["etc",{"0":{"36":1},"2":{"22":2,"68":2}}],["e",{"2":{"22":9}}],["erlang",{"2":{"16":1,"70":1,"73":1,"74":1,"77":1,"78":2,"79":2,"80":2,"81":2,"84":3,"85":1}}],["envスクリプトで提供",{"2":{"86":1}}],["environment",{"2":{"41":1}}],["env",{"0":{"114":1},"2":{"41":1,"63":1,"101":1,"114":3,"115":2}}],["en",{"2":{"14":3}}],["english",{"2":{"14":1}}],["example",{"2":{"115":1}}],["examples",{"2":{"7":1}}],["execヘルパーは",{"2":{"86":1}}],["execします",{"2":{"86":1}}],["execというヘルパープログラムに",{"2":{"86":1}}],["execution",{"2":{"41":1}}],["executes",{"2":{"41":1}}],["executable",{"2":{"41":1,"86":1,"115":1,"122":2}}],["exec",{"0":{"114":1,"115":1},"2":{"41":1,"62":1,"101":2,"114":2,"115":4}}],["export",{"2":{"14":1,"52":1,"53":1,"54":1,"55":1,"56":1}}],["ルート構成が下記の場合",{"2":{"14":1}}],["ルート構成ファイル内のlocales内のキーと同じ名前のディレクトリ配下に配置する必要があります",{"2":{"14":1}}],["ルート構成ファイルであるdocs",{"2":{"14":1}}],["ルート構成ファイルを簡素化するために",{"2":{"13":1}}],["個別にエクスポートされます",{"2":{"14":1}}],["ドロップメニューのタイトル",{"2":{"14":1}}],["ドキュメントの変更に関するプルリクエストを作成する場合",{"2":{"12":1}}],["ドキュメントサイト開発用のツールは",{"2":{"10":1}}],["ドキュメントおよびサイトのコントリビューションガイドです",{"2":{"9":1}}],["ドキュメント",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1}}],["サポートされているロケールとそのurl",{"2":{"14":1}}],["サイドバーの構成設定は前述の構成ファイルにキャプチャされ",{"2":{"14":1}}],["サイドバーの構成への参照を定義しています",{"2":{"14":1}}],["サイドバー",{"2":{"13":1}}],["サイトのルート構成ファイルです",{"2":{"13":1}}],["サイトの構成設定は",{"2":{"13":1}}],["サイト",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1}}],["国際化対応に関して最高のサポートを備えています",{"2":{"14":1}}],["ロケールごとに分類され",{"2":{"14":1}}],["ロケールごとに分類されています",{"2":{"13":1}}],["ローカルディレクトリパスを指定することもできます",{"2":{"119":1}}],["ローカルのバージョン設定は",{"2":{"30":1}}],["ローカルの開発サーバを起動するには",{"2":{"11":1}}],["ローカル",{"0":{"30":1}}],["ローカルでテストを実行するには",{"2":{"5":1}}],["ローカルマシンで開発する際は",{"2":{"1":1}}],["のみ",{"2":{"112":1}}],["の問題を避けるために",{"2":{"106":1}}],["の一番下にないことが原因である可能性があります",{"2":{"93":1}}],["の",{"2":{"73":1}}],["のshimを提供するプラグインおよびバージョンを一覧で表示します",{"2":{"66":1}}],["の優先順でコア数を計算します",{"2":{"50":1}}],["のためのパッケージマネージャー",{"2":{"38":1}}],["の構成を示す大きなjsオブジェクトについては",{"2":{"13":1}}],["の種類は次のとおりです",{"2":{"7":1}}],["とされていますが",{"2":{"105":1}}],["という名前のリポジトリを自分で立ち上げ",{"2":{"99":1}}],["ということです",{"2":{"91":1}}],["というフォーマットで作成するようにしてください",{"2":{"12":1}}],["となっていました",{"2":{"33":1,"105":1}}],["と",{"2":{"13":1,"124":1}}],["仕様については",{"2":{"13":1}}],["rvmrc",{"2":{"117":1}}],["rs",{"2":{"68":4}}],["rf",{"2":{"68":26}}],["rm",{"2":{"49":1,"68":4}}],["rbenv",{"0":{"36":1}}],["rbenvの場合は",{"2":{"31":1}}],["rocky",{"2":{"25":1}}],["root",{"2":{"14":1}}],["rc",{"2":{"22":9,"68":3}}],["rubyの出力は",{"2":{"108":1}}],["rubyのrbenvであれば",{"2":{"45":1}}],["rubyプラグインでのasdf",{"2":{"108":1}}],["ruby",{"2":{"16":1,"31":1,"43":2,"45":2,"101":1,"108":3,"117":1}}],["running",{"2":{"122":5}}],["runs",{"2":{"41":1,"125":1}}],["run",{"2":{"11":2}}],["request",{"2":{"125":1}}],["requestで強制されます",{"2":{"7":1}}],["returns",{"2":{"86":2}}],["returned",{"2":{"41":1}}],["recursive",{"2":{"49":1}}],["recreate",{"2":{"41":1}}],["resources",{"2":{"41":1}}],["reshimコマンドを実行しても問題が解決しない場合",{"2":{"93":1}}],["reshimコマンドのドキュメントをご覧ください",{"2":{"92":1}}],["reshim",{"2":{"41":1,"65":2,"113":1}}],["remove",{"0":{"121":1},"2":{"41":3,"49":1,"74":2,"101":1,"121":6}}],["registered",{"2":{"41":1}}],["repoアクセスのみをもつ新しいパーソナルトークンを作成してください",{"2":{"128":1}}],["repositoryオプションがyesの場合",{"2":{"75":1}}],["repositoryコマンドを実行してください",{"2":{"49":1}}],["repositoryの節をご覧ください",{"2":{"48":1}}],["repository",{"0":{"48":1,"49":1},"2":{"41":1,"44":2,"58":2,"75":1,"112":1}}],["repo",{"2":{"41":3}}],["readme",{"2":{"14":4}}],["refです",{"2":{"102":2,"120":2}}],["refの値が入ります",{"2":{"102":1}}],["ref>",{"2":{"41":1,"124":1}}],["ref",{"2":{"41":2,"43":2,"77":1,"102":2,"120":3,"124":1}}],["refs",{"2":{"41":1}}],["referenceをご覧ください",{"2":{"13":1}}],["refactor",{"2":{"7":1}}],["revert",{"2":{"7":1}}],["revsを使用して",{"2":{"4":1}}],["revs",{"0":{"4":1},"2":{"4":5}}],["release",{"0":{"46":1},"2":{"7":1,"41":1,"44":1,"58":1}}],["類似ツールであるdocsify",{"2":{"11":1}}],["は必須です",{"2":{"124":1}}],["は公式にはサポートしていません",{"2":{"90":1}}],["は60",{"2":{"48":1}}],["はじめようのガイドで説明されています",{"2":{"61":1}}],["はじめよう",{"0":{"17":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1}}],["は",{"2":{"11":1}}],["jrubyやrbx",{"2":{"108":1}}],["jのようなフラグを設定する際に便利です",{"2":{"102":1,"106":1}}],["jthegedus",{"2":{"96":1}}],["javascriptのpackage",{"2":{"118":1}}],["javascriptエンジンをベースに構築されたjavascriptランタイムです",{"2":{"10":1}}],["java",{"2":{"71":3}}],["jobs",{"2":{"125":1}}],["john",{"2":{"52":1,"54":1,"55":1}}],["join",{"2":{"22":4,"68":2}}],["jsのバージョン18",{"2":{"105":1,"106":1}}],["jsの依存関係をインストールしてください",{"2":{"10":1}}],["jsやruby",{"2":{"69":1}}],["jsやvuepressに代わってvitepressが採用されたのは",{"2":{"11":1}}],["jsにはnodeとnpmという2つの実行ファイルが提供されています",{"2":{"66":1}}],["js用のプラグインをインストールしたので",{"2":{"27":1}}],["jsをインストール",{"2":{"24":1}}],["jsでは",{"2":{"14":1}}],["js",{"2":{"10":1,"13":3,"14":2,"16":1}}],["jsonや",{"2":{"118":1}}],["jsonのコード",{"2":{"11":1}}],["jsonには",{"2":{"11":1}}],["jsonに下記のように記述します",{"2":{"4":1}}],["jsonをもとに",{"2":{"10":1}}],["json",{"2":{"4":1}}],["破壊的変更を示します",{"2":{"7":1}}],["workflows",{"2":{"125":1}}],["wsl2でテストスイートを実行する予定ですが",{"2":{"91":1}}],["wsl2が正常に動作するのは",{"2":{"91":1}}],["wsl2",{"2":{"91":1}}],["wsl2をサポートしていますか",{"0":{"91":1}}],["wsl1を公式にサポートする予定はありません",{"2":{"90":1}}],["wsl1をサポートしていますか",{"0":{"90":1}}],["wsl1",{"2":{"90":1}}],["where",{"2":{"41":1,"86":1}}],["which",{"2":{"22":1,"41":1,"86":1,"114":1,"115":1}}],["windows",{"2":{"90":1,"91":1}}],["with",{"2":{"7":1,"22":1,"41":3,"125":1}}],["will",{"2":{"6":2,"22":1}}],["website",{"2":{"7":2}}],["ubuntu",{"2":{"125":1}}],["ubuntuプロジェクトは",{"2":{"8":1}}],["upgrade",{"2":{"67":2}}],["updated",{"2":{"120":4}}],["updateコマンドによる更新は無効になります",{"2":{"59":1}}],["updateコマンドでasdfを更新する際に",{"2":{"46":1}}],["updates",{"2":{"59":1}}],["update",{"0":{"120":1},"2":{"7":1,"41":8,"67":2,"73":3,"101":1,"120":2}}],["util",{"2":{"41":2,"63":1,"114":2,"115":2}}],["utils",{"2":{"41":1}}],["uninstall",{"0":{"116":1},"2":{"41":1,"68":5,"85":2,"101":1,"116":2}}],["urlが指定されなかった場合",{"2":{"129":1}}],["urlを決定するために",{"2":{"129":1}}],["urlをもとに直接インストールする方法です",{"2":{"129":1}}],["urlを使用することを推奨します",{"2":{"70":1}}],["urls",{"2":{"41":3,"71":1}}],["url",{"2":{"41":1,"48":1,"49":1,"102":1,"119":1,"124":1}}],["url>",{"2":{"41":1,"70":1,"124":2,"129":1}}],["uz",{"2":{"22":1,"68":1}}],["usage",{"2":{"57":1}}],["uses",{"2":{"125":1}}],["users",{"2":{"84":3}}],["user>",{"2":{"1":1,"10":1}}],["used",{"2":{"41":3}}],["use",{"0":{"46":1},"2":{"22":4,"44":1,"51":1,"58":1,"106":1}}],["us",{"2":{"14":1}}],["overviewを用意する必要があります",{"2":{"110":1,"111":1,"112":1}}],["overview",{"0":{"109":1},"2":{"101":1,"109":1}}],["of",{"2":{"41":9,"106":2}}],["output",{"2":{"41":1,"115":1}}],["one",{"2":{"41":1}}],["on",{"2":{"41":4,"125":2}}],["ohmyzsh",{"2":{"22":4}}],["oh",{"2":{"22":5,"93":1}}],["options",{"2":{"50":1}}],["optionally",{"2":{"41":3}}],["optional",{"2":{"7":2,"41":1}}],["opt",{"2":{"22":9,"68":3}}],["osx",{"2":{"126":1}}],["os",{"2":{"18":1,"22":1,"25":1,"41":1,"64":1,"125":2,"126":1}}],["origin",{"2":{"73":1}}],["org",{"2":{"21":1}}],["or",{"2":{"1":1,"10":1,"22":1,"41":6,"43":1}}],["リンクを1行ごとに出力してください",{"2":{"112":1}}],["リンクを1行ごとに出力します",{"2":{"112":1}}],["リポジトリのショートネームに依存しないために",{"2":{"70":1}}],["リポジトリをご覧ください",{"2":{"15":1}}],["リリース候補版を使用します",{"2":{"46":1}}],["リリース候補版へ更新するか制御します",{"2":{"46":1}}],["リリース",{"0":{"7":1,"12":1}}],["リモートにコミットまたはプッシュする前に",{"2":{"2":1}}],["39cb398vb39",{"2":{"43":1}}],["3",{"0":{"22":1},"2":{"6":1,"43":4,"66":2,"77":1,"84":2,"85":1,"104":1,"108":2,"118":1}}],["3を使用して出力を表示できるため",{"2":{"6":1}}],[">>",{"2":{"22":15}}],[">",{"2":{"6":1,"7":1,"108":3}}],["dylibs",{"2":{"122":1}}],["danhper",{"2":{"96":1}}],["data",{"0":{"55":1},"2":{"49":1,"55":1,"58":2,"68":11,"86":1,"122":5}}],["durationオプションで変更することができます",{"2":{"75":1}}],["duration",{"0":{"48":1},"2":{"44":1,"58":1}}],["during",{"2":{"6":2}}],["doe",{"2":{"52":1,"54":1,"55":1}}],["downloadスクリプトがすでにバージョンをダウンロードしていると想定し",{"2":{"106":1}}],["downloadスクリプトが存在しない場合",{"2":{"106":1}}],["downloadによってソースコードまたはバイナリがダウンロードされる場所へのパスです",{"2":{"102":1}}],["download",{"0":{"47":1,"105":1},"2":{"44":1,"58":1,"101":1,"102":1,"105":6,"106":2}}],["dockerイメージ",{"0":{"8":1}}],["documentation",{"2":{"7":1,"41":1,"112":1}}],["docsifyとvitepressがvuepressに急速に取って代わっていた場合には不可能でした",{"2":{"11":1}}],["docs",{"2":{"7":3,"10":1,"12":1,"13":3,"14":2,"41":1}}],["disabled",{"2":{"59":1}}],["disable",{"0":{"49":1},"2":{"44":1,"48":1,"58":1}}],["display",{"2":{"41":4}}],["dirは空であり",{"2":{"58":1}}],["dirは空なので",{"2":{"58":1}}],["directory",{"2":{"57":1,"86":1}}],["direnvプラグインが役に立ちます",{"2":{"87":1}}],["direnvプラグインが存在します",{"2":{"37":1}}],["direnvの動作をasdfに統合するasdf",{"2":{"37":1}}],["direnv",{"0":{"37":1}}],["dirの値を使用します",{"2":{"55":1}}],["dirmngr",{"2":{"25":1}}],["dir=",{"2":{"22":3,"54":1,"55":1}}],["dir",{"0":{"54":1,"55":1},"2":{"22":4,"49":1,"58":2,"59":1,"68":12,"86":1,"122":5,"126":1}}],["dir変数に",{"2":{"2":1}}],["d",{"2":{"22":2,"68":2}}],["dnf",{"2":{"18":2}}],["deps",{"0":{"110":1},"2":{"101":1,"110":1}}],["debug",{"2":{"41":1}}],["debian",{"2":{"25":1}}],["defineconfig",{"2":{"14":1}}],["default",{"0":{"53":1},"2":{"13":1,"14":1,"41":3,"53":1,"58":2}}],["description",{"2":{"12":1,"50":1}}],["description>",{"2":{"7":1}}],["dev",{"2":{"11":1,"88":2}}],["npm",{"2":{"65":2,"66":1,"92":1,"116":1}}],["nproc",{"2":{"50":1}}],["ncpu",{"2":{"50":1}}],["name",{"0":{"49":1},"2":{"41":1,"43":1,"44":1,"48":3,"49":3,"58":1,"75":2,"83":1,"98":2,"99":2,"104":1,"108":1,"109":1,"110":1,"111":1,"112":1,"116":1,"119":2,"120":2,"121":2,"124":2,"125":2}}],["name>",{"2":{"41":19,"65":1,"70":2,"73":1,"74":1,"77":1,"78":2,"79":2,"80":2,"81":2,"82":5,"83":1,"84":1,"85":1,"124":2,"126":1,"129":1}}],["nav",{"2":{"14":3}}],["navbars",{"2":{"13":1,"14":3}}],["navバー",{"2":{"13":1,"14":2}}],["nixは",{"2":{"39":1}}],["nixosは",{"2":{"39":2}}],["nixos",{"0":{"39":1}}],["nvm",{"0":{"36":1},"2":{"36":1}}],["nvmrcファイルと",{"2":{"31":1}}],["n$env",{"2":{"22":3}}],["nu",{"2":{"22":6}}],["nuを追加します",{"2":{"22":3}}],["nuにasdf",{"2":{"22":3}}],["nushell",{"2":{"22":6}}],["nsource",{"2":{"22":1}}],["neko",{"2":{"122":1}}],["never",{"2":{"48":1}}],["nexport",{"2":{"22":1}}],["nested",{"2":{"14":2}}],["new",{"2":{"7":1}}],["no",{"2":{"44":4,"45":1,"46":1,"47":1,"49":1,"58":4}}],["node",{"2":{"10":2,"16":1,"27":1,"31":1,"66":2,"84":1,"105":1,"106":1,"124":1}}],["nodejsプラグインをテストするときは",{"2":{"124":1}}],["nodejsプラグインを使用してnode",{"2":{"24":1}}],["nodejsプラグインで",{"2":{"66":1}}],["nodejsのバージョン18",{"2":{"116":1}}],["nodejsの",{"2":{"65":1}}],["nodejsの場合",{"2":{"25":1}}],["nodejsであれば",{"2":{"31":1}}],["nodejsコマンドで確認できますし",{"2":{"27":1}}],["nodejs",{"2":{"10":2,"26":2,"27":2,"29":2,"30":2,"43":2,"65":1,"66":6,"71":3,"84":1,"104":2,"105":1,"106":1,"116":1,"124":2,"129":2}}],["note",{"2":{"40":1}}],["not",{"2":{"6":1}}],["n",{"0":{"36":1},"2":{"6":2,"22":16,"36":1,"127":1}}],["public",{"2":{"128":1}}],["push",{"2":{"125":1}}],["pull",{"2":{"7":1,"125":1}}],["python",{"2":{"43":3,"83":1}}],["pythonのように",{"2":{"29":1}}],["parse",{"0":{"118":1},"2":{"101":1,"118":1}}],["particular",{"2":{"41":1}}],["path>",{"2":{"115":2,"126":1}}],["pathからの相対パスである必要があります",{"2":{"113":1}}],["path環境変数が設定されているかを確認してください",{"2":{"106":1}}],["pathにファイルを配置するようなスクリプトとしてください",{"2":{"106":1}}],["pathのパスのディレクトリにインストールする必要があります",{"2":{"106":1}}],["pathの変更を反映するために",{"2":{"22":1}}],["pathディレクトリに",{"2":{"106":1}}],["pathディレクトリに配置します",{"2":{"105":1}}],["pathディレクトリに配置する必要があります",{"2":{"105":1}}],["pathディレクトリ内に何もファイルを配置しないようにしてください",{"2":{"105":1}}],["pathで指定されたディレクトリに",{"2":{"105":1}}],["pathsスクリプトでカスタマイズできます",{"2":{"106":1}}],["paths",{"0":{"113":1},"2":{"101":1,"113":1}}],["pathコールバックで操作可能",{"2":{"86":1}}],["path",{"0":{"115":1},"2":{"22":8,"41":2,"43":1,"57":1,"86":2,"101":1,"102":3,"104":1,"105":3,"106":4,"108":2,"109":2,"110":2,"111":2,"112":2,"113":6,"114":2,"115":7,"116":1,"117":2,"118":2,"119":2,"120":2,"121":2,"127":1}}],["pacmanやhomebrewのようなパッケージマネージャによって使用され",{"2":{"59":1}}],["pacman",{"2":{"18":2,"21":1,"22":7,"67":1,"68":4}}],["packages",{"2":{"41":3}}],["package",{"2":{"10":1,"11":2,"41":15,"86":1}}],["ps1にasdf",{"2":{"22":1}}],["ps1に下記の行を追記します",{"2":{"22":2}}],["ps1",{"2":{"22":4}}],["post",{"0":{"119":1,"120":1},"2":{"101":2,"102":1,"119":3,"120":4,"121":2}}],["posix",{"2":{"22":3}}],["powershell",{"2":{"22":7}}],["portuguese",{"2":{"14":1}}],["p",{"2":{"22":4}}],["project",{"2":{"84":1}}],["proc",{"2":{"50":1}}],["provide",{"2":{"41":1}}],["provided",{"2":{"41":2}}],["profileで",{"2":{"68":2}}],["profile",{"2":{"22":8,"93":1}}],["profileに設定が見つからない場合は",{"2":{"68":1}}],["profileにasdf",{"2":{"22":2}}],["profileに下記の行を追記します",{"2":{"22":4}}],["prev",{"2":{"102":1,"120":1}}],["pre",{"0":{"121":1},"2":{"101":1,"119":2,"120":2,"121":3}}],["prepend=no",{"2":{"57":1}}],["prepend",{"0":{"57":1}}],["prepend環境変数で制御できます",{"2":{"22":1}}],["prefix",{"2":{"22":12,"68":6}}],["pr",{"2":{"14":1}}],["print",{"2":{"41":2}}],["printed",{"2":{"6":2}}],["printf",{"2":{"6":2}}],["pt",{"2":{"14":6}}],["perf",{"2":{"7":1}}],["pleaseという自動リリースツールを使用して",{"2":{"7":1}}],["plugins",{"2":{"41":6,"115":1,"122":5}}],["pluginsショートネームリポジトリ",{"2":{"16":1}}],["pluginトピック検索",{"2":{"16":1}}],["plugin",{"0":{"48":1,"49":1,"119":1,"120":1,"121":1},"2":{"1":3,"10":1,"22":1,"26":1,"41":12,"44":2,"48":4,"49":4,"58":2,"70":4,"71":4,"72":1,"73":3,"74":2,"75":3,"86":2,"99":1,"101":3,"102":4,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":2,"116":1,"117":1,"118":1,"119":11,"120":12,"121":10,"124":12,"125":4,"126":2,"129":2}}],["ディレクトリごとに環境変数をロード",{"2":{"37":1}}],["デフォルトは",{"2":{"124":1}}],["デフォルトは~",{"2":{"86":1}}],["デフォルト",{"2":{"114":1,"115":1}}],["デフォルトブランチ",{"2":{"73":1}}],["デフォルトブランチでのコミットメッセージのフォーマットとなる",{"2":{"7":1}}],["デフォルトでは",{"2":{"65":1}}],["デフォルト構成を使用します",{"2":{"58":5}}],["デフォルト構成のconcurrencyの値に依存します",{"2":{"58":1}}],["デフォルトロケーションは",{"2":{"51":1}}],["デフォルトのスクリプトが実装されたプラグインリポジトリ",{"2":{"99":1}}],["デフォルトのシェルがzshに変更されました",{"2":{"68":1}}],["デフォルトのシェルはzshです",{"2":{"22":2}}],["デフォルトのブランチをgitクローンしてください",{"2":{"1":1,"10":1}}],["デバッグが簡単になります",{"2":{"6":1}}],["go言語のgo",{"2":{"118":1}}],["gでグローバルにインストールしたものを含むすべてのshimを削除します",{"2":{"116":1}}],["g",{"2":{"65":1,"92":1}}],["given",{"2":{"41":1}}],["gitref",{"2":{"124":2}}],["gitのref",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["gitのurlからプラグインを追加します",{"2":{"70":1}}],["gitのオプションで",{"2":{"4":1}}],["git経由",{"2":{"67":1}}],["git経由でインストール",{"2":{"58":1}}],["git依存のアップデートコマンドが用意されています",{"2":{"67":1}}],["gitクローン",{"2":{"51":1}}],["gitコマンドを使用した公式ダウンロードの手順を使用することを強く推奨します",{"2":{"21":1}}],["gitlens",{"2":{"4":1}}],["gitignoreコード",{"2":{"3":1}}],["gitignore構成で無視する必要があります",{"2":{"3":1}}],["gitignoreファイルです",{"2":{"3":1}}],["gitignore",{"0":{"3":1}}],["github上でホストされているプラグインをテストするためのgithub",{"2":{"125":1}}],["githubのコントリビューターリスト🙏をご覧ください",{"2":{"97":1}}],["github",{"0":{"15":1,"125":1,"128":1},"2":{"1":6,"7":1,"10":4,"16":1,"20":1,"26":1,"41":2,"70":1,"71":2,"88":2,"91":1,"112":1,"124":1,"125":1,"126":1,"128":1,"129":1}}],["githubでasdfをフォークするか",{"2":{"1":1,"10":1}}],["git",{"0":{"4":1},"2":{"1":7,"4":6,"10":4,"18":6,"20":1,"21":2,"22":8,"26":1,"41":6,"48":1,"49":1,"68":5,"70":2,"71":2,"104":2,"120":1,"124":3,"126":2,"129":1}}],["globalの場合",{"2":{"82":1}}],["globalコマンド",{"2":{"43":1}}],["global",{"2":{"29":1,"41":4,"82":4,"83":1,"86":1,"108":1}}],["gnupg2",{"2":{"25":1}}],["gawk",{"2":{"25":3}}],["gpg",{"2":{"25":2}}],["get",{"2":{"25":1}}],["gt",{"2":{"6":1,"7":2,"12":1,"43":1,"48":3,"49":4,"57":1,"65":2,"66":1,"75":1,"83":1,"98":3,"99":2,"104":1,"105":2,"106":3,"108":5,"109":2,"110":2,"111":2,"112":5,"113":3,"114":3,"115":3,"116":2,"119":1,"120":2,"121":1,"124":7}}],["難しいことがあります",{"2":{"6":1}}],["毎回手動でファイルを指定しなくても",{"2":{"4":1}}],["i",{"2":{"116":1}}],["io",{"2":{"112":1}}],["is",{"2":{"43":2}}],["if",{"2":{"41":1,"127":1}}],["information",{"2":{"41":1}}],["info",{"2":{"41":1,"64":1}}],["inside",{"2":{"41":1}}],["installs",{"2":{"115":1}}],["installでソースコードをダウンロードするようにしてください",{"2":{"106":1}}],["installスクリプトを実行します",{"2":{"105":1}}],["installスクリプトがあると想定して",{"2":{"105":1}}],["installation",{"2":{"86":1}}],["installコマンドでダウンロードしたソースコードやバイナリを",{"2":{"47":1}}],["installコマンドを引数を指定せずに実行します",{"2":{"43":1}}],["installed",{"2":{"41":5}}],["install",{"0":{"106":1},"2":{"1":1,"4":1,"10":2,"18":6,"21":1,"25":3,"27":1,"41":10,"43":1,"65":1,"77":2,"78":4,"92":1,"98":1,"101":1,"102":4,"105":8,"106":15,"108":6,"109":7,"110":7,"111":7,"112":7,"113":11,"114":5,"115":6,"117":5}}],["into",{"2":{"22":2}}],["initialise",{"2":{"22":1}}],["in",{"2":{"18":1,"41":3,"86":1}}],["i18nドキュメントには",{"2":{"14":1}}],["i18n",{"0":{"14":1}}],["ideを設定することもできます",{"2":{"4":1}}],["ignorerevsfile",{"2":{"4":1}}],["ignore",{"0":{"4":1},"2":{"4":6}}],["bit",{"2":{"122":2}}],["binディレクトリ内にあるバイナリを探し",{"2":{"113":1}}],["bin内にあるファイルに対して作成されます",{"2":{"106":1}}],["bin",{"0":{"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":2,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"54":1,"58":1,"86":1,"101":18,"102":1,"104":1,"105":1,"106":5,"108":1,"109":1,"110":2,"111":2,"112":2,"113":3,"114":1,"115":5,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"127":1}}],["by",{"2":{"41":1}}],["branches",{"2":{"125":1}}],["branch",{"2":{"20":1,"41":3,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["brazilian",{"2":{"14":1}}],["brew",{"2":{"18":1,"21":1,"22":12,"25":1,"67":2,"68":7}}],["breaking",{"2":{"7":1}}],["br",{"2":{"14":7}}],["build",{"2":{"7":1,"126":1}}],["before",{"2":{"126":1}}],["begins",{"2":{"41":1}}],["being",{"2":{"41":2}}],["be",{"2":{"6":2}}],["blameを呼び出すたびにこのファイルを使うように設定することもできます",{"2":{"4":1}}],["blameを実行するときは",{"2":{"4":1}}],["blameを実行する際のノイズを減らしています",{"2":{"4":1}}],["blameのドキュメントをご覧ください",{"2":{"4":1}}],["blame",{"0":{"4":1},"2":{"4":7}}],["baz`",{"2":{"122":1}}],["baz",{"2":{"122":1}}],["bar`",{"2":{"122":1}}],["bar",{"2":{"122":1}}],["bat",{"2":{"122":6}}],["batsでのデバッグは",{"2":{"6":1}}],["batsのヒント",{"0":{"6":1}}],["batsテスト",{"0":{"5":1},"1":{"6":1}}],["bats",{"2":{"1":3,"2":2,"4":1,"5":1,"6":6}}],["basgまたはzshシェルを起動すると",{"2":{"22":1}}],["bash`",{"2":{"122":3}}],["bashスクリプトまたは実行ファイルを用意することで",{"2":{"122":1}}],["bash1",{"2":{"118":1}}],["bashbin",{"2":{"113":1}}],["bashgit",{"2":{"110":1,"112":1}}],["bashのスクリプトを実行し",{"2":{"99":1}}],["bashasdf",{"2":{"74":1}}],["bashシェル",{"2":{"58":1}}],["bashシェルでの使用方法について説明します",{"2":{"51":1}}],["bashrcで",{"2":{"68":3}}],["bashrc",{"2":{"22":2}}],["bashrcにasdf",{"2":{"22":1}}],["bashrcに下記の行を追記します",{"2":{"22":3}}],["bashに変更していない限り",{"2":{"22":2}}],["bashで使用されている既存のbatsの設定",{"2":{"5":1}}],["bash",{"2":{"2":4,"5":1,"22":17,"68":14,"93":1,"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":2,"118":1,"119":1,"120":1,"121":1,"122":6}}],["bashをサポートするシェルパーサ",{"2":{"1":1}}],["bash自動テストシステムです",{"2":{"1":1}}],["bashまたはposix準拠のスクリプトを単体テストするための",{"2":{"1":1}}],["ツールに関連するユーティリティを提供したり",{"2":{"122":1}}],["ツールによってはこれが望ましくないことがあります",{"2":{"108":1}}],["ツールによってインストールされる実行ファイルのshimを作成するシェルスクリプトです",{"2":{"36":1}}],["ツールがインストール",{"2":{"102":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["ツール名とバージョンの情報を格納するファイルのファイル名です",{"2":{"53":1}}],["ツールは",{"2":{"43":1}}],["ツールのインストール",{"2":{"111":1}}],["ツールの最新バージョンを出力します",{"2":{"108":1}}],["ツールの最新安定バージョンをインストールします",{"2":{"108":1}}],["ツールの最新安定バージョンを標準出力する必要があります",{"2":{"108":1}}],["ツールの最新安定バージョンを判定します",{"2":{"108":1}}],["ツールのローカルバージョンとして",{"2":{"108":1}}],["ツールのグローバルバージョンとして",{"2":{"108":1}}],["ツールのビルドとインストールが成功したとみなされた場合にのみ",{"2":{"106":1}}],["ツールのバイナリのshimを実行する前に環境を準備します",{"2":{"101":1,"114":1}}],["ツールのバージョン管理をサポートするための実行スクリプトを含めたgitリポジトリのことです",{"2":{"98":1}}],["ツールのバージョンを決定します",{"2":{"118":1}}],["ツールのバージョンを決定するために使用されるレガシー構成ファイルのリストを出力します",{"2":{"117":1}}],["ツールのバージョンを読み込むすべてのコマンドから呼び出されます",{"2":{"117":1,"118":1}}],["ツールのバージョンをインストールする場所です",{"2":{"55":1}}],["ツールのバージョンを照会します",{"2":{"28":1}}],["ツールのバージョンマネージャです",{"2":{"40":1}}],["ツールのバージョン",{"2":{"32":1}}],["ツールの特定バージョンにおける",{"2":{"113":1}}],["ツールの特定バージョンを指定された場所にインストールします",{"2":{"106":1}}],["ツールの特定バージョンをアンインストールします",{"2":{"101":1,"116":1}}],["ツールの特定バージョンをインストールします",{"2":{"101":1}}],["ツールの特定バージョンの実行ファイルパスを取得します",{"2":{"115":2}}],["ツールの特定バージョンの実行ファイルパスを出力します",{"2":{"101":1}}],["ツールの特定バージョンのソースコードまたはバイナリを",{"2":{"105":1}}],["ツールの特定バージョンのソースコードまたはバイナリをダウンロードします",{"2":{"101":1}}],["ツールのためのバージョンマネージャです",{"2":{"33":1}}],["ツールごとに用意された既存バージョンファイルの利用",{"0":{"31":1}}],["ツールで指定されたバージョンが見つからない場合",{"2":{"28":1}}],["ツール",{"2":{"3":1,"17":1,"36":2}}],["プルーニングするのに有用です",{"2":{"74":1}}],["プルリクエストをテストする際に便利です",{"2":{"124":1}}],["プルリクエストを作成する前に",{"2":{"2":1}}],["プルリクエストタイトルのconventional",{"2":{"12":1}}],["プルリクエストタイトルのフォーマットを定義しています",{"2":{"7":1}}],["プルリクエストのタイトルには",{"2":{"7":1}}],["プルリクエストのタイトルは",{"2":{"7":1,"12":1}}],["プルリクエスト",{"0":{"7":1,"12":1}}],["プロジェクトのディレクトリに移動した際に自動的に環境変数を設定したい場合は",{"2":{"87":1}}],["プロジェクトのgitリポジトリにチェックインして共有することで",{"2":{"33":1}}],["プロジェクトのgitリポジトリ内となるでしょう",{"2":{"30":1}}],["プロジェクトで使用するツールごとに",{"2":{"32":1}}],["プロジェクトでのnodejsのバージョン管理ができるようになりました",{"2":{"32":1}}],["プロジェクト固有のファイルは無視をしています",{"2":{"3":1}}],["プラグイン内にshims",{"2":{"123":1}}],["プラグイン開発者はこの機能を使って",{"2":{"122":1}}],["プラグイン名をサブコマンドとして使用し",{"2":{"122":1}}],["プラグイン名と",{"2":{"86":1}}],["プラグインおよび管理されているツールに関する概要説明を出力します",{"2":{"109":1}}],["プラグインおよびツールで設定必須または任意設定可能な構成設定一覧を出力します",{"2":{"111":1}}],["プラグインおよびツールのドキュメントを出力します",{"2":{"109":1,"110":1,"111":1,"112":1}}],["プラグインおよびツールの構成設定一覧を出力します",{"2":{"101":1}}],["プラグインおよびツールに関する概要説明を出力します",{"2":{"101":1}}],["プラグインで使用できます",{"2":{"108":1}}],["プラグインでは",{"2":{"105":1}}],["プラグインソースのurlです",{"2":{"102":1,"119":1}}],["プラグインとツールに関連するリンクリストを出力します",{"2":{"101":1,"112":1}}],["プラグインとは",{"2":{"98":1}}],["プラグインスクリプトの鉄則",{"0":{"100":1}}],["プラグインによってインストールされるものは",{"2":{"92":1}}],["プラグインによってツールがインストールされると",{"2":{"34":1}}],["プラグインがインストールされている場所へのパスです",{"2":{"102":1,"119":1,"120":1,"121":1}}],["プラグインが削除される前に実行されるフックです",{"2":{"101":1}}],["プラグインが更新された後に実行されるフックです",{"2":{"101":1}}],["プラグインが追加された後に実行されるフックです",{"2":{"101":1}}],["プラグインが",{"2":{"77":1,"119":1,"121":1}}],["プラグインはshimで指定された実行ファイルパスを条件付きで上書きして返すか",{"2":{"115":1}}],["プラグインは",{"2":{"69":1}}],["プラグインリポジトリの",{"2":{"73":1}}],["プラグインリポジトリのショートネームを指定して追加します",{"2":{"70":1}}],["プラグインリポジトリの初期同期は停止されません",{"2":{"48":1}}],["プラグインリポジトリを削除するには",{"2":{"49":1}}],["プラグインショートネームインデックス",{"0":{"129":1}}],["プラグインショートネームの一覧もご覧ください",{"2":{"72":1}}],["プラグインショートネームリポジトリを無効化しても",{"2":{"49":2}}],["プラグインショートネームリポジトリを無効化します",{"2":{"49":1}}],["プラグインシステムによって多くのツールをサポートしており",{"2":{"40":1}}],["プラグインをテストするためのplugin",{"2":{"124":1}}],["プラグインを削除すると",{"2":{"49":1,"74":1}}],["プラグインを削除するには",{"2":{"49":1}}],["プラグインを作成することで",{"2":{"40":1}}],["プラグインをインストールしてからツールをインストールし",{"2":{"23":1}}],["プラグイン",{"0":{"69":1},"1":{"70":1,"71":1,"72":1,"73":1,"74":1,"75":1},"2":{"32":1}}],["プラグインの場所への相対パスを渡す必要がある場合があります",{"2":{"126":1}}],["プラグインのciにおいて",{"2":{"124":1}}],["プラグインのreadmeには",{"2":{"122":1}}],["プラグインのヘルプを表示するために必要です",{"2":{"109":1}}],["プラグインの以前のgit",{"2":{"102":1,"120":1}}],["プラグインの作成",{"0":{"98":1},"1":{"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1}}],["プラグインの作成をご覧ください",{"2":{"69":1}}],["プラグインのexec",{"2":{"86":2}}],["プラグインの同期はトリガーされません",{"2":{"48":1,"49":1}}],["プラグインのフォールバックで使用します",{"2":{"45":1}}],["プラグインのリポジトリを確認しておきましょう",{"2":{"25":1}}],["プラグインの依存関係",{"0":{"25":1}}],["プラグインのインストール",{"0":{"24":1,"26":1},"1":{"25":1,"26":1}}],["新しくインストールされたshimを検知してくれないのですが",{"0":{"93":1}}],["新しくインストールした実行ファイルが実行できないのですが",{"0":{"92":1}}],["新しいasdfコマンドを定義することができます",{"2":{"122":1}}],["新しいpkgbuildをダウンロードしてリビルド",{"2":{"67":1}}],["新しいzshコマンド補完を使用するには",{"2":{"22":2}}],["新しいコードをカバーするようなテストを作成してください",{"2":{"2":1}}],["新たに同期が開始されます",{"2":{"48":1}}],["新機能にとってテストは必要不可欠であり",{"2":{"2":1}}],["ヒント",{"2":{"2":1,"7":1,"43":1,"129":1}}],["xのデフォルト値は60ですが",{"2":{"75":1}}],["x26",{"2":{"2":1,"6":1,"22":2,"68":2}}],["x3c",{"2":{"1":1,"7":3,"10":1,"41":38,"62":1,"63":1,"65":2,"66":1,"70":3,"73":1,"74":1,"77":2,"78":3,"79":3,"80":3,"81":3,"82":13,"83":1,"84":1,"85":2,"115":3,"124":6,"125":1,"126":5,"129":2}}],["faq",{"0":{"89":1},"1":{"90":1,"91":1,"92":1,"93":1}}],["f",{"2":{"68":3}}],["fetch",{"2":{"67":1}}],["feature",{"2":{"7":2}}],["feat",{"2":{"7":4}}],["from",{"2":{"41":1}}],["framework",{"2":{"22":1}}],["fpath経由で",{"2":{"22":2}}],["fpath=",{"2":{"22":1,"68":1}}],["fpath",{"2":{"22":1}}],["fooファイルが存在すれば",{"2":{"123":1}}],["fooという実行ファイルに対して",{"2":{"123":1}}],["fooというプラグインがあるとすると",{"2":{"122":1}}],["foox",{"2":{"115":1}}],["fooは特定のブランチ",{"2":{"77":1}}],["fooの形式",{"2":{"77":1}}],["foo",{"2":{"14":2,"115":4,"122":10}}],["force",{"0":{"57":1},"2":{"22":1,"57":1,"68":5}}],["for",{"2":{"2":1,"7":1,"22":2,"41":7,"90":1,"91":1}}],["format",{"2":{"2":1,"11":1}}],["fork",{"2":{"1":1,"10":1}}],["fi",{"2":{"127":1}}],["filter",{"2":{"41":2}}],["file環境変数は",{"2":{"122":1}}],["file環境変数で設定できます",{"2":{"44":1}}],["fileオプションを有効にしたユーザにのみ適用されます",{"2":{"117":1}}],["fileは空なので",{"2":{"58":1}}],["filenames",{"0":{"117":1},"2":{"101":1,"117":1}}],["filenameは空なので",{"2":{"58":1}}],["filename=tool",{"2":{"53":1}}],["filename",{"0":{"53":1},"2":{"58":1}}],["file=",{"2":{"52":1}}],["file",{"0":{"45":1,"52":1,"118":1},"2":{"4":2,"31":1,"41":2,"44":1,"58":2,"101":1,"102":1,"118":1}}],["fishのsourceが",{"2":{"93":1}}],["fishなど",{"2":{"93":1}}],["fishなどによって",{"2":{"86":1}}],["fishなどをsourceする前に設定する必要があります",{"2":{"51":1}}],["fishをsourceしている行を削除します",{"2":{"68":3}}],["fishで",{"2":{"68":3}}],["fishにasdf",{"2":{"22":1}}],["fishに下記の行を追記します",{"2":{"22":2}}],["fish",{"2":{"22":15,"68":11}}],["fix",{"2":{"2":2,"7":4}}],["same",{"2":{"122":5}}],["save",{"2":{"22":3}}],["subsystem",{"2":{"90":1,"91":1}}],["sysctl",{"2":{"50":1}}],["system",{"2":{"43":2,"83":2}}],["src",{"2":{"43":1}}],["sort",{"2":{"100":1,"104":3}}],["sourceする必要があります",{"2":{"93":1}}],["source",{"2":{"22":4,"86":2,"102":1,"119":1}}],["some",{"2":{"6":3,"7":3,"18":1}}],["silent",{"2":{"127":1}}],["si",{"2":{"21":1}}],["sidebar",{"2":{"14":3}}],["sidebars",{"2":{"13":1,"14":3}}],["specified",{"2":{"41":1}}],["specific",{"2":{"2":1,"41":2}}],["specifying",{"2":{"41":1}}],["spack",{"2":{"18":2}}],["stdoutまたはstderrへ適切に送信してください",{"2":{"116":1}}],["stableのように",{"2":{"127":1}}],["stable",{"0":{"108":1},"2":{"41":5,"101":1,"108":1}}],["strategy",{"2":{"125":1}}],["stratus3d",{"2":{"96":1}}],["string",{"2":{"22":2,"41":1,"68":2}}],["str",{"2":{"22":1}}],["steps",{"2":{"18":1,"125":1}}],["style",{"2":{"7":1}}],["ssg",{"2":{"11":1}}],["script",{"2":{"22":1,"86":2,"126":2}}],["scripts",{"2":{"2":3,"5":2}}],["scope",{"2":{"7":1}}],["sed",{"2":{"104":1,"110":1}}],["setup",{"2":{"22":1}}],["set",{"2":{"22":3,"41":7,"68":3}}],["settings",{"2":{"4":1}}],["semantic",{"2":{"7":1}}],["s",{"2":{"6":2,"18":1,"22":5}}],["shやasdf",{"2":{"86":1,"93":1}}],["shをsourceしている行を削除します",{"2":{"68":2}}],["shを追加します",{"2":{"22":6}}],["shおよびコマンド補完をsourceしている行を削除します",{"2":{"68":6}}],["short",{"0":{"49":1},"2":{"44":1,"48":1,"58":1,"75":1}}],["show",{"2":{"41":3}}],["shimで指定されたデフォルトのパスを返してください",{"2":{"115":1}}],["shimで指定されたデフォルトのパスを返すことができます",{"2":{"115":1}}],["shimで指定された実行ファイルパスを条件付きで上書きして返すか",{"2":{"115":1}}],["shimコマンドの実行時に使用される環境において",{"2":{"114":1,"115":1}}],["shimを作成するバイナリが存在するディレクトリへの相対パスの一覧を出力します",{"2":{"101":1}}],["shimを作成しなければならないということをasdfに通知する必要があります",{"2":{"92":1}}],["shimラッパーを経由させずに直接アクセスする必要があります",{"2":{"86":1}}],["shimがラップしているインストール済みパッケージの実行ファイルのパスを渡して",{"2":{"86":1}}],["shim自体は非常に単純なラッパーであり",{"2":{"86":1}}],["shimのバージョン",{"0":{"66":1}}],["shimの再作成",{"0":{"65":1}}],["shimはデフォルトで",{"2":{"106":1}}],["shimはまだ存在しません",{"2":{"65":1}}],["shimはプラグインによってツールのインストール中に作成されます",{"2":{"65":1}}],["shimsディレクトリ",{"2":{"86":1}}],["shims",{"0":{"86":1},"1":{"87":1},"2":{"41":1,"86":1}}],["shim",{"2":{"33":1,"41":3,"55":1,"66":4}}],["shソース以下にcompinitがくるようにしてください",{"2":{"22":1}}],["sh",{"2":{"22":12,"51":1,"57":1,"68":8,"86":2,"126":1}}],["shgit",{"2":{"4":2}}],["shfmt",{"2":{"1":3}}],["shellcmd=",{"2":{"127":1}}],["shellcheck",{"2":{"1":3}}],["shell$",{"2":{"122":1}}],["shellfoo",{"2":{"122":1}}],["shellusage",{"2":{"115":1}}],["shelluse",{"2":{"68":3}}],["shellの場合",{"2":{"82":1}}],["shellのhomebrewが担います",{"2":{"22":1}}],["shellif",{"2":{"68":2}}],["shellpacman",{"2":{"68":4}}],["shellbrew",{"2":{"68":5}}],["shellrm",{"2":{"68":25}}],["shell➜",{"2":{"66":2}}],["shellexport",{"2":{"22":2}}],["shellecho",{"2":{"22":8}}],["shellmkdir",{"2":{"22":4}}],["shellsource",{"2":{"22":2,"68":3}}],["shellgit",{"2":{"20":1}}],["shelldocs",{"2":{"14":1}}],["shellnpm",{"2":{"10":1,"11":2}}],["shellasdf",{"2":{"1":2,"10":2,"26":1,"27":1,"29":1,"30":1,"62":1,"63":1,"64":1,"65":1,"66":1,"70":2,"71":2,"72":1,"73":2,"77":1,"78":2,"79":2,"80":2,"81":2,"82":2,"83":1,"84":1,"85":1,"124":1,"126":1}}],["shell",{"2":{"1":1,"2":1,"5":1,"6":1,"10":1,"22":16,"41":3,"68":8,"82":1,"86":1,"124":1,"129":1}}],["location",{"2":{"58":1}}],["localの場合",{"2":{"82":1}}],["localコマンド",{"2":{"43":1}}],["local",{"2":{"30":1,"41":4,"82":2,"83":3,"86":1,"108":1}}],["locales",{"2":{"14":1}}],["legacy",{"0":{"45":1,"117":1,"118":1},"2":{"31":1,"58":1,"101":2,"117":1,"118":1}}],["ln",{"2":{"22":4}}],["last",{"0":{"48":1},"2":{"44":1,"58":1,"75":1}}],["latestは",{"2":{"27":1}}],["latest",{"0":{"108":1},"2":{"27":1,"29":1,"30":1,"41":15,"78":4,"81":4,"82":3,"101":1,"105":1,"106":1,"108":9,"124":1,"125":2,"127":1}}],["later",{"2":{"18":1}}],["lang",{"2":{"14":3,"41":1}}],["label",{"2":{"14":3}}],["lt",{"2":{"7":2,"12":1,"43":1,"48":3,"49":4,"57":1,"65":2,"66":1,"75":1,"83":1,"98":3,"99":2,"104":1,"105":2,"106":3,"108":5,"109":2,"110":2,"111":2,"112":5,"113":3,"114":3,"115":3,"116":2,"119":1,"120":2,"121":1,"124":7}}],["license",{"2":{"95":1}}],["like",{"2":{"22":1}}],["lib",{"2":{"22":6,"68":3,"122":6}}],["libexec",{"2":{"22":10,"68":4}}],["linkを提供しており",{"2":{"122":1}}],["link",{"2":{"112":2}}],["links",{"0":{"112":1},"2":{"101":1,"112":1}}],["linuxとmacosの両方のci環境でテストすることを推奨します",{"2":{"124":1}}],["linux",{"2":{"18":4,"25":1,"90":1,"91":1,"126":1}}],["lint",{"2":{"2":4}}],["listed",{"2":{"41":1}}],["list",{"0":{"104":1,"113":1,"117":1},"2":{"2":1,"27":2,"41":9,"48":1,"49":1,"71":4,"72":1,"75":1,"79":4,"80":4,"98":1,"101":3,"104":4,"106":1,"108":2,"113":1,"116":1,"117":1,"127":1}}],["luizm",{"2":{"1":2}}],["コピーライト",{"2":{"95":1}}],["コントリビューター",{"0":{"97":1}}],["コントリビューションガイドについては",{"2":{"15":1}}],["コンパイルに必要な環境変数やその他フラグについて説明します",{"2":{"111":1}}],["コンパイルをサポートしている場合",{"2":{"77":1}}],["コンパイル時に使用するデフォルトのコア数です",{"2":{"50":1}}],["コンパイルされます",{"2":{"43":1}}],["コメントを含めることもできます",{"2":{"43":1}}],["コマンドが外部apiへのアクセスに依存している場合",{"2":{"127":1}}],["コマンドで",{"2":{"119":1,"120":1,"121":1}}],["コマンドでは",{"2":{"48":1,"49":1}}],["コマンドへの依存関係を小さく保つようにしてください",{"2":{"100":1}}],["コマンドを実行してください",{"2":{"49":1}}],["コマンドを実行します",{"2":{"43":1}}],["コマンドを使用してください",{"2":{"2":1}}],["コマンドは大きく分けて3つのカテゴリに分けられます",{"2":{"32":1}}],["コマンド補完を削除します",{"2":{"68":1}}],["コマンド補完をセットアップします",{"2":{"22":1}}],["コマンド補完については",{"2":{"68":2}}],["コマンド補完は自動的に設定されます",{"2":{"22":6}}],["コマンド補完は",{"2":{"22":5}}],["コマンド補完が必要な場合は",{"2":{"22":6}}],["コマンド",{"2":{"18":1,"21":1}}],["コミット",{"2":{"43":1}}],["コミットする前にコードをフォーマットするには",{"2":{"11":1}}],["コミュニティ主導の共同プロジェクトです",{"2":{"88":1}}],["コミュニティプロジェクト",{"0":{"88":1}}],["コミュニティプラグインについては",{"2":{"16":1}}],["コミュニティがサポートするダウンロード方法",{"0":{"21":1}}],["コアとなるasdf",{"2":{"109":1}}],["コアとなるasdfのコマンドはかなり少量ですが",{"2":{"60":1}}],["コア",{"0":{"60":1},"1":{"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1}}],["コアのインストールが完了",{"0":{"23":1}}],["コアのコントリビューションガイドのドキュメントに記述されています",{"2":{"12":1}}],["コア開発用のツールは",{"2":{"1":1}}],["コードをローカルでフォーマット",{"2":{"2":1}}],["イントロダクション",{"0":{"33":1},"1":{"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1}}],["インストールしたツールが正しく動作するかを確認するために実行するコマンドです",{"2":{"124":1}}],["インストールした場所や方法",{"2":{"51":1}}],["インストールをする必要があります",{"2":{"106":1}}],["インストールが実行されます",{"2":{"105":1}}],["インストールが成功したら",{"2":{"47":1}}],["インストールされているツールのバージョンに合わせて出力を調整する必要があります",{"2":{"109":1,"110":1,"111":1,"112":1}}],["インストールされているプログラムが当該環境で利用できるようになります",{"2":{"86":1}}],["インストールされたパッケージへのパスを返すため",{"2":{"86":1}}],["インストールされる実行ファイルごとにshimが作成されます",{"2":{"34":1}}],["インストール可能なすべてのバージョンをリストします",{"2":{"101":1,"104":1}}],["インストール可能な全バージョン一覧",{"0":{"80":1}}],["インストール可能なバージョンはasdf",{"2":{"27":1}}],["インストール済みバージョン一覧",{"0":{"79":1}}],["インストール済みプラグイン一覧",{"0":{"71":1}}],["インストール済みのasdfに変更を加えずに",{"2":{"2":1}}],["インストール",{"0":{"61":1}}],["インストール先は$home",{"2":{"58":1}}],["インストール後も",{"2":{"47":1}}],["インタプリタです",{"2":{"1":1}}],["開発ワークフローを簡素化するための単一インターフェースと構成ファイルを提供しており",{"2":{"33":1}}],["開発に必要なスクリプトが含まれています",{"2":{"11":1}}],["開発に必要なバージョンを",{"2":{"10":1}}],["開発用サーバのベースとしたり",{"2":{"8":1}}],["開発",{"0":{"2":1,"11":1},"1":{"3":1,"4":1}}],["開発ツールに影響を与える特定の機能を壊す可能性もあるため",{"2":{"1":1}}],["下記ディレクトリ内のファイルへのshimを作成するよう",{"2":{"113":1}}],["下記コマンドによってトリガーされます",{"2":{"75":1}}],["下記コマンドを実行します",{"2":{"22":3,"30":1}}],["下記コマンドでは",{"2":{"70":1}}],["下記コマンドで",{"2":{"22":12}}],["下記をご覧ください",{"2":{"16":1}}],["下記リンクから",{"2":{"16":1}}],["下記の例では",{"2":{"82":1}}],["下記の行を追記してください",{"2":{"31":1}}],["下記のフォーマットに従います",{"2":{"7":1}}],["下記のように使用できます",{"2":{"124":1}}],["下記のように指定してください",{"2":{"73":1}}],["下記のようにテストを呼び出します",{"2":{"5":1}}],["下記のように",{"2":{"4":1,"14":1,"58":1,"78":1,"79":1,"80":1,"81":1,"86":1,"118":1}}],["下記のようにインストールします",{"2":{"1":1,"10":1}}],["下記のようにプラグインを追加してください",{"2":{"1":1,"10":1}}],["下記項目を一通り参照してください",{"2":{"5":1}}],["下記は",{"2":{"3":1,"44":1}}],["下記に",{"2":{"1":1}}],["良いかもしれません",{"2":{"1":1}}],["title",{"2":{"112":1}}],["time",{"2":{"106":2}}],["timgluz",{"2":{"1":1}}],["tag",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["tscをパイプで通すだけで十分です",{"2":{"104":1}}],["travis",{"2":{"126":1}}],["travisci",{"0":{"126":1}}],["trash",{"2":{"49":1}}],["truffleruby+graalvm",{"2":{"108":1}}],["truffleruby",{"2":{"108":1}}],["trufflerubyなどの多くのプロバイダのrubyバージョンをリストアップします",{"2":{"108":1}}],["trim",{"2":{"22":1}}],["txt1",{"2":{"104":1}}],["txtlegacy",{"2":{"44":1}}],["txtmanage",{"2":{"41":1}}],["that",{"2":{"41":2}}],["this",{"2":{"22":1,"43":2}}],["then",{"2":{"127":1}}],["they",{"2":{"41":1}}],["these",{"2":{"18":1}}],["themeconfig",{"2":{"14":3}}],["theme",{"2":{"13":1}}],["the",{"2":{"6":1,"7":1,"41":28,"86":1}}],["type環境変数の値を使用してください",{"2":{"109":1,"110":1,"111":1,"112":1}}],["type=refの場合",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["type=versionの場合",{"2":{"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["typeに応じてフルバージョンナンバーまたはgit",{"2":{"102":1}}],["typeをdocsとして",{"2":{"12":1}}],["type",{"2":{"7":1,"102":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["types",{"2":{"7":1}}],["type>",{"2":{"7":1}}],["templateリポジトリを使用し",{"2":{"99":1}}],["terminalで説明されています",{"2":{"6":1}}],["testコマンドを用意しており",{"2":{"124":1}}],["tests",{"2":{"2":1,"6":3}}],["test",{"2":{"2":4,"4":1,"5":3,"6":3,"7":1,"82":1,"124":6,"125":6,"126":2}}],["tokenを利用する際は",{"2":{"128":1}}],["token",{"0":{"128":1},"2":{"127":3}}],["toctou",{"2":{"106":1}}],["to",{"2":{"6":1,"22":1,"41":8,"57":1,"86":2,"106":1}}],["tool>",{"2":{"125":1,"126":2}}],["tools",{"2":{"18":1,"113":2}}],["tool",{"0":{"43":1,"53":1},"2":{"1":1,"10":1,"17":1,"28":1,"29":2,"30":2,"33":1,"34":1,"41":4,"42":1,"43":9,"45":1,"53":3,"58":4,"68":14,"82":6,"84":3,"86":1,"99":2,"105":2,"106":3,"108":3,"113":2,"119":1,"120":1,"121":1,"124":4,"126":2}}],["t",{"2":{"6":1}}],["tフラグを指定してtap出力を有効にすると",{"2":{"6":1}}],["another",{"2":{"43":1}}],["an",{"2":{"41":2}}],["and",{"2":{"22":2,"41":9}}],["at",{"2":{"41":1}}],["as",{"2":{"41":1,"122":5}}],["asdf拡張コマンドに関することを必ず記載するようにしてください",{"2":{"122":1}}],["asdf自体のコマンド拡張プラグインを作成したりすることができます",{"2":{"122":1}}],["asdf自身でこれらのツールを管理したい場合は",{"2":{"1":1}}],["asdfコマンドラインインターフェースを通して呼び出すことのできるlib",{"2":{"122":1}}],["asdfコアはbin",{"2":{"108":1}}],["asdfコアは各バージョンを1行ずつ表示するため",{"2":{"104":1}}],["asdfコアでは",{"2":{"88":1}}],["asdfコアチームが把握している限り",{"2":{"123":1}}],["asdfコアチームは",{"2":{"88":1}}],["asdfコアチームでは",{"2":{"16":1}}],["asdfコアの禁止コマンド一覧もご覧ください",{"2":{"100":1}}],["asdfコアのダウンロード",{"2":{"17":1}}],["asdfコアのコントリビューションガイドです",{"2":{"0":1}}],["asdfへ指示されます",{"2":{"113":1}}],["asdfからの呼び出しシグネチャ",{"2":{"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1}}],["asdfから呼び出せるスクリプトの全リストです",{"2":{"101":1}}],["asdfモジュールを削除します",{"2":{"68":3}}],["asdfモジュールを使用している行を削除します",{"2":{"68":3}}],["asdfをアンインストールするには以下の手順に従ってください",{"2":{"68":1}}],["asdfをシンプルにセットアップしたとします",{"2":{"58":1}}],["asdfを使用しないほうが",{"2":{"1":1}}],["asdfディレクトリを削除します",{"2":{"68":9}}],["asdfディレクトリを強制的にpathの先頭に配置することは",{"2":{"57":1}}],["asdfディレクトリを強制的にpathの先頭に配置します",{"2":{"57":1}}],["asdfディレクトリが存在すればその場所",{"2":{"55":1}}],["asdf構成ファイルのconcurrencyの値が使用されます",{"2":{"56":1}}],["asdf構成ファイルのconcurrencyの値よりも優先されます",{"2":{"56":1}}],["asdf実行ファイルの親ディレクトリが使用されます",{"2":{"54":1}}],["asdfが管理しているツールによって実行ファイルがインストールされた場合は",{"2":{"92":1}}],["asdfが管理していない",{"2":{"43":1}}],["asdfがパッケージをインストールすると",{"2":{"86":1}}],["asdfがnode",{"2":{"69":1}}],["asdfが使用されます",{"2":{"58":1}}],["asdfがプラグイン",{"2":{"55":1}}],["asdfが役に立つようになるのは",{"2":{"23":1}}],["asdfrc内のlegacy",{"2":{"117":1}}],["asdfrc内に",{"2":{"31":1}}],["asdfrcファイルのplugin",{"2":{"75":1}}],["asdfrcファイルは何もカスタマイズしていない",{"2":{"58":1}}],["asdfrcをカスタマイズしていないので",{"2":{"58":5}}],["asdfrcが使用されます",{"2":{"58":1}}],["asdfrcの値が使用されます",{"2":{"52":1}}],["asdfrc構成ファイルへのパスです",{"2":{"52":1}}],["asdfrcに構成ファイルを配置します",{"2":{"44":1}}],["asdfrcでは",{"2":{"44":1}}],["asdfrc",{"0":{"44":1},"1":{"45":1,"46":1,"47":1,"48":1,"49":1,"50":1},"2":{"52":1,"58":1,"68":14}}],["asdfrcや環境変数によってカスタマイズ可能なユーザ固有の設定とがあります",{"2":{"42":1}}],["asdfによって発見されたレガシーファイルをパースして",{"2":{"118":1}}],["asdfによって管理されているすべてのツールの最新バージョンと",{"2":{"108":1}}],["asdfによって実行されます",{"2":{"98":1}}],["asdfによってdocs",{"2":{"10":1}}],["asdfに関するよくある質問を紹介します",{"2":{"89":1}}],["asdfに関連するコミュニティプロジェクトをいくつか紹介します",{"2":{"88":1}}],["asdfには",{"2":{"67":1}}],["asdfには使いこなすと便利なコマンドが他にもいっぱいあり",{"2":{"32":1}}],["asdfに対して",{"2":{"29":1}}],["asdfで用意されているwhichおよびwhereコマンドは",{"2":{"86":1}}],["asdfで管理されているバージョンではなく",{"2":{"83":1}}],["asdfで管理するツールを実行した際に",{"2":{"28":1}}],["asdfで利用可能なすべてのコマンドの一覧です",{"2":{"41":1}}],["asdfでそのようなことはできません",{"2":{"39":1}}],["asdfではなくシステムが管理するツールが既にインストールされていることがあります",{"2":{"29":1}}],["asdfでは正確なバージョン番号を指定してください",{"2":{"27":1}}],["asdfでは",{"2":{"4":1,"123":1,"124":1}}],["asdfプラグインリポジトリをクローンまたは更新します",{"2":{"49":1}}],["asdfプラグインリポジトリの同期間隔",{"2":{"48":1}}],["asdfプラグインの長期的なメンテナンスを目的とした",{"2":{"88":1}}],["asdfプラグインの長期的なメンテナンスを目的としたコミュニティ主導の共同プロジェクトです",{"2":{"16":1}}],["asdfプラグインのショートネームリポジトリの同期を無効化します",{"2":{"49":1}}],["asdfプラグインは",{"2":{"22":2}}],["asdf~",{"2":{"22":6,"68":6}}],["asdfの各種コマンドでgit",{"2":{"129":1}}],["asdfの実行に代わって",{"2":{"122":1}}],["asdfのasdf",{"2":{"119":1,"120":1,"121":1}}],["asdfのオーサーおよびコントリビューターの皆様に感謝を申し上げます",{"2":{"94":1}}],["asdfのshimのバイパス",{"0":{"87":1}}],["asdfのshimやパスのディレクトリをpathの先頭",{"2":{"57":1}}],["asdfのすべての構成ファイルを削除するために次のコマンドを実行します",{"2":{"68":14}}],["asdfの親ディレクトリが使用されます",{"2":{"58":1}}],["asdfの上側に設定します",{"2":{"51":1}}],["asdfの構成設定には",{"2":{"42":1}}],["asdfの構成設定ファイルである$home",{"2":{"31":1}}],["asdfのコアスクリプト場所です",{"2":{"54":1}}],["asdfのコア",{"2":{"32":1}}],["asdfのコアのインストールは完了です🎉",{"2":{"23":1}}],["asdfの入門は完了です🎉",{"2":{"32":1}}],["asdfのスクリプトは",{"2":{"22":1}}],["asdfのダウンロード",{"0":{"19":1},"1":{"20":1,"21":1}}],["asdfの動作にはgitおよびcurlが必要です",{"2":{"18":1}}],["asdfのインストール",{"0":{"22":1},"2":{"17":1}}],["asdfのインストールには次の手順が必要です",{"2":{"17":1}}],["asdfの開発に必要なバージョンを",{"2":{"1":1}}],["asdfドキュメントサイトを構築するために使用している静的サイトジェネレータ",{"2":{"11":1}}],["asdfは正確なgit",{"2":{"129":1}}],["asdfは正常に動作しない可能性があります",{"2":{"90":1}}],["asdfは標準shimテンプレートを使用する代わりに",{"2":{"123":1}}],["asdfは当該スクリプトをbashスクリプトとしてsourceします",{"2":{"122":1}}],["asdfは単純にレガシーファイルをcatしてバージョンを決定します",{"2":{"118":1}}],["asdfはbin",{"2":{"105":1}}],["asdfはshimを使って実行ファイルを管理しています",{"2":{"92":1}}],["asdfはデフォルトで$",{"2":{"44":1}}],["asdfはシステムのパッケージマネージャになることを目指してはいません",{"2":{"40":1}}],["asdfはなるべく依存関係のリストを小さく保つように努めています",{"2":{"38":1}}],["asdfは上位の依存関係を管理することはしませんし",{"2":{"38":1,"39":1}}],["asdfは環境変数を管理することはしませんが",{"2":{"37":1}}],["asdfはプラグインシステムを採用し",{"2":{"36":1}}],["asdfはこれらのツールと非常に似ていて",{"2":{"36":1}}],["asdfは",{"2":{"7":1,"12":1,"28":1,"31":1,"33":2,"40":1,"113":1}}],["asdfリポジトリの",{"2":{"3":1}}],["asdf",{"0":{"0":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"122":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1},"2":{"1":9,"3":1,"8":1,"10":6,"15":1,"16":3,"20":3,"21":3,"22":92,"24":1,"25":1,"26":2,"28":1,"31":1,"32":1,"41":42,"43":3,"44":1,"46":1,"47":1,"48":3,"49":4,"50":1,"51":2,"52":2,"53":1,"54":2,"55":2,"56":1,"57":3,"58":10,"59":2,"66":3,"67":5,"68":88,"70":3,"71":5,"73":1,"74":1,"75":2,"77":1,"78":2,"79":2,"80":2,"81":2,"82":7,"83":1,"84":3,"85":1,"86":6,"87":1,"88":2,"92":1,"93":2,"98":1,"99":3,"102":11,"104":3,"105":13,"106":15,"108":13,"109":7,"110":7,"111":7,"112":7,"113":11,"114":8,"115":10,"116":2,"117":5,"119":6,"120":7,"121":5,"122":6,"124":9,"125":4,"126":6,"129":4}}],["api",{"0":{"128":1},"2":{"127":2,"128":1}}],["apiレート制限",{"0":{"127":1},"1":{"128":1}}],["append",{"2":{"22":4}}],["apt",{"2":{"18":1,"25":1}}],["aptitude",{"2":{"18":1}}],["are",{"2":{"41":1}}],["args",{"2":{"41":1,"62":1,"114":1,"115":1}}],["arg",{"2":{"22":6,"68":6}}],["archlinux",{"2":{"21":1}}],["authorization",{"2":{"127":1}}],["autoremove",{"2":{"68":1}}],["auto",{"2":{"44":1,"50":1,"58":1}}],["autoload",{"2":{"22":1,"68":1}}],["automatically",{"2":{"18":1}}],["aurパッケージのインストール時に自動的に設定されます",{"2":{"22":1}}],["aur",{"2":{"21":1,"51":1}}],["always",{"0":{"47":1},"2":{"44":1,"58":1}}],["almalinux",{"2":{"25":1}}],["alpineおよびasdf",{"2":{"8":1}}],["allやbin",{"2":{"127":1}}],["allの出力をtailした結果をもとに判定しますが",{"2":{"108":1}}],["all",{"0":{"104":1},"2":{"2":1,"27":2,"41":9,"48":1,"49":1,"72":1,"73":1,"75":1,"80":4,"98":1,"101":1,"104":4,"108":2,"116":1}}],["a",{"2":{"7":1,"22":1,"41":15,"43":2}}],["actionを提供しています",{"2":{"125":1}}],["actionsリポジトリでは",{"2":{"125":1}}],["actionsでホストランナーのサポートが可能になれば",{"2":{"91":1}}],["actions",{"0":{"15":1},"2":{"15":1,"125":1}}],["action",{"0":{"125":1},"2":{"7":1}}],["actionamannn",{"2":{"7":1}}],["amp",{"0":{"9":1,"61":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1},"2":{"6":1,"21":4,"22":23,"68":14}}],["advanced",{"2":{"4":1}}],["add",{"0":{"119":1},"2":{"1":3,"10":1,"26":1,"41":3,"48":2,"49":2,"70":4,"75":1,"101":1,"119":6,"129":2}}],["veggies",{"2":{"113":2}}],["versionまたは",{"2":{"124":1}}],["versionまたはrefです",{"2":{"102":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["versionおよびasdf",{"2":{"109":1,"110":1,"111":1,"112":1}}],["versionのような",{"2":{"101":1}}],["version=1",{"2":{"82":1}}],["versionという環境変数で設定することができます",{"2":{"82":1}}],["versionという環境変数に設定され",{"2":{"82":1}}],["versionなど",{"2":{"45":1}}],["version`",{"2":{"41":1}}],["version>",{"2":{"41":13,"65":1,"77":1,"78":1,"79":1,"80":1,"81":1,"82":8,"85":1,"124":1}}],["version",{"0":{"45":1},"2":{"31":1,"41":23,"44":1,"58":1,"65":2,"86":1,"98":1,"102":1,"104":1,"105":3,"106":3,"108":2,"109":2,"110":2,"111":2,"112":2,"113":3,"114":1,"115":1,"116":1,"117":3,"124":4,"125":1,"126":2}}],["versionファイルを読み込みます",{"2":{"45":1}}],["versionファイルといったものを排除しています",{"2":{"36":1}}],["versionファイルの両方に対応しています",{"2":{"31":1}}],["versionファイル",{"2":{"31":1}}],["versionsは下記のような一覧を返します",{"2":{"66":1}}],["versionsが使用されます",{"2":{"58":1}}],["versionsの値が使用されます",{"2":{"53":1}}],["versionsを使用します",{"2":{"45":1}}],["versionsに下記の行を追記します",{"2":{"43":1}}],["versions",{"0":{"43":1,"53":1},"2":{"33":1,"41":10,"53":2,"58":3,"66":3,"68":14,"84":3}}],["versions内には次のように書き込まれます",{"2":{"29":1,"30":1}}],["versionsファイルについて詳しくは",{"2":{"82":1}}],["versionsファイルに書き込まれます",{"2":{"82":2}}],["versionsファイルを無視したい場合を除き",{"2":{"53":1}}],["versionsファイルを含むディレクトリで",{"2":{"43":2}}],["versionsファイルをもとに",{"2":{"28":1}}],["versionsファイル内は下記のような記述となっています",{"2":{"43":1}}],["versionsファイルがディレクトリに存在する場合",{"2":{"43":1}}],["versionsファイルと",{"2":{"42":1}}],["versionsファイル",{"2":{"30":1}}],["versionsファイルで指定されたもの",{"2":{"86":1}}],["versionsファイルで指定されたバージョンでインストールされます",{"2":{"43":1}}],["versionsファイルでサポートされているものと同じです",{"2":{"82":1}}],["versionsファイルで定義されている単一のツールをインストールするには",{"2":{"43":1}}],["versionsファイルで定義されているすべてのツールをインストールするには",{"2":{"43":1}}],["versionsファイルで設定できます",{"2":{"43":1}}],["versionsファイルで",{"2":{"17":1}}],["versionsで定義されているバージョンをasdfが認識して",{"2":{"34":1}}],["versionsで定義されています",{"2":{"1":1}}],["versionsで管理されます",{"2":{"29":1}}],["versionsで管理されています",{"2":{"10":1}}],["v",{"2":{"112":1}}],["vlang",{"2":{"112":2}}],["vは移植性が無いため",{"2":{"104":1}}],["vなどです",{"2":{"100":1}}],["vic",{"2":{"70":1,"96":1}}],["vitepressは",{"2":{"14":1}}],["vitepressのドキュメントをご覧ください",{"2":{"13":1}}],["vitepress",{"0":{"13":1},"2":{"11":1,"13":3,"14":2}}],["v1",{"2":{"43":1}}],["var",{"2":{"22":3,"68":3}}],["v0",{"2":{"20":1}}],["v2",{"2":{"11":1,"104":1,"125":1}}],["vscode",{"2":{"4":2}}],["vmドキュメントですでに説明されている情報は出力しないでください",{"2":{"109":1}}],["vm",{"2":{"1":1,"3":1,"10":2,"20":1,"21":2,"22":9,"26":1,"41":2,"68":7,"71":1,"99":1,"124":1,"125":2,"126":1,"129":1}}],["ここに掲載されているものに関連する品質やセキュリティについては責任を負いません",{"2":{"88":1}}],["ここまでで",{"2":{"32":1}}],["ここでは",{"2":{"89":1}}],["ここではデモとして",{"2":{"24":1}}],["ここでの設定方法が変わります",{"2":{"22":1}}],["これを軽減するため",{"2":{"127":1}}],["これを回避するため",{"2":{"22":1}}],["これにより",{"2":{"115":1}}],["これで",{"2":{"23":1}}],["これらのスクリプトは",{"2":{"98":1}}],["これらのプロジェクトやコードを所有していません",{"2":{"88":1}}],["これらのプラグインのメンテナンスおよび改善にご協力いただける方を",{"2":{"16":1}}],["これらの実行ファイルはプラグインのライフサイクルを通してインストールされないため",{"2":{"65":1}}],["これらの実行ファイルを実行しようとすると",{"2":{"34":1}}],["これらの構成設定に関する公式ドキュメントは",{"2":{"13":1}}],["これらのdockerイメージは",{"2":{"8":1}}],["これ以外の機能セットはほとんど同じで",{"2":{"11":1}}],["これはプラグイン単位でのサポートです",{"2":{"31":1}}],["これは",{"2":{"0":1,"7":1,"9":1,"11":1,"22":1,"59":1,"74":1,"124":1}}],["このトークンをciパイプライン環境変数に追加してください",{"2":{"128":1}}],["この機能は公式プラグインであるelixirプラグインでのみ使用されています",{"2":{"123":1}}],["この機能は賢く使う必要があります",{"2":{"123":1}}],["この機能使ったプラグインの素晴らしい例です",{"2":{"122":1}}],["このプラグインは",{"2":{"122":1}}],["この内容は",{"2":{"117":1}}],["このクエリは",{"2":{"108":1}}],["この動作は",{"2":{"106":1}}],["この動作については",{"2":{"48":1}}],["このスクリプトの出力を考慮するために",{"2":{"110":1,"111":1,"112":1}}],["このスクリプトは",{"2":{"108":1,"109":1,"118":1,"119":1,"120":1,"121":1}}],["このスクリプトはすべてのプラグインで",{"2":{"105":1}}],["このスクリプトでは",{"2":{"106":1}}],["このスクリプトで返されるすべてのバージョンから",{"2":{"104":1}}],["このスクリプトで返されるすべてのバージョンを",{"2":{"104":1}}],["このスクリプトが呼び出される前に",{"2":{"118":1}}],["このスクリプトが存在しない場合",{"2":{"105":1,"108":1,"113":1,"118":1}}],["このスクリプトが導入される以前の",{"2":{"105":1}}],["このスクリプトを呼び出すコマンド",{"2":{"104":1,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1}}],["このスクリプトをsourceし",{"2":{"22":1}}],["このスクリプトに環境変数は提供されません",{"2":{"104":1,"116":1}}],["このページを借りて",{"2":{"94":1}}],["この状況を解決するのに役立ちます",{"2":{"86":1}}],["このディレクトリが",{"2":{"86":1}}],["この更新コマンドは",{"2":{"73":1}}],["この節では",{"2":{"59":1}}],["この節の最後にあるpath",{"2":{"22":1}}],["この環境変数の値は",{"2":{"56":1}}],["この値を変更するべきではありません",{"2":{"53":1}}],["このキーワードを指定した場合",{"2":{"43":1}}],["この一覧は",{"2":{"41":1}}],["このサポートを有効にするには",{"2":{"31":1}}],["このツールの特定のバージョンをインストールしましょう",{"2":{"27":1}}],["このフォーマットに従う必要があります",{"2":{"7":1}}],["このファイルが存在する場合",{"2":{"59":1}}],["このファイルを使用するように",{"2":{"4":1}}],["このファイルと共に使います",{"2":{"4":1}}],["この情報は",{"2":{"7":1}}],["このリポジトリの指示に従うことで",{"2":{"129":1}}],["このリポジトリの",{"2":{"1":1}}],["c",{"2":{"126":1}}],["cmd=",{"2":{"127":2}}],["cmd",{"2":{"102":1,"122":1}}],["cliの拡張コマンド",{"0":{"122":1}}],["cliなどのツールは",{"2":{"65":1}}],["clone",{"2":{"1":4,"10":4,"20":1,"21":1,"126":1}}],["cpuinfo",{"2":{"50":1}}],["call",{"2":{"115":1}}],["capabilityを使用する",{"2":{"104":1}}],["catalina以降では",{"2":{"68":1}}],["catalina以降を使用している場合",{"2":{"22":2}}],["candidates",{"0":{"46":1},"2":{"44":1,"58":1}}],["centos",{"2":{"25":1}}],["cd",{"2":{"21":1}}],["currently",{"2":{"41":1}}],["current",{"2":{"41":7,"84":4,"86":1}}],["currentコマンドを実行すると",{"2":{"28":1}}],["curl",{"2":{"18":6,"25":2,"110":1,"127":1}}],["customarguments",{"2":{"4":1}}],["ci",{"2":{"7":1}}],["chromeのv8",{"2":{"10":1}}],["chore",{"2":{"7":1}}],["change",{"2":{"7":2}}],["changelogを生成しています",{"2":{"7":1}}],["check",{"0":{"48":1},"2":{"2":1,"44":1,"58":1,"75":1,"106":1}}],["codespacesでasdfによるツール管理をサポートする",{"2":{"88":1}}],["cool",{"2":{"84":1}}],["container",{"2":{"88":2}}],["concurrencyは空なので",{"2":{"58":1}}],["concurrency=32",{"2":{"56":1}}],["concurrency環境変数が設定されている場合はそちらが優先されます",{"2":{"50":1}}],["concurrency",{"0":{"50":1,"56":1},"2":{"44":1,"58":1,"102":1,"106":1}}],["conventional",{"0":{"7":1,"12":1},"2":{"7":3,"12":1}}],["config",{"0":{"52":1,"111":1},"2":{"4":1,"13":1,"14":2,"22":38,"44":1,"52":2,"54":1,"58":2,"68":13,"93":1,"101":1,"111":1}}],["coreutils",{"2":{"18":2}}],["coreドキュメント内のprinting",{"2":{"6":1}}],["coreのドキュメント",{"2":{"5":1}}],["coreのドキュメントもご覧ください",{"2":{"2":1}}],["core",{"2":{"1":1,"22":3}}],["compinitのセットアップをカスタマイズしている場合は",{"2":{"22":1}}],["compinit",{"2":{"22":3,"68":2}}],["completer~",{"2":{"22":3,"68":3}}],["completer",{"2":{"22":3,"68":3}}],["completionをインストールします",{"2":{"22":1}}],["completion",{"2":{"22":5,"68":5}}],["completions",{"2":{"22":9,"68":4}}],["community",{"2":{"88":1}}],["communityオーガナイゼーション",{"2":{"16":1}}],["comment",{"2":{"43":2}}],["commitは",{"2":{"7":1}}],["commit",{"2":{"7":2,"12":1,"41":2,"105":1,"106":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1}}],["commitsに依存する自動リリースパイプラインを使用しています",{"2":{"12":1}}],["commits",{"0":{"7":1,"12":1}}],["command>",{"2":{"41":4,"62":1,"63":1,"66":1,"115":1,"126":1}}],["commands",{"2":{"2":1,"122":7}}],["command",{"2":{"2":1,"4":1,"41":3,"66":1,"114":3,"115":3,"122":10,"124":3,"125":1}}],["com",{"2":{"1":5,"10":3,"20":1,"26":1,"41":2,"70":1,"71":2,"112":1,"124":1,"126":1,"129":1}}],["初期セットアップ",{"0":{"1":1,"10":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/@localSearchIndexpt-br.DTBAfdU-.js b/assets/chunks/@localSearchIndexpt-br.DTBAfdU-.js new file mode 100644 index 00000000..2120be37 --- /dev/null +++ b/assets/chunks/@localSearchIndexpt-br.DTBAfdU-.js @@ -0,0 +1 @@ +const e='{"documentCount":103,"nextId":103,"documentIds":{"0":"/pt-br/contribute/core.html#asdf","1":"/pt-br/contribute/core.html#configuracao-inicial","2":"/pt-br/contribute/core.html#desenvolvimento","3":"/pt-br/contribute/core.html#teste-de-bats","4":"/pt-br/contribute/core.html#pull-requests-releases-e-commits-convencionais","5":"/pt-br/contribute/core.html#imagens-docker","6":"/pt-br/contribute/documentation.html#docs-site","7":"/pt-br/contribute/documentation.html#configuracao-inicial","8":"/pt-br/contribute/documentation.html#desenvolvimento","9":"/pt-br/contribute/documentation.html#pull-requests-releases-e-commits-convencionais","10":"/pt-br/contribute/documentation.html#vuepress","11":"/pt-br/contribute/documentation.html#i18n","12":"/pt-br/contribute/first-party-plugins.html#first-party-plugins","13":"/pt-br/contribute/github-actions.html#github-actions","14":"/pt-br/guide/getting-started.html#comecando","15":"/pt-br/guide/getting-started.html#_1-instalando-as-dependencias","16":"/pt-br/guide/getting-started.html#_2-download-asdf","17":"/pt-br/guide/getting-started.html#official-download","18":"/pt-br/guide/getting-started.html#community-supported-download-methods","19":"/pt-br/guide/getting-started.html#_3-adicionando-ao-seu-shell","20":"/pt-br/guide/getting-started.html#_4-instalando-um-plugin","21":"/pt-br/guide/getting-started.html#dependencias-dos-plugins","22":"/pt-br/guide/getting-started.html#instalando-o-plugin","23":"/pt-br/guide/getting-started.html#_5-instalando-uma-versao","24":"/pt-br/guide/getting-started.html#_6-definindo-uma-versao","25":"/pt-br/guide/getting-started.html#versoes-globais","26":"/pt-br/guide/getting-started.html#versoes-locais","27":"/pt-br/guide/getting-started.html#usando-arquivos-de-versao-existentes","28":"/pt-br/guide/getting-started.html#setup-finalizado","29":"/pt-br/guide/introduction.html#introducao","30":"/pt-br/guide/introduction.html#funcionamento","31":"/pt-br/guide/introduction.html#projetos-relacionados","32":"/pt-br/guide/introduction.html#nvm-n-rbenv-etc","33":"/pt-br/guide/introduction.html#direnv","34":"/pt-br/guide/introduction.html#homebrew","35":"/pt-br/guide/introduction.html#nixos","36":"/pt-br/guide/introduction.html#por-que-usar-o-asdf","37":"/pt-br/manage/commands.html#all-commands","38":"/pt-br/manage/configuration.html#configuration","39":"/pt-br/manage/configuration.html#tool-versions","40":"/pt-br/manage/configuration.html#home-asdfrc","41":"/pt-br/manage/configuration.html#variaveis-de-ambiente","42":"/pt-br/manage/core.html#core","43":"/pt-br/manage/core.html#instalacao-e-configuracao","44":"/pt-br/manage/core.html#execute","45":"/pt-br/manage/core.html#variavel-de-ambiente","46":"/pt-br/manage/core.html#informacoes","47":"/pt-br/manage/core.html#reshim","48":"/pt-br/manage/core.html#versionamento-do-shim","49":"/pt-br/manage/core.html#atualizar","50":"/pt-br/manage/core.html#desinstalar","51":"/pt-br/manage/plugins.html#plugins","52":"/pt-br/manage/plugins.html#adicionar","53":"/pt-br/manage/plugins.html#listar-instalados","54":"/pt-br/manage/plugins.html#listar-todos-nomes-abreviados-no-repositorio","55":"/pt-br/manage/plugins.html#atualizar","56":"/pt-br/manage/plugins.html#remover","57":"/pt-br/manage/plugins.html#sincronizar-nome-abreviado-no-repositorio","58":"/pt-br/manage/versions.html#versoes","59":"/pt-br/manage/versions.html#instalar-versao","60":"/pt-br/manage/versions.html#instalar-ultima-versao-estavel","61":"/pt-br/manage/versions.html#listar-versoes-instaladas","62":"/pt-br/manage/versions.html#listar-todas-as-versoes-disponiveis","63":"/pt-br/manage/versions.html#mostrar-ultima-versao-estavel","64":"/pt-br/manage/versions.html#selecionar-versao-atual","65":"/pt-br/manage/versions.html#resposta-do-sistema-de-versao","66":"/pt-br/manage/versions.html#verificar-a-versao-atual","67":"/pt-br/manage/versions.html#desinstalar-versao","68":"/pt-br/manage/versions.html#shims","69":"/pt-br/manage/versions.html#ignorando-shims-do-asdf","70":"/pt-br/more/community-projects.html#community-projects","71":"/pt-br/more/faq.html#perguntas-frequentes","72":"/pt-br/more/faq.html#suporte-wsl1","73":"/pt-br/more/faq.html#suporte-wsl2","74":"/pt-br/more/faq.html#exectable-recem-instalado-nao-esta-funcionando","75":"/pt-br/more/faq.html#shell-nao-detecta-shims-recem-instalados","76":"/pt-br/more/thanks.html#creditos","77":"/pt-br/more/thanks.html#mantenedores","78":"/pt-br/more/thanks.html#contribuidores","79":"/pt-br/plugins/create.html#criar-um-plug-in","80":"/pt-br/plugins/create.html#o-que-ha-em-um-plug-in","81":"/pt-br/plugins/create.html#scripts-obrigatorios","82":"/pt-br/plugins/create.html#variaveis-de-ambiente","83":"/pt-br/plugins/create.html#bin-list-all","84":"/pt-br/plugins/create.html#bin-download","85":"/pt-br/plugins/create.html#bin-install","86":"/pt-br/plugins/create.html#scripts-opcional","87":"/pt-br/plugins/create.html#scripts-bin-help","88":"/pt-br/plugins/create.html#bin-list-bin-paths","89":"/pt-br/plugins/create.html#bin-exec-env","90":"/pt-br/plugins/create.html#bin-exec-path","91":"/pt-br/plugins/create.html#bin-uninstall","92":"/pt-br/plugins/create.html#bin-list-legacy-filenames","93":"/pt-br/plugins/create.html#bin-parse-legacy-file","94":"/pt-br/plugins/create.html#bin-post-plugin-add","95":"/pt-br/plugins/create.html#bin-pre-plugin-remove","96":"/pt-br/plugins/create.html#comandos-de-extensao-para-asdf-cli","97":"/pt-br/plugins/create.html#modelos-de-calcos-personalizados","98":"/pt-br/plugins/create.html#testando-plug-ins","99":"/pt-br/plugins/create.html#exemplo-github-action","100":"/pt-br/plugins/create.html#exemplo-de-configuracao-do-travisci","101":"/pt-br/plugins/create.html#limitacao-de-taxa-da-api-do-github","102":"/pt-br/plugins/create.html#enviando-plugins-para-o-repositorio-oficial-de-plugins"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,35],"1":[2,1,100],"2":[1,1,89],"3":[3,1,72],"4":[6,1,112],"5":[2,1,31],"6":[3,1,37],"7":[2,3,67],"8":[1,3,79],"9":[6,3,44],"10":[1,3,60],"11":[1,3,97],"12":[3,1,92],"13":[2,1,49],"14":[1,1,75],"15":[4,1,59],"16":[3,1,1],"17":[2,4,14],"18":[4,4,32],"19":[5,1,243],"20":[4,1,15],"21":[3,5,50],"22":[3,5,11],"23":[4,1,56],"24":[4,1,59],"25":[2,5,60],"26":[2,5,33],"27":[5,5,55],"28":[3,1,52],"29":[1,1,106],"30":[1,1,53],"31":[2,1,1],"32":[4,3,55],"33":[1,3,35],"34":[1,3,32],"35":[1,3,60],"36":[6,1,64],"37":[2,1,178],"38":[1,1,52],"39":[3,1,131],"40":[2,1,120],"41":[3,1,91],"42":[1,1,46],"43":[3,1,6],"44":[1,1,14],"45":[3,1,6],"46":[1,1,24],"47":[1,1,70],"48":[3,1,46],"49":[1,1,53],"50":[1,1,142],"51":[1,1,56],"52":[1,1,41],"53":[2,1,14],"54":[6,1,17],"55":[1,1,42],"56":[1,1,33],"57":[5,1,65],"58":[1,1,30],"59":[2,1,44],"60":[4,1,20],"61":[3,1,18],"62":[5,1,19],"63":[4,1,19],"64":[3,1,81],"65":[5,1,42],"66":[4,1,22],"67":[2,1,10],"68":[1,1,111],"69":[4,2,36],"70":[2,1,48],"71":[2,1,8],"72":[3,2,27],"73":[3,2,57],"74":[7,2,57],"75":[7,2,48],"76":[1,1,17],"77":[1,1,6],"78":[1,1,9],"79":[4,1,30],"80":[7,4,46],"81":[2,4,22],"82":[3,4,82],"83":[3,7,106],"84":[2,7,80],"85":[2,7,116],"86":[2,4,1],"87":[3,6,170],"88":[3,6,63],"89":[3,6,10],"90":[3,6,53],"91":[2,6,7],"92":[4,6,39],"93":[4,6,37],"94":[4,6,49],"95":[4,6,44],"96":[7,4,143],"97":[4,4,63],"98":[3,4,111],"99":[3,6,37],"100":[5,6,67],"101":[7,4,84],"102":[7,4,46]},"averageFieldLength":[2.902912621359222,2.4466019417475726,55.01941747572816],"storedFields":{"0":{"title":"asdf","titles":[]},"1":{"title":"Configuração inicial","titles":["asdf"]},"2":{"title":"Desenvolvimento","titles":["asdf"]},"3":{"title":"Teste de BATS","titles":["asdf"]},"4":{"title":"Pull Requests, Releases e Commits Convencionais","titles":["asdf"]},"5":{"title":"Imagens Docker","titles":["asdf"]},"6":{"title":"Docs & Site","titles":[]},"7":{"title":"Configuração inicial","titles":["Docs & Site"]},"8":{"title":"Desenvolvimento","titles":["Docs & Site"]},"9":{"title":"Pull Requests, Releases e Commits Convencionais","titles":["Docs & Site"]},"10":{"title":"Vuepress","titles":["Docs & Site"]},"11":{"title":"I18n","titles":["Docs & Site"]},"12":{"title":"First-Party Plugins","titles":[]},"13":{"title":"GitHub Actions","titles":[]},"14":{"title":"Começando","titles":[]},"15":{"title":"1. Instalando as dependências","titles":["Começando"]},"16":{"title":"2. Download asdf","titles":["Começando"]},"17":{"title":"Official Download","titles":["Começando","2. Download asdf"]},"18":{"title":"Community Supported Download Methods","titles":["Começando","2. Download asdf"]},"19":{"title":"3. Adicionando ao seu shell","titles":["Começando"]},"20":{"title":"4. Instalando um plugin","titles":["Começando"]},"21":{"title":"Dependências dos plugins","titles":["Começando","4. Instalando um plugin"]},"22":{"title":"Instalando o plugin","titles":["Começando","4. Instalando um plugin"]},"23":{"title":"5. Instalando uma versão","titles":["Começando"]},"24":{"title":"6. Definindo uma versão","titles":["Começando"]},"25":{"title":"Versões globais","titles":["Começando","6. Definindo uma versão"]},"26":{"title":"Versões locais","titles":["Começando","6. Definindo uma versão"]},"27":{"title":"Usando arquivos de versão existentes","titles":["Começando","6. Definindo uma versão"]},"28":{"title":"Setup finalizado!","titles":["Começando"]},"29":{"title":"Introdução","titles":[]},"30":{"title":"Funcionamento","titles":["Introdução"]},"31":{"title":"Projetos relacionados","titles":["Introdução"]},"32":{"title":"nvm / n / rbenv etc","titles":["Introdução","Projetos relacionados"]},"33":{"title":"direnv","titles":["Introdução","Projetos relacionados"]},"34":{"title":"Homebrew","titles":["Introdução","Projetos relacionados"]},"35":{"title":"NixOS","titles":["Introdução","Projetos relacionados"]},"36":{"title":"Por que usar o asdf?","titles":["Introdução"]},"37":{"title":"All Commands","titles":[]},"38":{"title":"Configuration","titles":[]},"39":{"title":".tool-versions","titles":["Configuration"]},"40":{"title":"$HOME/.asdfrc","titles":["Configuration"]},"41":{"title":"Variáveis de ambiente","titles":["Configuration"]},"42":{"title":"Core","titles":[]},"43":{"title":"Instalação e configuração","titles":["Core"]},"44":{"title":"Execute","titles":["Core"]},"45":{"title":"Variável de Ambiente","titles":["Core"]},"46":{"title":"Informações","titles":["Core"]},"47":{"title":"Reshim","titles":["Core"]},"48":{"title":"Versionamento do Shim","titles":["Core"]},"49":{"title":"Atualizar","titles":["Core"]},"50":{"title":"Desinstalar","titles":["Core"]},"51":{"title":"Plugins","titles":[]},"52":{"title":"Adicionar","titles":["Plugins"]},"53":{"title":"Listar Instalados","titles":["Plugins"]},"54":{"title":"Listar todos nomes abreviados no repositório","titles":["Plugins"]},"55":{"title":"Atualizar","titles":["Plugins"]},"56":{"title":"Remover","titles":["Plugins"]},"57":{"title":"Sincronizar nome abreviado no repositório","titles":["Plugins"]},"58":{"title":"Versões","titles":[]},"59":{"title":"Instalar Versão","titles":["Versões"]},"60":{"title":"Instalar última versão estável","titles":["Versões"]},"61":{"title":"Listar versões instaladas","titles":["Versões"]},"62":{"title":"Listar todas as versões disponíveis","titles":["Versões"]},"63":{"title":"Mostrar última versão estável","titles":["Versões"]},"64":{"title":"Selecionar versão atual","titles":["Versões"]},"65":{"title":"Resposta do sistema de versão","titles":["Versões"]},"66":{"title":"Verificar a versão atual","titles":["Versões"]},"67":{"title":"Desinstalar versão","titles":["Versões"]},"68":{"title":"Shims","titles":["Versões"]},"69":{"title":"Ignorando shims do asdf","titles":["Versões","Shims"]},"70":{"title":"Community Projects","titles":[]},"71":{"title":"Perguntas frequentes","titles":[]},"72":{"title":"Suporte WSL1?","titles":["Perguntas frequentes"]},"73":{"title":"Suporte WSL2?","titles":["Perguntas frequentes"]},"74":{"title":"Exectable recém-instalado não está funcionando?","titles":["Perguntas frequentes"]},"75":{"title":"Shell não detecta shims recém-instalados?","titles":["Perguntas frequentes"]},"76":{"title":"Créditos","titles":[]},"77":{"title":"Mantenedores","titles":["Créditos"]},"78":{"title":"Contribuidores","titles":["Créditos"]},"79":{"title":"Criar um plug-in","titles":[]},"80":{"title":"O que há em um plug-in","titles":["Criar um plug-in"]},"81":{"title":"Scripts obrigatórios","titles":["Criar um plug-in"]},"82":{"title":"Variavéis de Ambiente","titles":["Criar um plug-in"]},"83":{"title":"bin/list-all","titles":["Criar um plug-in","Variavéis de Ambiente"]},"84":{"title":"bin/download","titles":["Criar um plug-in","Variavéis de Ambiente"]},"85":{"title":"bin/install","titles":["Criar um plug-in","Variavéis de Ambiente"]},"86":{"title":"Scripts Opcional","titles":["Criar um plug-in"]},"87":{"title":"scripts bin/help","titles":["Criar um plug-in","Scripts Opcional"]},"88":{"title":"bin/list-bin-paths","titles":["Criar um plug-in","Scripts Opcional"]},"89":{"title":"bin/exec-env","titles":["Criar um plug-in","Scripts Opcional"]},"90":{"title":"bin/exec-path","titles":["Criar um plug-in","Scripts Opcional"]},"91":{"title":"bin/uninstall","titles":["Criar um plug-in","Scripts Opcional"]},"92":{"title":"bin/list-legacy-filenames","titles":["Criar um plug-in","Scripts Opcional"]},"93":{"title":"bin/parse-legacy-file","titles":["Criar um plug-in","Scripts Opcional"]},"94":{"title":"bin/post-plugin-add","titles":["Criar um plug-in","Scripts Opcional"]},"95":{"title":"bin/pre-plugin-remove","titles":["Criar um plug-in","Scripts Opcional"]},"96":{"title":"Comandos de extensão para asdf CLI.","titles":["Criar um plug-in"]},"97":{"title":"Modelos de calços personalizados","titles":["Criar um plug-in"]},"98":{"title":"Testando plug-ins","titles":["Criar um plug-in"]},"99":{"title":"Exemplo GitHub Action","titles":["Criar um plug-in","Testando plug-ins"]},"100":{"title":"Exemplo de configuração do TravisCI","titles":["Criar um plug-in","Testando plug-ins"]},"101":{"title":"Limitação de taxa da API do GitHub","titles":["Criar um plug-in"]},"102":{"title":"Enviando plugins para o repositório oficial de plugins","titles":["Criar um plug-in"]}},"dirtCount":0,"index":[["à",{"2":{"101":2}}],["às",{"2":{"3":1,"96":1}}],["🙏",{"2":{"78":1}}],["​​por",{"2":{"74":1}}],["kim",{"2":{"66":3}}],["keep",{"2":{"40":1}}],["916",{"2":{"55":1}}],["8",{"2":{"48":2,"85":1}}],["8837",{"2":{"19":2}}],["7",{"2":{"39":4,"85":1}}],["`$asdf",{"2":{"96":5}}],["`env`",{"2":{"37":1}}],["`asdf",{"2":{"37":1}}],["🎉",{"2":{"28":1,"50":1}}],["yml",{"2":{"100":1}}],["yamllanguage",{"2":{"100":1}}],["yamlsteps",{"2":{"99":1}}],["yarn",{"2":{"47":2,"74":3}}],["yes",{"2":{"27":1,"40":4}}],["your",{"2":{"1":1,"7":1,"15":2,"18":1}}],["you",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["000",{"2":{"35":1}}],["0",{"2":{"25":1,"26":1,"39":3,"40":1,"48":4,"64":2,"83":3,"84":1,"85":3,"90":1}}],["60",{"2":{"35":1,"40":1,"57":1}}],["6",{"0":{"24":1},"1":{"25":1,"26":1,"27":1},"2":{"66":1}}],["4",{"0":{"20":1},"1":{"21":1,"22":1},"2":{"64":3,"83":1}}],["+",{"2":{"19":2}}],["|",{"2":{"19":11}}],["=s",{"2":{"50":2}}],["=",{"2":{"19":9,"27":1,"40":1,"50":6}}],["zero",{"2":{"84":1,"85":1}}],["zdotdir",{"2":{"19":1}}],["zshrc",{"2":{"19":5,"50":4,"75":1}}],["zsh",{"2":{"19":24,"50":6,"75":1}}],["zypper",{"2":{"15":2}}],["$releases",{"2":{"101":1}}],["$cmd",{"2":{"101":2}}],["$github",{"2":{"101":2}}],["$travis",{"2":{"100":1}}],["$e",{"2":{"50":4}}],["$env",{"2":{"19":2}}],["$pwd",{"2":{"26":2,"64":1}}],["$path",{"2":{"19":1,"29":1,"68":1,"75":1}}],["$nu",{"2":{"19":3}}],["$fpath",{"2":{"19":1,"50":1}}],["$",{"2":{"19":16,"37":1,"50":18,"64":2,"68":6,"94":4,"95":3,"96":4,"99":1}}],["$home",{"0":{"40":1},"2":{"19":8,"24":1,"25":2,"27":1,"39":1,"50":48,"64":1}}],["$asdf",{"2":{"2":1,"50":2,"68":1,"85":1,"96":2}}],["~",{"2":{"17":1,"19":49,"39":1,"41":3,"50":23,"68":1,"90":2,"92":1}}],["2014",{"2":{"76":1}}],["2",{"0":{"16":1},"1":{"17":1,"18":1},"2":{"39":6,"64":1,"73":1,"83":1}}],["11",{"2":{"66":1}}],["17",{"2":{"48":2,"59":1,"60":1,"61":1,"62":1,"63":1,"66":2,"67":1}}],["15",{"2":{"39":4}}],["10",{"2":{"39":2}}],["16",{"2":{"25":1,"26":1,"48":2}}],["14",{"2":{"17":1,"23":1,"48":4}}],["1",{"0":{"15":1},"2":{"17":1,"40":1,"64":2,"72":1,"83":4,"90":1}}],["└─",{"2":{"11":4}}],["│",{"2":{"11":1}}],["├─",{"2":{"11":5}}],["5",{"0":{"23":1},"2":{"8":1,"25":1,"26":1,"39":1,"48":2,"66":1}}],["já",{"2":{"83":2,"85":1,"87":1}}],["j",{"2":{"82":1}}],["jthegedus",{"2":{"77":1}}],["java",{"2":{"53":3}}],["javascript",{"2":{"7":2,"8":1,"10":1}}],["janela",{"2":{"19":1}}],["join",{"2":{"19":4,"50":2}}],["json",{"2":{"7":1,"8":2}}],["js",{"2":{"7":2,"8":1,"10":5,"11":2,"12":1,"20":1,"23":1,"48":1,"51":1}}],["ões",{"2":{"7":1}}],["rvmrc",{"2":{"92":1}}],["rm",{"2":{"50":4}}],["rs",{"2":{"50":4}}],["rf",{"2":{"50":26}}],["roda",{"2":{"30":1}}],["root",{"2":{"11":1}}],["rbenv",{"0":{"32":1},"2":{"27":1,"32":1,"40":1}}],["rc",{"2":{"19":9,"50":3}}],["raiz",{"2":{"10":2,"11":1}}],["ramificação",{"2":{"4":1}}],["ruby",{"2":{"12":1,"27":1,"39":1,"40":2,"51":1,"92":1}}],["running",{"2":{"96":5}}],["runner",{"2":{"73":1}}],["runs",{"2":{"37":1}}],["run",{"2":{"8":2,"15":1}}],["ruptura",{"2":{"4":1}}],["registre",{"2":{"92":1}}],["registered",{"2":{"37":1}}],["retorne",{"2":{"90":1}}],["retorna",{"2":{"68":2,"98":1}}],["retornar",{"2":{"48":1}}],["retorno",{"2":{"68":1,"85":1,"87":5}}],["returned",{"2":{"37":1}}],["real",{"2":{"39":1}}],["readme",{"2":{"11":4,"69":1,"96":1}}],["remoção",{"2":{"50":2,"95":1}}],["removido",{"2":{"84":1,"95":1}}],["remova",{"2":{"50":27}}],["removendo",{"2":{"56":1}}],["remover",{"0":{"56":1},"2":{"50":14,"56":2}}],["remove",{"0":{"95":1},"2":{"37":3,"56":2,"95":4}}],["remoto",{"2":{"2":1}}],["rest",{"2":{"98":1}}],["resfriado",{"2":{"76":1}}],["resolve",{"2":{"96":1}}],["resolvendo",{"2":{"75":1}}],["resources",{"2":{"37":1}}],["ressaltar",{"2":{"73":1}}],["responsible",{"2":{"70":1}}],["resposta",{"0":{"65":1}}],["respositório",{"2":{"55":1}}],["reshim",{"0":{"47":1},"2":{"37":1,"47":2,"74":2,"75":1}}],["reservada",{"2":{"34":1}}],["resultará",{"2":{"24":1}}],["resulta",{"2":{"23":1}}],["relativas",{"2":{"96":1}}],["relativo",{"2":{"90":1,"100":1}}],["relativos",{"2":{"88":1}}],["relate",{"2":{"70":1}}],["related",{"2":{"70":1}}],["relatório",{"2":{"46":1}}],["relaciona",{"2":{"35":1}}],["relacionados",{"0":{"31":1},"1":{"32":1,"33":1,"34":1,"35":1},"2":{"94":1,"95":1,"96":1}}],["relevantes",{"2":{"12":1,"87":1}}],["release",{"2":{"4":1,"37":1,"40":1,"49":1}}],["releases",{"0":{"4":1,"9":1}}],["reinicie",{"2":{"19":1}}],["required",{"2":{"15":1}}],["requires",{"2":{"15":1}}],["requests",{"0":{"4":1,"9":1}}],["request",{"2":{"2":1,"4":1,"98":1}}],["ref>",{"2":{"37":1,"98":1}}],["ref",{"2":{"37":2,"39":2,"59":1,"82":2,"98":1}}],["refs",{"2":{"37":1}}],["refencia",{"2":{"27":1}}],["referências",{"2":{"11":1}}],["referência",{"2":{"10":1,"25":1,"59":1}}],["refactor",{"2":{"4":1}}],["replicáveis",{"2":{"35":1}}],["repository",{"2":{"37":1,"40":1,"57":1}}],["repositório",{"0":{"54":1,"57":1,"102":1},"2":{"1":1,"2":1,"12":1,"13":1,"21":1,"26":1,"29":1,"40":3,"52":2,"57":1,"80":1,"82":1,"98":1,"99":1,"100":1,"102":3}}],["repo",{"2":{"12":1,"37":3,"101":1}}],["representam",{"2":{"10":1}}],["representar",{"2":{"10":1}}],["revert",{"2":{"4":1}}],["revisão",{"2":{"2":1}}],["receberá",{"2":{"93":1}}],["recente",{"2":{"19":2,"40":2,"50":1,"83":1,"85":1}}],["recently",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["recém",{"0":{"74":1,"75":1}}],["reconstruir",{"2":{"49":1}}],["recomendável",{"2":{"83":1,"98":1}}],["recomendado",{"2":{"3":1,"49":1}}],["recommendation",{"2":{"52":1}}],["recommend",{"2":{"18":1}}],["recálculo",{"2":{"47":1}}],["recria",{"2":{"47":1}}],["recreate",{"2":{"37":1}}],["recurso",{"2":{"40":1,"96":2,"97":1}}],["recursos",{"2":{"2":1,"8":1}}],["últimos",{"2":{"57":1}}],["último",{"2":{"55":1,"83":1}}],["última",{"0":{"60":1,"63":1},"2":{"4":1,"23":1,"40":2,"60":1,"63":1}}],["única",{"2":{"29":1}}],["único",{"2":{"29":1,"36":1}}],["útil",{"2":{"1":1,"69":1,"82":1,"83":1,"98":1}}],["x",{"2":{"57":2}}],["x26",{"2":{"3":1,"19":2}}],["x3c",{"2":{"1":1,"4":3,"7":1,"37":38,"44":1,"45":1,"47":2,"48":1,"52":3,"55":1,"56":1,"59":2,"60":3,"61":3,"62":3,"63":3,"64":13,"65":1,"66":1,"67":2,"90":3,"98":4}}],[">>",{"2":{"19":15}}],[">",{"2":{"3":1,"4":1}}],["39cb398vb39",{"2":{"39":1}}],["3",{"0":{"19":1},"2":{"3":2,"8":1,"39":3,"48":2,"59":1,"66":2,"67":1,"83":1}}],["é",{"2":{"2":1,"3":1,"4":2,"8":2,"11":1,"12":1,"19":3,"25":1,"27":1,"29":1,"30":2,"32":2,"34":2,"35":2,"36":2,"37":1,"39":1,"40":4,"41":4,"42":1,"50":1,"52":1,"57":2,"59":1,"64":1,"68":3,"72":1,"73":2,"75":1,"80":1,"82":1,"83":5,"87":2,"96":2,"97":1,"98":4}}],["upgrade",{"2":{"49":2}}],["update",{"2":{"4":1,"37":8,"40":1,"49":2,"55":3}}],["utilitários",{"2":{"96":1}}],["utilizá",{"2":{"19":1}}],["utilizar",{"2":{"33":1}}],["utilizadas",{"2":{"24":1,"56":1}}],["utilização",{"2":{"19":1}}],["utilizando",{"2":{"19":3,"23":1}}],["utilizem",{"2":{"36":1}}],["utilize",{"2":{"19":2}}],["util",{"2":{"37":2,"45":1}}],["utils",{"2":{"37":1,"96":1}}],["unix",{"2":{"73":1}}],["unidade",{"2":{"73":2}}],["uninstall",{"0":{"91":1},"2":{"37":1,"50":5,"67":2,"80":1}}],["unitários",{"2":{"1":1}}],["uz",{"2":{"19":1,"50":1}}],["urls",{"2":{"37":3,"53":1}}],["url>",{"2":{"37":1,"52":1,"98":1}}],["url",{"2":{"11":1,"37":1,"52":2,"94":2,"102":1}}],["ubuntu",{"2":{"5":1,"87":1}}],["uma",{"0":{"23":1,"24":1},"1":{"25":1,"26":1,"27":1},"2":{"4":2,"11":1,"14":3,"19":3,"23":2,"24":4,"25":1,"29":2,"30":1,"35":2,"36":1,"39":4,"47":1,"56":1,"57":1,"59":1,"64":1,"73":2,"74":1,"82":1,"83":4,"85":1,"87":4,"88":3,"90":1,"91":2,"92":2,"99":1,"101":1}}],["um",{"0":{"20":1,"79":1,"80":1},"1":{"21":1,"22":1,"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"1":1,"2":1,"3":1,"5":1,"8":1,"9":2,"14":1,"19":6,"25":1,"26":2,"29":5,"30":2,"32":1,"34":1,"35":1,"36":2,"39":4,"40":1,"46":2,"47":1,"48":1,"49":3,"55":1,"56":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":2,"65":1,"68":2,"74":1,"80":2,"83":1,"84":1,"85":1,"87":7,"96":5,"97":5,"98":2,"100":2,"101":2,"102":1}}],["usá",{"2":{"98":1}}],["uso",{"2":{"39":1,"87":1}}],["usuário",{"2":{"34":1,"38":1,"83":1}}],["usuários",{"2":{"8":1,"87":1,"92":1,"96":1,"102":1}}],["using",{"2":{"18":1}}],["us",{"2":{"11":1}}],["usa",{"2":{"68":1,"74":1}}],["usado",{"2":{"56":1,"68":1,"93":1,"94":2,"95":1,"97":2}}],["usados",{"2":{"10":1,"40":1,"82":1}}],["usada",{"2":{"51":1}}],["usadas",{"2":{"39":1}}],["usamos",{"2":{"8":1}}],["usando",{"0":{"27":1},"2":{"4":1,"9":1,"19":3,"29":1,"49":1,"50":8,"73":1,"96":2,"102":1}}],["usará",{"2":{"40":1}}],["usar",{"0":{"36":1},"2":{"1":1,"3":1,"5":1,"39":2,"49":1,"59":1,"65":1,"96":1,"97":2,"100":1}}],["uses",{"2":{"99":1}}],["user",{"2":{"102":1}}],["users",{"2":{"66":3}}],["user>",{"2":{"1":1,"7":1}}],["used",{"2":{"12":1,"37":3}}],["use",{"2":{"2":1,"4":1,"18":1,"19":3,"39":2,"40":1,"41":1,"50":1,"55":1,"97":1}}],["quality",{"2":{"70":1}}],["qualquer",{"2":{"36":1,"41":3,"68":1,"80":1,"84":1,"85":2,"87":2,"94":1,"95":1}}],["qual",{"2":{"29":1,"30":1,"59":1,"100":1}}],["quanto",{"2":{"27":1,"38":1}}],["quando",{"2":{"8":1,"26":1,"30":2,"40":1,"48":1,"68":1,"73":2,"80":1,"84":1,"85":2,"87":4,"96":1}}],["quaisquer",{"2":{"47":1,"87":1}}],["quais",{"2":{"23":1,"24":1,"51":1}}],["quiser",{"2":{"2":1,"55":1,"64":1,"85":1,"87":1}}],["que",{"0":{"36":1,"80":1},"2":{"1":1,"3":1,"4":1,"8":1,"9":1,"10":1,"14":1,"19":11,"24":3,"25":1,"29":1,"30":2,"32":2,"35":2,"36":4,"39":5,"40":4,"41":3,"48":1,"49":1,"50":3,"60":1,"61":1,"62":1,"63":1,"68":3,"69":1,"73":1,"74":2,"82":1,"83":4,"84":1,"85":3,"87":8,"88":1,"90":1,"92":1,"94":2,"95":2,"96":6,"97":1,"98":4}}],["quebrariam",{"2":{"1":1}}],["quebrar",{"2":{"1":1}}],["quot",{"2":{"0":2,"6":2,"12":2,"13":2,"14":2,"29":2,"37":2,"38":2,"42":2,"51":2,"58":2,"79":2}}],["módulo",{"2":{"50":6}}],["método",{"2":{"49":3,"52":1,"57":1}}],["métodos",{"2":{"19":1}}],["muitos",{"2":{"42":1}}],["muitas",{"2":{"35":1,"48":1,"83":2}}],["mudado",{"2":{"57":1}}],["mudanças",{"2":{"19":1}}],["mudança",{"2":{"4":1}}],["mudou",{"2":{"19":2}}],["modelo",{"2":{"97":1}}],["modelos",{"0":{"97":1},"2":{"97":1}}],["modificadas",{"2":{"39":1}}],["motivo",{"2":{"69":1}}],["mostrar",{"0":{"63":1},"2":{"63":1}}],["mostrará",{"2":{"24":1}}],["momento",{"2":{"24":1}}],["my",{"2":{"19":5,"99":1,"102":3}}],["md",{"2":{"11":6,"74":1}}],["mínima",{"2":{"8":1}}],["mapeia",{"2":{"100":1}}],["make",{"2":{"82":1}}],["makepkg",{"2":{"18":1}}],["master",{"2":{"37":1,"49":1}}],["mas",{"2":{"19":1,"36":1,"42":1,"57":1,"74":1,"87":2}}],["may",{"2":{"15":1}}],["macos",{"2":{"15":2,"19":4,"21":1,"34":1,"50":3}}],["man",{"2":{"96":3}}],["mantenedores",{"0":{"77":1}}],["mantenha",{"2":{"40":1}}],["manipulado",{"2":{"68":1}}],["manipulação",{"2":{"29":1}}],["managed",{"2":{"70":1}}],["manage",{"2":{"37":1,"74":1}}],["manager",{"2":{"15":2}}],["maneira",{"2":{"29":1}}],["manualmente",{"2":{"19":3,"49":1,"83":1}}],["manutenção",{"2":{"12":1}}],["maintenance",{"2":{"12":1,"70":1}}],["mais",{"2":{"11":1,"19":3,"27":1,"33":1,"34":1,"35":2,"36":1,"40":2,"50":1,"51":1,"52":1,"57":1,"64":1,"69":1,"75":1,"83":2,"85":1,"87":1,"93":1,"102":1}}],["maiores",{"2":{"10":1}}],["markdown",{"2":{"8":1,"11":2}}],["major",{"2":{"4":1}}],["mit",{"2":{"76":1}}],["mix",{"2":{"64":1}}],["minutos",{"2":{"57":1}}],["min",{"2":{"40":1}}],["minor",{"2":{"4":1}}],["migração",{"2":{"27":1}}],["migrated",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["might",{"2":{"15":1}}],["meu",{"2":{"75":1}}],["meio",{"2":{"32":1,"47":1,"74":1}}],["mesma",{"2":{"29":1,"36":1}}],["mesmo",{"2":{"8":1,"11":2,"39":2,"59":1,"64":1,"85":1,"96":1}}],["method",{"2":{"18":2,"49":1}}],["methods",{"0":{"18":1}}],["mencioná",{"2":{"96":1}}],["mencionado",{"2":{"41":1,"85":1}}],["mencionados",{"2":{"11":1}}],["menos",{"2":{"41":1}}],["menu",{"2":{"11":1}}],["mensagem",{"2":{"4":2}}],["mensagens",{"2":{"4":1}}],["mecanismo",{"2":{"7":1}}],["melhoria",{"2":{"12":1}}],["melhor",{"2":{"2":1,"83":1}}],["máquina",{"2":{"1":1,"57":1}}],["ln",{"2":{"19":4}}],["lo",{"2":{"19":1,"25":1,"39":1,"96":1,"98":1,"101":1}}],["lookup",{"2":{"12":1}}],["longo",{"2":{"52":1}}],["long",{"2":{"12":1,"70":1}}],["locais",{"0":{"26":1},"2":{"11":1,"26":1}}],["localização",{"2":{"41":1}}],["localizados",{"2":{"11":1}}],["localidade",{"2":{"10":1,"11":2}}],["locales",{"2":{"11":2}}],["localmente",{"2":{"2":1}}],["local",{"2":{"1":1,"8":1,"14":1,"19":1,"26":1,"37":4,"39":1,"41":3,"57":1,"64":3,"65":4,"68":1}}],["last",{"2":{"40":1,"57":1}}],["lang",{"2":{"37":1,"64":1}}],["lançamentos",{"2":{"83":1}}],["lançamento",{"2":{"4":1,"9":1}}],["la",{"2":{"24":1}}],["latest",{"2":{"23":3,"25":1,"26":1,"37":15,"49":2,"60":4,"63":4,"64":3,"98":1}}],["later",{"2":{"15":1}}],["lateral",{"2":{"11":1}}],["leva",{"2":{"98":1}}],["legado",{"2":{"93":1}}],["legados",{"2":{"84":2}}],["legacy",{"0":{"92":1,"93":1},"2":{"27":1,"40":2,"92":1,"93":1}}],["leiam",{"2":{"40":1}}],["leia",{"2":{"10":1}}],["lendo",{"2":{"4":1}}],["lt",{"2":{"4":2,"9":1,"40":1,"47":2,"57":1,"65":1,"87":3,"88":3,"98":1}}],["luizm",{"2":{"1":2}}],["limitação",{"0":{"101":1},"2":{"101":1}}],["limite",{"2":{"61":1,"62":1}}],["lido",{"2":{"97":1}}],["lidar",{"2":{"51":1}}],["livre",{"2":{"87":2}}],["license",{"2":{"76":1}}],["libexec",{"2":{"19":6,"50":4}}],["lib",{"2":{"19":6,"50":3,"96":8}}],["liste",{"2":{"88":1}}],["listed",{"2":{"37":1,"70":1}}],["list",{"0":{"83":1,"88":1,"92":1},"2":{"2":1,"12":1,"15":1,"23":2,"37":9,"40":1,"53":4,"54":1,"57":1,"61":4,"62":4,"80":1,"81":1,"82":1,"83":1,"85":1,"101":2}}],["listado",{"2":{"102":1}}],["listados",{"2":{"87":1}}],["listada",{"2":{"83":1}}],["listadas",{"2":{"21":1}}],["listar",{"0":{"53":1,"54":1,"61":1,"62":1}}],["lista",{"2":{"1":1,"4":1,"23":1,"37":2,"42":1,"48":1,"54":1,"78":1,"81":1,"83":1,"87":2,"88":1,"92":1}}],["linguagens",{"2":{"39":1}}],["linguagem",{"2":{"35":1,"36":1,"80":1}}],["linhas",{"2":{"19":1,"50":14,"87":1}}],["linha",{"2":{"19":13,"27":1,"35":1,"39":1,"83":1,"87":2,"96":1}}],["linux",{"2":{"15":4,"21":1,"34":1,"72":1,"73":1,"98":1,"100":1}}],["lint",{"2":{"2":1}}],["links",{"2":{"87":2}}],["link",{"2":{"0":1,"6":1,"12":2,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1,"87":3,"96":1}}],["like",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["funções",{"2":{"96":1}}],["função",{"2":{"83":1}}],["funcione",{"2":{"19":1,"85":1,"98":1}}],["funciona",{"2":{"84":1,"98":1}}],["funcionando",{"0":{"74":1}}],["funcionamento",{"0":{"30":1}}],["funcionalidade",{"2":{"27":2}}],["funcionalidades",{"2":{"1":1}}],["funcionar",{"2":{"19":1,"72":1,"73":2}}],["f",{"2":{"50":3}}],["frequentes",{"0":{"71":1},"1":{"72":1,"73":1,"74":1,"75":1}}],["from",{"2":{"37":1}}],["framework",{"2":{"19":9,"50":1,"75":1}}],["fluxos",{"2":{"42":1}}],["fluxo",{"2":{"29":1}}],["fpath=",{"2":{"19":1,"50":1}}],["fpath",{"2":{"19":3}}],["fi",{"2":{"101":1}}],["fiquem",{"2":{"83":1}}],["finalmente",{"2":{"68":1,"101":1}}],["final",{"2":{"68":1,"76":1}}],["finalizada",{"2":{"28":1}}],["finalizado",{"0":{"28":1}}],["fio",{"2":{"47":1}}],["filter",{"2":{"37":2}}],["filenames",{"0":{"92":1}}],["filename",{"2":{"41":1}}],["file",{"0":{"93":1},"2":{"27":1,"37":2,"40":2,"41":1,"92":1,"93":1,"96":1}}],["ficará",{"2":{"25":1,"26":1}}],["fish",{"2":{"19":19,"41":1,"50":16,"68":1,"75":2}}],["first",{"0":{"12":1}}],["fix",{"2":{"4":4}}],["fonte",{"2":{"40":2,"59":1,"81":1,"82":3,"84":3,"85":1}}],["foox",{"2":{"90":1}}],["foo",{"2":{"11":2,"59":2,"90":4,"96":11,"97":2}}],["foco",{"2":{"8":1}}],["foi",{"2":{"8":1,"19":1,"28":1,"32":1,"36":1,"47":1,"82":2,"94":2,"95":1}}],["forma",{"2":{"98":1}}],["formate",{"2":{"8":1}}],["formato",{"2":{"4":5,"9":1,"39":1,"64":1,"87":3}}],["format",{"2":{"2":1,"8":1}}],["formatado",{"2":{"40":1}}],["formatador",{"2":{"1":1}}],["formatar",{"2":{"2":1}}],["forem",{"2":{"87":1}}],["forneça",{"2":{"87":1}}],["fornecidos",{"2":{"68":1}}],["fornecido",{"2":{"68":1,"75":2}}],["fornece",{"2":{"96":1,"99":1}}],["fornecendo",{"2":{"96":1}}],["fornecem",{"2":{"48":1}}],["fornecer",{"2":{"5":1,"41":1,"96":2,"101":1}}],["force",{"2":{"50":5}}],["forçará",{"2":{"47":1}}],["foram",{"2":{"10":1,"30":1}}],["fora",{"2":{"8":1,"83":1}}],["fortemente",{"2":{"3":1}}],["for",{"2":{"2":1,"4":1,"12":1,"15":1,"24":1,"37":7,"40":1,"70":2,"72":1,"84":1,"85":2,"88":1,"93":1,"94":1,"97":1,"98":2,"100":1}}],["fork",{"2":{"1":2,"7":2}}],["febre",{"2":{"76":1}}],["feitas",{"2":{"56":1}}],["feito",{"2":{"36":1}}],["fetch",{"2":{"49":1}}],["feature",{"2":{"4":2}}],["feat",{"2":{"4":4}}],["ferramenta",{"2":{"1":1,"4":1,"7":1,"14":2,"23":1,"24":3,"27":1,"28":1,"30":2,"32":1,"35":2,"36":3,"39":5,"47":1,"56":1,"64":1,"65":2,"74":1,"80":2,"85":3,"87":4,"88":1,"90":1,"91":1,"98":2}}],["ferramentas",{"2":{"1":4,"5":1,"7":1,"24":2,"25":1,"28":1,"29":3,"30":1,"32":3,"35":1,"36":1,"39":1,"41":1,"47":1,"48":1,"51":2,"96":1}}],["facilmente",{"2":{"102":2}}],["facilitar",{"2":{"42":1,"102":1}}],["farão",{"2":{"39":1}}],["fará",{"2":{"19":1,"40":3,"84":1}}],["faz",{"2":{"35":2,"39":1}}],["fazer",{"2":{"2":1,"46":1,"80":1,"101":1}}],["falhar",{"2":{"84":2,"85":1,"101":1}}],["falharão",{"2":{"24":1}}],["faltante",{"2":{"34":1}}],["falta",{"2":{"24":1}}],["familiaridade",{"2":{"36":1}}],["familiar",{"2":{"19":1}}],["faça",{"2":{"9":1}}],["favor",{"2":{"2":1,"9":1,"97":1}}],["v",{"2":{"83":1}}],["válido",{"2":{"41":1}}],["várias",{"2":{"39":1}}],["v1",{"2":{"39":1,"99":1}}],["vêm",{"2":{"25":1}}],["valor",{"2":{"41":1,"87":1}}],["vamos",{"2":{"20":1,"23":1}}],["variavéis",{"0":{"82":1},"1":{"83":1,"84":1,"85":1}}],["variáveis",{"0":{"41":1},"2":{"29":1,"33":2,"38":1,"69":1,"82":2,"87":2}}],["variável",{"0":{"45":1},"2":{"2":1,"19":2,"64":2,"84":1,"85":1,"100":1,"101":1}}],["vars",{"2":{"80":1,"82":1}}],["varredura",{"2":{"24":1}}],["var",{"2":{"19":3,"50":3}}],["voltado",{"2":{"19":2}}],["você",{"2":{"1":2,"2":3,"3":1,"5":1,"14":2,"19":8,"24":2,"25":1,"28":2,"29":1,"30":1,"36":1,"41":4,"49":1,"55":1,"59":2,"64":2,"69":1,"74":1,"75":1,"80":1,"83":1,"85":1,"87":1,"98":2,"100":2,"102":1}}],["v0",{"2":{"17":1}}],["vídeo",{"2":{"14":1}}],["vinculada",{"2":{"73":1}}],["vinda",{"2":{"12":1}}],["vic",{"2":{"52":1,"77":1}}],["via",{"2":{"47":1,"49":1,"52":1,"57":1}}],["visa",{"2":{"35":1}}],["vida",{"2":{"12":1,"47":1}}],["vivendo",{"2":{"10":1}}],["v2",{"2":{"8":1}}],["vuepress",{"0":{"10":1},"2":{"8":1,"10":4,"11":3}}],["v8",{"2":{"7":1}}],["vm",{"2":{"1":1,"7":2,"17":1,"18":2,"19":9,"22":1,"37":2,"41":1,"50":7,"53":1,"87":1,"98":1,"99":2,"100":1,"102":1}}],["veggies",{"2":{"88":2}}],["vem",{"2":{"48":1}}],["vez",{"2":{"40":1,"85":1,"87":1,"97":1}}],["vezes",{"2":{"3":1,"40":1,"83":1}}],["verifique",{"2":{"69":1,"85":1,"98":1}}],["verificado",{"2":{"98":1}}],["verifica",{"2":{"85":1}}],["verificar",{"0":{"66":1},"2":{"100":1}}],["verificará",{"2":{"40":1}}],["verificação",{"2":{"24":1,"40":1}}],["verdadeiramente",{"2":{"35":1}}],["ver",{"2":{"13":1,"23":1,"28":1}}],["version=1",{"2":{"64":1}}],["versionamento",{"0":{"48":1},"2":{"80":1}}],["version`",{"2":{"37":1}}],["version>",{"2":{"37":13,"47":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":8,"67":1,"98":1}}],["version",{"2":{"27":3,"37":23,"40":3,"47":2,"64":2,"82":3,"87":1,"92":2,"98":4,"99":1,"100":2}}],["versions",{"0":{"39":1},"2":{"1":1,"7":1,"14":1,"24":1,"25":2,"26":2,"29":1,"30":1,"37":10,"38":1,"39":9,"41":3,"48":4,"50":14,"64":4,"66":3,"68":1}}],["versão",{"0":{"23":1,"24":1,"27":1,"59":1,"60":1,"63":1,"64":1,"65":1,"66":1,"67":1},"1":{"25":1,"26":1,"27":1},"2":{"4":2,"7":1,"14":3,"23":3,"24":2,"25":1,"27":2,"29":3,"30":2,"32":1,"36":1,"39":4,"40":3,"44":1,"47":1,"60":1,"63":1,"64":8,"65":3,"68":2,"81":2,"82":1,"83":2,"84":1,"85":5,"88":1,"90":1,"91":1,"93":1,"98":1}}],["versões",{"0":{"25":1,"26":1,"58":1,"61":1,"62":1},"1":{"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1},"2":{"1":1,"23":3,"24":1,"25":1,"26":1,"28":2,"29":1,"32":1,"35":1,"36":1,"39":3,"41":1,"48":2,"55":1,"56":1,"61":1,"62":1,"65":1,"81":1,"83":7}}],["veja",{"2":{"10":1,"12":1,"19":2,"27":1,"33":1,"34":1,"35":1,"51":1,"54":1,"64":1,"74":1,"78":1,"94":1,"95":1}}],["ve",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["bom",{"2":{"96":1}}],["bottom",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"75":1,"79":1}}],["bibliotecas",{"2":{"96":1}}],["bit",{"2":{"96":1}}],["bits",{"2":{"96":1}}],["binário",{"2":{"40":2,"81":1,"82":2,"84":3}}],["binários",{"2":{"39":2,"89":1}}],["bin",{"0":{"83":1,"84":1,"85":1,"87":1,"88":2,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1},"2":{"2":1,"68":1,"81":3,"82":5,"84":1,"85":5,"87":5,"88":2,"90":4,"101":1}}],["by",{"2":{"12":1,"37":1,"66":3}}],["buscar",{"2":{"55":1}}],["bug",{"2":{"46":1}}],["bugs",{"2":{"2":1}}],["build",{"2":{"4":1,"100":1}}],["before",{"2":{"100":1}}],["begins",{"2":{"37":1}}],["being",{"2":{"37":2}}],["bem",{"2":{"12":1,"32":1,"40":1,"84":1,"85":2}}],["be",{"2":{"3":2,"15":1}}],["baz`",{"2":{"96":1}}],["baz",{"2":{"96":1}}],["bar`",{"2":{"96":1}}],["bar",{"2":{"96":1}}],["barra",{"2":{"11":2}}],["bat",{"2":{"96":6}}],["bats",{"0":{"3":1},"2":{"1":3,"2":3,"3":8}}],["baixar",{"2":{"84":1}}],["baixado",{"2":{"40":2,"82":2,"84":1,"85":1}}],["baixe",{"2":{"81":1,"85":1}}],["bastante",{"2":{"42":1}}],["basicamente",{"2":{"8":1}}],["baseado",{"2":{"43":1}}],["baseada",{"2":{"27":1}}],["base",{"2":{"5":1,"33":1}}],["bash`",{"2":{"96":3}}],["bashasdf",{"2":{"56":1}}],["bashrc",{"2":{"19":6,"50":3}}],["bash",{"2":{"1":3,"2":3,"19":19,"50":14,"75":1,"96":9,"97":1}}],["brew",{"2":{"15":1,"18":1,"19":12,"21":1,"49":2,"50":6}}],["breaking",{"2":{"4":1}}],["brazilian",{"2":{"11":1}}],["branch",{"2":{"1":1,"7":1,"17":1,"37":3,"39":1,"55":1,"59":1,"82":1,"98":2}}],["br",{"2":{"11":6}}],["bruta",{"2":{"1":1}}],["c",{"2":{"100":1}}],["certifique",{"2":{"96":1,"101":1}}],["cmd=",{"2":{"101":2}}],["cmd",{"2":{"96":1}}],["cd",{"2":{"18":1}}],["curto",{"2":{"87":1,"102":1}}],["curtos",{"2":{"54":1}}],["currently",{"2":{"37":1}}],["current",{"2":{"24":1,"37":7,"66":4,"68":1}}],["curl",{"2":{"15":7,"21":1,"101":1}}],["customizada",{"2":{"19":2}}],["cubra",{"2":{"2":1}}],["calço",{"2":{"97":1}}],["calços",{"0":{"97":1},"2":{"47":1,"97":1}}],["call",{"2":{"90":1}}],["callback",{"2":{"68":1}}],["candidates",{"2":{"40":1}}],["caso",{"2":{"40":1,"50":2,"73":1,"74":1,"82":2,"83":1,"87":1,"90":1,"101":1}}],["camando",{"2":{"39":2}}],["caminhos",{"2":{"2":1,"88":2}}],["caminho",{"2":{"2":2,"68":2,"82":2,"84":1,"85":1,"88":1,"90":4,"93":1,"94":1,"95":1,"96":1,"100":2}}],["cat",{"2":{"93":1}}],["categorias",{"2":{"28":1}}],["catalina",{"2":{"19":2,"50":1}}],["cada",{"2":{"11":1,"12":1,"14":1,"21":1,"27":1,"28":1,"29":1,"30":1,"32":1,"35":1,"50":1,"68":1,"83":1,"87":1}}],["capturadas",{"2":{"11":1}}],["classificação",{"2":{"83":1}}],["classificar",{"2":{"83":2}}],["classe",{"2":{"11":1}}],["cli",{"0":{"96":1},"2":{"47":1}}],["clonou",{"2":{"2":1}}],["clone",{"2":{"1":5,"7":5,"17":1,"18":1,"100":1}}],["créditos",{"0":{"76":1},"1":{"77":1,"78":1}}],["crie",{"2":{"64":1,"101":1}}],["criou",{"2":{"12":1}}],["criando",{"2":{"51":1}}],["criam",{"2":{"32":1}}],["criados",{"2":{"30":1,"47":1,"74":1}}],["criado",{"2":{"7":1,"32":1,"68":1}}],["criará",{"2":{"85":1,"88":1}}],["criar",{"0":{"79":1},"1":{"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"2":1,"9":1,"36":1,"74":2,"88":1,"96":1}}],["create",{"2":{"4":3}}],["check",{"2":{"40":1,"57":1}}],["checar",{"2":{"21":1}}],["chrome",{"2":{"7":1}}],["chore",{"2":{"4":1}}],["chamado",{"2":{"19":1,"96":1,"97":1}}],["chamados",{"2":{"19":1}}],["chamadas",{"2":{"68":1}}],["chamada",{"2":{"4":1,"19":2,"85":1,"87":5,"101":1}}],["chaves",{"2":{"11":1}}],["change",{"2":{"4":2}}],["changelog",{"2":{"4":1}}],["ciclo",{"2":{"47":1}}],["ci",{"2":{"4":1,"98":2,"101":1}}],["código",{"2":{"2":2,"8":1,"40":2,"59":1,"81":1,"82":3,"84":3,"85":1,"101":1}}],["copiará",{"2":{"97":1}}],["copyright",{"2":{"76":1}}],["coberta",{"2":{"87":1}}],["coisa",{"2":{"80":1}}],["cool",{"2":{"66":1}}],["costumizado",{"2":{"39":1}}],["colocar",{"2":{"84":1,"85":1}}],["colocado",{"2":{"19":1,"84":2}}],["coleção",{"2":{"35":1}}],["collaborative",{"2":{"12":1,"70":1}}],["codespaces",{"2":{"70":1}}],["code",{"2":{"8":1,"70":1}}],["corrigir",{"2":{"96":1}}],["correta",{"2":{"83":1}}],["corretamente",{"2":{"72":1,"73":1,"98":1}}],["correções",{"2":{"2":1,"41":1}}],["coreutils",{"2":{"15":2}}],["core",{"0":{"42":1},"1":{"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1},"2":{"1":1,"2":1,"3":2,"12":1,"19":3,"70":2,"74":1}}],["comuns",{"2":{"71":1}}],["comunidade",{"2":{"12":1}}],["começa",{"2":{"68":1}}],["começando",{"0":{"14":1},"1":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1}}],["comando",{"2":{"19":13,"23":1,"25":1,"28":1,"35":1,"37":1,"40":2,"44":1,"46":1,"48":1,"49":1,"50":18,"64":1,"74":1,"83":1,"96":3,"98":2,"102":1}}],["comandos",{"0":{"96":1},"2":{"2":1,"28":1,"32":1,"37":1,"42":1,"57":1,"68":1,"80":1,"85":1,"96":2}}],["combinações",{"2":{"19":1}}],["complementos",{"2":{"50":9}}],["completo",{"2":{"96":1}}],["completer~",{"2":{"19":3,"50":3}}],["completer",{"2":{"19":3,"50":3}}],["completion",{"2":{"19":6,"50":5}}],["completions",{"2":{"19":8,"50":4}}],["completar",{"2":{"19":15}}],["completa",{"2":{"4":1}}],["compilar",{"2":{"82":1,"87":1}}],["compilada",{"2":{"39":1}}],["compilação",{"2":{"39":1,"59":1,"85":1,"101":1}}],["compi",{"2":{"39":1}}],["compinit",{"2":{"19":7,"50":2}}],["comportamento",{"2":{"33":1}}],["competir",{"2":{"32":1}}],["compactado",{"2":{"84":1}}],["compartilhe",{"2":{"46":1}}],["compartilháveis",{"2":{"38":1}}],["compartilhar",{"2":{"29":1}}],["compatíveis",{"2":{"1":1}}],["community",{"0":{"18":1,"70":1},"2":{"12":2,"70":3}}],["commit",{"2":{"4":1,"9":1,"37":2,"39":1,"49":1,"55":1,"59":1,"82":1,"98":1}}],["commits",{"0":{"4":1,"9":1},"2":{"9":1}}],["command>",{"2":{"37":4,"44":1,"45":1,"48":1,"90":1}}],["commands",{"0":{"37":1},"2":{"2":1,"15":1,"96":7}}],["command",{"2":{"2":1,"15":1,"18":1,"37":3,"96":10,"98":1,"99":1}}],["como",{"2":{"3":1,"5":1,"19":2,"32":1,"40":5,"47":3,"48":1,"51":1,"56":1,"68":3,"83":2,"87":1,"93":1,"96":3,"97":1,"101":2}}],["com",{"2":{"1":9,"3":2,"4":1,"7":6,"8":3,"9":1,"10":2,"11":2,"17":1,"19":3,"22":1,"23":1,"25":1,"29":2,"32":1,"33":2,"36":2,"37":2,"38":1,"39":2,"40":3,"48":2,"50":6,"51":1,"52":1,"53":2,"56":1,"57":1,"60":1,"61":1,"62":1,"63":1,"65":1,"68":1,"80":1,"83":1,"84":2,"85":4,"88":1,"90":1,"92":1,"97":1,"98":2,"100":2,"101":1,"102":1}}],["condicionalmente",{"2":{"90":1}}],["concurrency",{"2":{"82":1}}],["concluir",{"2":{"19":6}}],["conforme",{"2":{"41":1,"65":1}}],["confiar",{"2":{"83":1}}],["configure",{"2":{"89":1}}],["configurada",{"2":{"30":1}}],["configurado",{"2":{"19":11}}],["configurar",{"2":{"20":1,"30":1,"80":1}}],["configuration",{"0":{"38":1},"1":{"39":1,"40":1,"41":1},"2":{"15":1}}],["configurações",{"2":{"10":1,"11":2,"35":1,"39":1,"40":2,"50":11,"101":1}}],["configuração",{"0":{"1":1,"7":1,"43":1,"100":1},"2":{"8":1,"10":5,"11":2,"14":1,"19":3,"27":3,"28":1,"29":2,"32":1,"36":1,"38":1,"50":6,"57":1,"64":1,"73":1,"75":1,"87":1}}],["config",{"2":{"10":1,"11":2,"19":38,"41":1,"50":13,"75":1,"87":1}}],["confirmação",{"2":{"4":4}}],["confirmar",{"2":{"2":1,"8":1}}],["conversas",{"2":{"13":1}}],["convencional",{"2":{"4":2,"9":1}}],["convencionais",{"0":{"4":1,"9":1},"2":{"4":1,"9":1}}],["considerados",{"2":{"98":1}}],["consideradas",{"2":{"85":1}}],["considerar",{"2":{"85":1}}],["consigo",{"2":{"74":1}}],["conseguir",{"2":{"19":1}}],["construir",{"2":{"8":1,"35":1}}],["consulte",{"2":{"2":1,"12":1,"13":1}}],["contêm",{"2":{"88":1}}],["container",{"2":{"70":2}}],["contido",{"2":{"68":1,"84":1}}],["contidas",{"2":{"29":1}}],["contida",{"2":{"10":1}}],["contendo",{"2":{"35":1}}],["conteúdo",{"2":{"11":1}}],["contém",{"2":{"8":1,"98":1}}],["contínuo",{"2":{"5":1}}],["contrário",{"2":{"82":1,"90":1,"101":1}}],["contribuidores",{"0":{"78":1},"2":{"78":1}}],["contribuição",{"2":{"0":1,"6":1,"9":1,"13":1}}],["controle",{"2":{"2":1}}],["conjunto",{"2":{"3":1,"8":1,"11":1,"73":1,"87":1}}],["eventualmente",{"2":{"84":1}}],["eu",{"2":{"76":1}}],["either",{"2":{"65":1}}],["etapas",{"2":{"49":1}}],["etc",{"0":{"32":1},"2":{"19":3,"50":2,"51":1,"68":1,"75":2}}],["efeito",{"2":{"19":1}}],["echo",{"2":{"19":7}}],["erro",{"2":{"24":1}}],["erlang",{"2":{"12":1,"52":1,"55":1,"56":1,"59":1,"60":2,"61":2,"62":2,"63":2,"66":2,"67":1}}],["era",{"2":{"8":1}}],["ela",{"2":{"101":1}}],["elas",{"2":{"21":1}}],["elm",{"2":{"52":2}}],["else",{"2":{"50":2}}],["ele",{"2":{"39":1,"40":3,"47":1,"52":1,"75":1,"98":1}}],["eles",{"2":{"10":1,"28":2,"87":1,"88":1,"96":2}}],["elimina",{"2":{"32":1}}],["elixir",{"2":{"12":1,"39":1,"51":1,"64":4,"97":2}}],["elv",{"2":{"19":18,"50":6}}],["elvish",{"2":{"19":18,"41":1,"50":9}}],["equipes",{"2":{"36":1}}],["equipe",{"2":{"12":1}}],["esses",{"2":{"80":1}}],["esse",{"2":{"40":1,"41":1,"49":1,"50":1,"57":1,"68":1,"73":1,"87":1,"96":1,"97":1}}],["essa",{"2":{"27":2,"85":2,"98":1}}],["essas",{"2":{"4":1,"5":1,"10":1,"32":1,"82":2}}],["esperam",{"2":{"96":1}}],["específico",{"2":{"55":1}}],["específicas",{"2":{"38":1}}],["específica",{"2":{"23":1,"64":1,"91":1,"98":1}}],["especificando",{"2":{"102":1}}],["especificado",{"2":{"68":1,"88":1,"90":2,"98":2}}],["especificadas",{"2":{"40":1}}],["especificada",{"2":{"24":1,"39":1,"81":2,"88":1,"90":1}}],["especifica",{"2":{"59":1}}],["especificar",{"2":{"59":1}}],["especificações",{"2":{"10":1}}],["especial",{"2":{"3":1,"87":1}}],["espaços",{"2":{"88":1,"92":1}}],["espaço",{"2":{"39":1,"83":1}}],["escolhida",{"2":{"73":1}}],["escolhido",{"2":{"8":1}}],["escolha",{"2":{"34":1,"83":1}}],["escreve",{"2":{"64":2}}],["escrever",{"2":{"3":1,"8":1}}],["escritas",{"2":{"32":1}}],["esforço",{"2":{"5":1}}],["estiverem",{"2":{"83":1}}],["estiver",{"2":{"19":2,"26":1,"39":1,"41":1,"73":1,"84":2,"85":3,"96":1}}],["esta",{"2":{"19":2,"30":1,"32":1,"36":1,"37":1,"55":1,"83":1,"87":1}}],["estarão",{"2":{"82":2}}],["estar",{"2":{"11":1,"39":1,"75":1,"87":5}}],["estejam",{"2":{"29":1}}],["esteja",{"2":{"19":2,"50":2,"87":1}}],["este",{"2":{"4":2,"47":1,"50":6,"68":1,"82":1,"84":4,"85":1,"87":4,"88":1,"92":1,"97":1}}],["estável",{"0":{"60":1,"63":1},"2":{"60":1,"63":1}}],["estática",{"2":{"1":1}}],["está",{"0":{"74":1},"2":{"1":1,"3":1,"4":1,"9":1,"10":1,"19":4,"30":1,"68":1,"75":1,"84":1,"85":1,"87":1,"96":1,"97":1,"100":1}}],["estão",{"2":{"1":1,"10":1,"21":1,"28":1,"29":1,"55":1,"71":1,"83":1,"87":1}}],["extensões",{"2":{"96":1}}],["extensão",{"0":{"96":1},"2":{"96":2}}],["extraídas",{"2":{"83":1}}],["extraídos",{"2":{"10":1}}],["exceto",{"2":{"82":1}}],["excluído",{"2":{"40":1}}],["exatamente",{"2":{"29":1,"36":1}}],["exatas",{"2":{"23":1,"35":1}}],["example",{"2":{"90":1}}],["examples",{"2":{"4":1}}],["examinar",{"2":{"3":1}}],["expanda",{"2":{"19":1}}],["exportadas",{"2":{"11":1}}],["exhaustive",{"2":{"15":1}}],["exibida",{"2":{"87":1}}],["existência",{"2":{"85":1}}],["existe",{"2":{"33":1,"47":1}}],["existem",{"2":{"19":1}}],["existentes",{"0":{"27":1},"2":{"13":1,"33":1}}],["existente",{"2":{"3":1}}],["exige",{"2":{"23":1}}],["exigem",{"2":{"21":1}}],["exigirá",{"2":{"11":1,"74":1}}],["exectable",{"0":{"74":1}}],["exec",{"0":{"89":1,"90":1},"2":{"37":1,"44":1,"68":5,"90":2}}],["execution",{"2":{"37":1}}],["executes",{"2":{"37":1}}],["execute",{"0":{"44":1},"2":{"26":1,"30":1,"39":2,"50":14}}],["executável",{"2":{"47":1,"68":1,"90":3,"96":2,"97":3}}],["executáveis",{"2":{"30":2,"32":1,"47":2,"48":1,"74":2,"80":1,"88":2,"96":3}}],["executá",{"2":{"24":1}}],["executavél",{"2":{"68":1}}],["executam",{"2":{"68":1}}],["executable",{"2":{"37":1,"90":1}}],["executados",{"2":{"80":2,"85":1,"96":1}}],["executado",{"2":{"30":1,"40":1,"68":3,"98":1,"100":1}}],["executadas",{"2":{"24":1}}],["executa",{"2":{"24":2,"44":1,"64":1}}],["executar",{"2":{"5":1,"64":1,"73":1,"74":1,"89":1,"94":1,"95":1,"96":1,"98":1}}],["execução",{"2":{"3":1,"7":1,"23":1,"68":2,"96":1}}],["exemplo",{"0":{"99":1,"100":1},"2":{"3":1,"21":1,"25":1,"27":1,"29":1,"39":1,"40":1,"41":1,"47":1,"48":1,"64":1,"83":1,"87":1,"88":1,"96":2,"98":1,"100":1,"102":2}}],["encontrar",{"2":{"96":1}}],["encontrado",{"2":{"93":1}}],["encontrada",{"2":{"9":1}}],["enquanto",{"2":{"74":1,"97":1}}],["enviando",{"0":{"102":1}}],["enviar",{"2":{"2":1}}],["environment",{"2":{"37":1}}],["env",{"0":{"89":1},"2":{"37":1,"45":1,"68":1,"80":1,"82":1,"89":1,"99":1}}],["envolve",{"2":{"14":1}}],["entretanto",{"2":{"33":1}}],["entrar",{"2":{"69":1}}],["entra",{"2":{"11":1}}],["então",{"2":{"1":1,"24":1,"75":1,"82":1}}],["en",{"2":{"11":2}}],["english",{"2":{"11":1}}],["embutido",{"2":{"49":1}}],["em",{"0":{"80":1},"2":{"1":2,"2":1,"3":1,"7":1,"8":1,"9":1,"10":2,"11":3,"19":1,"24":2,"25":1,"28":1,"32":1,"37":1,"39":5,"40":1,"41":1,"50":17,"57":3,"64":3,"65":1,"68":4,"78":1,"83":3,"85":3,"88":2,"92":1,"94":1,"95":1,"97":1,"98":2,"101":2}}],["e",{"0":{"4":1,"9":1,"43":1},"2":{"1":2,"2":4,"3":1,"4":1,"5":1,"6":1,"7":1,"10":2,"11":2,"12":1,"13":1,"14":1,"19":13,"20":1,"24":1,"25":1,"29":3,"30":2,"32":3,"34":1,"35":4,"36":2,"38":1,"39":6,"40":1,"41":2,"46":1,"48":2,"49":1,"50":12,"55":1,"57":1,"59":2,"68":4,"73":2,"75":1,"76":1,"80":1,"84":3,"85":4,"87":5,"88":2,"94":1,"96":1,"98":2,"101":1,"102":1}}],["edite",{"2":{"39":1}}],["edit",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"19":3,"29":1,"37":1,"38":1,"42":1,"50":3,"51":1,"58":1,"79":1}}],["g",{"2":{"47":1,"74":1}}],["given",{"2":{"37":1}}],["gitref",{"2":{"98":1}}],["git",{"2":{"1":8,"7":5,"15":7,"17":1,"18":3,"19":8,"22":1,"26":1,"29":1,"37":6,"49":2,"50":5,"52":3,"53":2,"80":1,"82":1,"98":3,"100":2,"102":1}}],["github",{"0":{"13":1,"99":1,"101":1},"2":{"1":7,"4":1,"7":5,"12":1,"17":1,"22":1,"37":2,"39":1,"52":1,"53":2,"70":2,"73":1,"78":1,"98":1,"99":4,"100":1,"101":2,"102":1}}],["grande",{"2":{"32":1}}],["guiá",{"2":{"25":1}}],["guia",{"2":{"0":1,"6":1,"9":1,"43":1,"50":2}}],["globais",{"0":{"25":1},"2":{"25":1,"39":1}}],["global",{"2":{"14":1,"25":2,"37":4,"39":1,"47":1,"64":5,"65":2,"68":1}}],["ganchos",{"2":{"94":1,"95":1}}],["garante",{"2":{"36":1}}],["garantir",{"2":{"29":1,"98":1}}],["garanta",{"2":{"19":2}}],["gawk",{"2":{"21":2}}],["gpg",{"2":{"21":2}}],["gostaria",{"2":{"14":1}}],["gostaríamos",{"2":{"8":1}}],["get",{"2":{"21":1,"87":1}}],["generator",{"2":{"8":1}}],["gerência",{"2":{"35":1}}],["gerais",{"2":{"87":1}}],["geral",{"2":{"87":1}}],["geralmente",{"2":{"26":1}}],["gerar",{"2":{"4":1,"87":4}}],["gerenciamento",{"2":{"25":1,"32":1,"35":1}}],["gerenciada",{"2":{"39":1,"74":1,"87":1}}],["gerenciadas",{"2":{"7":1,"25":1}}],["gerenciador",{"2":{"29":1,"32":1,"34":3,"35":1,"36":1,"50":9,"65":1}}],["gerenciadores",{"2":{"27":1,"29":1,"40":1}}],["gerenciados",{"2":{"25":1}}],["gerencia",{"2":{"24":1,"33":1,"34":2,"35":1}}],["gerenciar",{"2":{"1":2,"14":1,"28":1,"30":1,"36":1,"74":1}}],["gt",{"2":{"3":1,"4":2,"9":1,"40":1,"47":2,"50":2,"57":1,"65":1,"87":3,"88":3,"98":1}}],["número",{"2":{"82":2}}],["núcleos",{"2":{"82":1}}],["núcleo",{"2":{"1":1,"14":1,"28":1,"42":1}}],["npm",{"2":{"47":2,"48":2,"74":1}}],["nix",{"2":{"35":1}}],["nixos",{"0":{"35":1},"2":{"35":3}}],["nvm",{"0":{"32":1},"2":{"32":1}}],["nvmrc",{"2":{"27":1}}],["nós",{"2":{"23":1}}],["n$env",{"2":{"19":3}}],["nunca",{"2":{"101":1}}],["nu",{"2":{"19":9}}],["nushell",{"2":{"19":6}}],["nsource",{"2":{"19":1}}],["nas",{"2":{"73":1,"101":1}}],["name>",{"2":{"37":19,"47":1,"52":2,"55":1,"56":1,"59":1,"60":2,"61":2,"62":2,"63":2,"64":5,"65":1,"66":1,"67":1,"98":1}}],["name",{"2":{"12":1,"37":1,"57":1,"65":1,"94":2,"95":2,"98":1,"99":1}}],["navegação",{"2":{"11":1}}],["navbar",{"2":{"10":2,"11":5}}],["na",{"2":{"4":1,"9":1,"10":1,"11":1,"12":1,"19":1,"23":2,"36":1,"39":1,"41":1,"55":1,"64":3,"65":1,"83":2,"84":1,"87":1}}],["n",{"0":{"32":1},"2":{"3":2,"19":16,"32":1,"101":1}}],["neko",{"2":{"96":1}}],["nem",{"2":{"87":1}}],["nenhum",{"2":{"84":1,"87":1}}],["nenhuma",{"2":{"57":1,"87":1}}],["nesse",{"2":{"39":1,"83":1,"98":1}}],["neste",{"2":{"32":1,"74":1}}],["nested",{"2":{"11":2}}],["necessária",{"2":{"80":1}}],["necessário",{"2":{"19":1,"64":1,"97":1}}],["necessários",{"2":{"2":1,"8":1,"87":1,"98":1}}],["necessidades",{"2":{"100":1}}],["necessidade",{"2":{"32":1,"74":1}}],["necessitava",{"2":{"29":1}}],["nexport",{"2":{"19":1}}],["new",{"2":{"0":1,"4":4,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["não",{"0":{"74":1,"75":1},"2":{"1":1,"8":2,"19":3,"24":1,"25":1,"33":1,"34":2,"35":3,"36":2,"39":1,"41":1,"47":2,"50":1,"56":1,"57":1,"72":3,"73":2,"74":1,"75":2,"83":3,"84":1,"85":2,"87":3,"88":1,"93":1,"96":1}}],["normalmente",{"2":{"41":1,"98":1}}],["novas",{"2":{"96":1}}],["novamente",{"2":{"35":1}}],["nova",{"2":{"19":1}}],["novo",{"2":{"19":2,"49":1,"101":1}}],["novos",{"2":{"2":2,"47":1,"96":1}}],["non",{"2":{"15":1}}],["nomes",{"0":{"54":1},"2":{"41":1,"54":1,"92":1}}],["nome",{"0":{"57":1},"2":{"11":1,"40":1,"41":2,"52":2,"57":1,"59":1,"68":1,"96":1}}],["nosso",{"2":{"49":1}}],["nos",{"2":{"11":1,"57":1}}],["node",{"2":{"7":2,"12":1,"20":1,"23":1,"27":1,"48":3,"51":1,"66":1,"98":1,"100":2}}],["nodejs",{"2":{"7":2,"20":1,"21":1,"22":2,"23":3,"25":2,"26":2,"27":1,"28":1,"39":1,"47":2,"48":7,"53":3,"66":1,"98":3,"100":2}}],["notifique",{"2":{"74":1}}],["notas",{"2":{"100":1}}],["nota",{"2":{"23":1,"36":1,"92":1}}],["note",{"2":{"15":1,"70":1}}],["not",{"2":{"3":1,"70":2}}],["no",{"0":{"54":1,"57":1},"2":{"1":1,"3":1,"7":2,"9":2,"11":1,"21":1,"24":2,"26":2,"27":1,"29":2,"30":2,"33":1,"39":7,"40":6,"43":1,"55":1,"59":1,"68":10,"69":1,"73":1,"75":1,"78":1,"82":2,"83":1,"84":4,"85":4,"87":2,"89":1,"96":1,"97":2,"98":3,"99":1,"100":1,"102":1}}],["ic",{"2":{"100":1}}],["idealmente",{"2":{"87":1}}],["identifique",{"2":{"30":1}}],["ignorar",{"2":{"69":1}}],["ignorando",{"0":{"69":1}}],["ignore",{"2":{"41":1}}],["irá",{"2":{"19":2,"25":1,"55":1,"56":1,"93":1}}],["isntalar",{"2":{"39":1}}],["is",{"2":{"15":1}}],["isso",{"2":{"3":1,"4":1,"8":2,"11":1,"21":1,"35":1,"41":2,"46":1,"47":1,"56":1,"83":1,"85":1,"88":1,"90":1,"92":1,"93":1,"94":1,"95":1,"97":1,"101":1}}],["i18n",{"0":{"11":1},"2":{"11":1}}],["impossível",{"2":{"97":1}}],["importante",{"2":{"73":1}}],["importa",{"2":{"50":3}}],["implementado",{"2":{"93":1}}],["impresso",{"2":{"87":1}}],["imprimem",{"2":{"87":1}}],["imprime",{"2":{"83":1}}],["imprimirá",{"2":{"87":1}}],["imprimir",{"2":{"46":1,"83":1,"87":1,"88":1,"90":1,"92":1}}],["imprimindo",{"2":{"3":1}}],["imprima",{"2":{"3":1}}],["impactar",{"2":{"19":1}}],["imagens",{"0":{"5":1},"2":{"5":2}}],["início",{"2":{"85":1}}],["invocados",{"2":{"96":1}}],["inversa",{"2":{"83":1}}],["invés",{"2":{"68":1}}],["index",{"2":{"54":1}}],["independente",{"2":{"52":1}}],["individualmente",{"2":{"11":1}}],["indicar",{"2":{"25":1}}],["indica",{"2":{"4":1}}],["informação",{"2":{"87":1}}],["informações",{"0":{"46":1},"2":{"4":1,"46":1,"87":2}}],["information",{"2":{"37":1}}],["info",{"2":{"37":1,"46":1}}],["ins",{"0":{"98":1},"1":{"99":1,"100":1},"2":{"40":1,"74":1}}],["inside",{"2":{"37":1}}],["instruirá",{"2":{"88":1}}],["instruções",{"2":{"19":5,"50":2,"73":1,"102":1}}],["instancia",{"2":{"68":1}}],["instalável",{"2":{"102":1}}],["instaláveis",{"2":{"81":1}}],["instalou",{"2":{"49":1}}],["instalações",{"2":{"41":1,"56":1}}],["instalação",{"0":{"43":1},"2":{"14":2,"19":4,"21":2,"23":1,"40":1,"47":2,"49":1,"74":1,"85":7,"88":2,"94":1}}],["instala",{"2":{"41":1,"68":1,"81":1}}],["instaladas",{"0":{"61":1},"2":{"48":1}}],["instalada",{"2":{"30":1,"39":1,"85":2,"98":2}}],["instalados",{"0":{"53":1,"75":1},"2":{"30":2,"32":1,"74":1,"87":1}}],["instalado",{"0":{"74":1},"2":{"2":1,"19":1,"47":1,"68":5,"82":2,"85":1,"94":1,"95":1}}],["instalando",{"0":{"15":1,"20":1,"22":1,"23":1},"1":{"21":1,"22":1},"2":{"41":1,"47":1}}],["instalará",{"2":{"84":1}}],["instalar",{"0":{"59":1,"60":1},"2":{"14":4,"20":1,"21":2,"23":2,"30":1,"39":1,"41":1,"74":1,"85":1,"87":1,"102":1}}],["installs",{"2":{"90":1}}],["installed",{"2":{"37":5}}],["install",{"0":{"85":1},"2":{"1":1,"7":2,"15":6,"18":1,"21":2,"23":1,"37":10,"39":2,"40":2,"47":1,"59":2,"60":4,"80":1,"81":1,"82":6,"84":1,"85":6,"87":2,"88":3,"90":1}}],["instale",{"2":{"1":1,"7":2,"60":1}}],["intruções",{"2":{"50":1}}],["introdução",{"0":{"29":1},"1":{"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1},"2":{"43":1}}],["intenção",{"2":{"72":1}}],["integrar",{"2":{"33":1}}],["interface",{"2":{"29":1,"96":1}}],["interesse",{"2":{"13":1}}],["internacionalização",{"2":{"11":1}}],["interpretador",{"2":{"1":1}}],["into",{"2":{"19":2}}],["inicie",{"2":{"61":1,"62":1,"63":1,"65":1}}],["inicia",{"2":{"60":1}}],["iniciar",{"2":{"8":1}}],["inicial",{"0":{"1":1,"7":1},"2":{"28":1}}],["initialise",{"2":{"19":1}}],["in",{"0":{"79":1,"80":1},"1":{"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1},"2":{"15":1,"37":3,"47":1,"70":1,"87":2,"90":1,"94":1,"95":1,"96":3,"97":1,"98":3,"101":1}}],["incluir",{"2":{"84":1}}],["inclui",{"2":{"1":1,"36":1}}],["if",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":2,"38":1,"42":1,"51":1,"58":1,"79":1,"101":1}}],["publique",{"2":{"101":1}}],["public",{"2":{"101":1}}],["pull",{"0":{"4":1,"9":1},"2":{"2":1,"4":4,"98":1}}],["pós",{"2":{"94":1}}],["pkgbuild",{"2":{"49":1}}],["página",{"2":{"27":1,"83":1}}],["python",{"2":{"25":1,"39":3,"65":1}}],["ps1",{"2":{"19":8}}],["p",{"2":{"19":4}}],["pessoal",{"2":{"101":1}}],["pequena",{"2":{"42":1}}],["pela",{"2":{"19":1}}],["pelos",{"2":{"68":1}}],["pelo",{"2":{"13":1,"19":2,"25":2,"39":1,"52":1,"64":1,"68":4,"82":1,"85":1,"90":1,"93":1}}],["personalize",{"2":{"100":1}}],["personalizados",{"0":{"97":1},"2":{"97":1}}],["personalizado",{"2":{"85":1}}],["personalizada",{"2":{"39":1}}],["personalizações",{"2":{"38":1}}],["perguntas",{"0":{"71":1},"1":{"72":1,"73":1,"74":1,"75":1},"2":{"71":1}}],["período",{"2":{"57":1}}],["periodicamente",{"2":{"57":1}}],["permite",{"2":{"90":1,"97":1}}],["permitem",{"2":{"47":1}}],["permitindo",{"2":{"30":1}}],["permitirá",{"2":{"3":1}}],["perf",{"2":{"4":1}}],["pt",{"2":{"11":6}}],["pipeline",{"2":{"9":1}}],["plug",{"0":{"79":1,"80":1,"98":1},"1":{"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":2,"100":2,"101":1,"102":1},"2":{"40":1,"47":1,"74":1,"87":2,"90":1,"94":1,"95":1,"96":3,"97":1,"98":3,"101":1}}],["plugin",{"0":{"20":1,"22":1,"94":1,"95":1},"1":{"21":1,"22":1},"2":{"1":3,"7":1,"12":1,"14":1,"19":5,"20":1,"21":1,"22":1,"23":1,"27":1,"29":1,"30":1,"33":1,"36":1,"37":12,"40":3,"50":1,"51":1,"52":4,"53":4,"54":1,"55":3,"56":4,"57":3,"59":1,"68":6,"80":1,"85":1,"87":2,"90":1,"92":1,"94":9,"95":8,"96":1,"97":1,"98":10,"99":2,"100":3,"102":7}}],["plugins",{"0":{"12":1,"21":1,"51":1,"102":2},"1":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1},"2":{"1":1,"7":1,"12":6,"21":1,"28":1,"30":1,"32":1,"36":1,"37":6,"39":1,"40":2,"41":1,"47":1,"48":1,"51":2,"52":2,"54":2,"55":1,"70":1,"84":3,"90":1,"96":9,"99":1,"102":5}}],["please",{"2":{"4":1}}],["powershell",{"2":{"19":7}}],["popular",{"2":{"12":1}}],["post",{"0":{"94":1},"2":{"94":2,"95":2}}],["possíveis",{"2":{"87":1}}],["possível",{"2":{"8":1,"36":1,"83":2,"84":1,"85":1,"87":2,"96":1}}],["possibilidade",{"2":{"33":1}}],["possuem",{"2":{"30":1}}],["possui",{"2":{"21":1,"28":1}}],["possa",{"2":{"24":1,"87":1}}],["posix",{"2":{"1":1,"19":3}}],["porque",{"2":{"97":1}}],["portuguese",{"2":{"11":1}}],["por",{"0":{"36":1},"2":{"2":1,"9":1,"10":1,"11":1,"21":2,"25":1,"27":1,"29":1,"30":1,"36":1,"39":3,"40":7,"41":1,"47":4,"50":1,"57":1,"69":1,"74":1,"83":2,"85":1,"87":3,"88":1,"92":1,"96":1,"97":2,"98":1,"100":1,"102":2}}],["pois",{"2":{"1":1,"8":1,"21":1,"52":1,"83":1,"87":2}}],["poderá",{"2":{"83":1,"84":1}}],["podendo",{"2":{"29":1}}],["podemos",{"2":{"23":2,"98":1}}],["podem",{"2":{"19":1,"30":1,"39":3,"72":1,"85":1,"87":1,"96":2,"101":1}}],["pode",{"2":{"1":2,"2":1,"3":1,"5":1,"14":1,"19":4,"28":2,"29":1,"41":4,"42":1,"48":1,"56":1,"57":2,"59":1,"64":1,"68":2,"69":1,"80":1,"82":1,"85":1,"87":3,"93":1,"94":1,"95":1,"98":1,"102":2}}],["pré",{"2":{"95":1}}],["próxima",{"2":{"83":1}}],["própria",{"2":{"35":1,"83":1}}],["próprio",{"2":{"1":1,"25":1,"96":1}}],["pre",{"0":{"95":1},"2":{"94":2,"95":2}}],["presença",{"2":{"85":1}}],["presentes",{"2":{"87":1}}],["presente",{"2":{"24":1,"39":1,"84":2,"87":2}}],["preenchido",{"2":{"85":1}}],["pretendemos",{"2":{"73":1}}],["precisamos",{"2":{"21":1}}],["precisam",{"2":{"19":1,"50":2}}],["precisa",{"2":{"19":1,"25":1,"68":1,"75":1}}],["precisará",{"2":{"59":1,"100":1}}],["precisar",{"2":{"1":1,"19":1,"83":1}}],["prefira",{"2":{"52":1}}],["prefix",{"2":{"19":12,"50":6}}],["preferências",{"2":{"49":1}}],["preferred",{"2":{"18":1}}],["primeiros",{"2":{"98":1}}],["primeiro",{"2":{"21":1,"93":1}}],["primeiras",{"2":{"83":1}}],["primeira",{"2":{"11":1}}],["primarily",{"2":{"15":1}}],["print",{"2":{"37":2}}],["printed",{"2":{"3":2}}],["printf",{"2":{"3":2}}],["principal",{"2":{"0":1,"9":1,"12":1,"87":1}}],["pr",{"2":{"9":3}}],["procurará",{"2":{"88":1}}],["processo",{"2":{"85":1}}],["prompt",{"2":{"83":1}}],["problema",{"2":{"75":1,"96":1}}],["problemas",{"2":{"13":1}}],["programa",{"2":{"68":3}}],["programação",{"2":{"35":1}}],["pronto",{"2":{"50":1}}],["pronta",{"2":{"39":1}}],["provável",{"2":{"75":1}}],["provide",{"2":{"37":1}}],["provided",{"2":{"37":2,"99":1}}],["provê",{"2":{"29":1}}],["provenientes",{"2":{"27":1}}],["profile",{"2":{"19":14,"50":3,"75":1}}],["profissional",{"2":{"12":1}}],["projeto",{"2":{"26":1,"28":1,"29":1,"64":1,"69":1}}],["projetos",{"0":{"31":1},"1":{"32":1,"33":1,"34":1,"35":1},"2":{"5":1,"28":1}}],["projects",{"0":{"70":1},"2":{"70":2}}],["project",{"2":{"12":1,"66":1,"70":1}}],["produção",{"2":{"5":1}}],["padrões",{"2":{"25":1}}],["padrão",{"2":{"1":1,"4":1,"7":1,"10":1,"19":2,"25":1,"40":4,"41":5,"47":1,"50":1,"55":1,"57":1,"68":1,"85":1,"90":1,"97":2,"98":2}}],["palavra",{"2":{"23":1}}],["path>",{"2":{"90":2}}],["paths",{"0":{"88":1},"2":{"85":1}}],["path",{"0":{"90":1},"2":{"19":8,"37":2,"39":3,"68":4,"82":3,"84":3,"85":6,"88":3,"90":2,"94":1,"95":1,"101":1}}],["patch",{"2":{"4":1}}],["pacotes",{"2":{"34":5,"35":5,"36":1,"50":9,"87":1}}],["pacote",{"2":{"19":2,"47":1,"55":1,"68":8,"89":1}}],["pacman",{"2":{"15":2,"18":1,"19":7,"49":1,"50":4}}],["packages",{"2":{"37":3}}],["package",{"2":{"7":1,"8":1,"15":2,"37":15}}],["passar",{"2":{"100":1}}],["passado",{"2":{"82":1,"88":1}}],["passando",{"2":{"68":1}}],["passe",{"2":{"39":1}}],["passos",{"2":{"28":1,"50":1}}],["passo",{"2":{"14":2}}],["pasta",{"2":{"11":1}}],["parse",{"0":{"93":1},"2":{"93":1}}],["parágrafo",{"2":{"87":1}}],["parece",{"2":{"39":1,"73":1}}],["particular",{"2":{"37":1}}],["partir",{"2":{"19":2}}],["party",{"0":{"12":1}}],["para",{"0":{"96":1,"102":1},"2":{"1":5,"2":4,"4":2,"5":3,"7":1,"8":4,"9":1,"10":4,"11":3,"12":3,"13":1,"14":1,"19":26,"20":1,"21":1,"23":1,"24":2,"25":3,"26":1,"27":3,"28":3,"29":2,"30":2,"32":4,"33":2,"34":2,"35":1,"36":4,"39":9,"40":2,"41":5,"44":1,"46":1,"47":4,"48":1,"49":2,"50":15,"51":2,"54":1,"56":1,"64":5,"65":2,"68":3,"69":1,"72":1,"73":2,"74":3,"80":3,"81":1,"82":7,"83":1,"84":2,"85":2,"87":8,"88":3,"89":1,"90":1,"92":1,"93":2,"94":1,"95":1,"96":5,"97":1,"98":4,"99":1,"100":2,"101":3,"102":3}}],["page",{"2":{"0":3,"6":3,"12":3,"13":3,"14":3,"29":3,"37":3,"38":3,"42":3,"51":3,"58":3,"79":3}}],["pages",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["dylibs",{"2":{"96":1}}],["d",{"2":{"19":2,"50":2}}],["dnf",{"2":{"15":2}}],["driven",{"2":{"12":1,"70":1}}],["dar",{"2":{"80":1}}],["danhper",{"2":{"77":1}}],["data",{"2":{"23":1,"41":1,"50":11,"68":1,"96":5}}],["das",{"2":{"11":1,"19":1,"24":2,"29":2,"35":1,"41":1,"48":1,"55":1}}],["da",{"0":{"101":1},"2":{"4":3,"7":1,"11":1,"12":1,"14":1,"19":9,"23":2,"27":1,"30":1,"35":3,"39":2,"40":3,"64":1,"65":1,"68":1,"74":1,"82":1,"83":2,"85":4,"88":1,"90":1,"98":1}}],["duração",{"2":{"40":2}}],["duration",{"2":{"40":1,"57":1}}],["durante",{"2":{"1":1,"3":1,"19":1,"47":1,"85":1}}],["during",{"2":{"3":2}}],["dinâmicas",{"2":{"96":1}}],["disso",{"2":{"96":1}}],["distribuição",{"2":{"73":1}}],["disponibilizado",{"2":{"68":1}}],["disponíveis",{"0":{"62":1},"2":{"23":1,"37":1,"82":2,"96":1}}],["disponível",{"2":{"8":1,"23":1,"73":1,"87":1}}],["disparam",{"2":{"57":1}}],["display",{"2":{"37":4}}],["diferente",{"2":{"49":1,"84":1,"85":1,"87":1}}],["diferentes",{"2":{"29":1,"32":1,"33":1,"51":1}}],["diferencial",{"2":{"32":1}}],["difícil",{"2":{"3":1}}],["divididos",{"2":{"28":1}}],["diversos",{"2":{"28":1,"29":1}}],["diversas",{"2":{"19":1,"36":1}}],["diária",{"2":{"12":1}}],["direnv",{"0":{"33":1},"2":{"33":3,"69":1}}],["diretamente",{"2":{"39":1,"68":1}}],["diretrizes",{"2":{"13":1}}],["diretórios",{"2":{"88":1}}],["diretório",{"2":{"2":2,"24":3,"26":2,"33":1,"39":5,"40":1,"41":2,"50":9,"68":4,"69":1,"73":1,"82":1,"84":2,"85":3,"88":1,"96":1,"100":1}}],["dirmngr",{"2":{"21":1}}],["dir=",{"2":{"19":3}}],["dir",{"2":{"2":1,"19":4,"41":2,"50":12,"68":1,"96":6,"100":1}}],["dos",{"0":{"21":1},"2":{"35":1,"41":1,"76":1,"87":1}}],["download",{"0":{"16":1,"17":1,"18":1,"84":1},"1":{"17":1,"18":1},"2":{"39":3,"40":1,"59":1,"81":1,"82":4,"84":7,"85":2}}],["dois",{"2":{"10":1,"48":1,"68":1,"98":1}}],["docker",{"0":{"5":1},"2":{"5":1}}],["documentation",{"2":{"4":1,"37":1}}],["documentado",{"2":{"3":1}}],["documentação",{"2":{"2":1,"3":1,"6":1,"8":1,"9":2,"10":2,"11":1,"29":1,"33":1,"34":1,"35":1,"57":1,"74":1,"87":2}}],["docsify",{"2":{"8":2}}],["docs",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1,"11":1},"2":{"0":1,"4":3,"6":1,"7":3,"9":2,"10":3,"11":2,"12":1,"13":1,"14":1,"29":1,"37":2,"38":1,"42":1,"51":1,"58":1,"79":1}}],["do",{"0":{"48":1,"65":1,"69":1,"100":1,"101":1},"2":{"1":1,"2":2,"3":2,"4":1,"6":1,"7":3,"8":1,"9":1,"10":3,"11":1,"12":1,"14":3,"19":25,"20":1,"23":1,"24":1,"25":1,"27":1,"28":4,"29":1,"32":1,"33":2,"34":2,"35":1,"36":3,"37":1,"38":2,"40":3,"41":2,"42":1,"46":1,"47":2,"49":1,"50":25,"51":1,"52":2,"57":2,"59":1,"64":2,"65":2,"68":11,"69":2,"70":1,"72":1,"73":1,"74":1,"82":1,"83":2,"85":2,"87":2,"90":1,"93":1,"95":1,"96":4,"98":3,"99":1,"100":1,"101":4,"102":1}}],["deasdf",{"2":{"75":1}}],["dentro",{"2":{"52":1}}],["declara",{"2":{"39":1}}],["debug",{"2":{"37":1}}],["debian",{"2":{"21":1}}],["default",{"2":{"37":3,"41":1,"98":1}}],["definam",{"2":{"96":1}}],["defina",{"2":{"25":1,"41":1}}],["definidos",{"2":{"87":1,"96":1}}],["definido",{"2":{"40":5,"41":3,"85":2,"96":1}}],["definida",{"2":{"39":1}}],["definidas",{"2":{"26":1,"39":2,"69":1,"87":1}}],["definições",{"2":{"29":1}}],["definindo",{"0":{"24":1},"1":{"25":1,"26":1,"27":1}}],["definir",{"2":{"2":1,"14":1,"41":1,"75":1,"80":1,"82":1}}],["define",{"2":{"11":1,"40":1}}],["definem",{"2":{"4":1}}],["deles",{"2":{"29":1,"30":1}}],["delas",{"2":{"36":1}}],["dela",{"2":{"24":1}}],["demonstração",{"2":{"20":1}}],["detecta",{"0":{"75":1}}],["determinar",{"2":{"68":1,"85":1,"93":1}}],["determinado",{"2":{"57":1,"61":1,"62":1,"63":1}}],["determinadas",{"2":{"4":1,"30":1}}],["detalhes",{"2":{"11":1,"33":1,"34":1,"35":1,"64":1,"69":1}}],["detalhada",{"2":{"9":1}}],["devido",{"2":{"75":1,"101":1}}],["devolver",{"2":{"25":1}}],["dev",{"2":{"8":1,"70":2}}],["devem",{"2":{"68":1,"84":1,"87":2,"88":1}}],["devemos",{"2":{"21":1}}],["deve",{"2":{"4":1,"11":1,"19":6,"40":1,"41":2,"73":2,"82":2,"83":3,"84":5,"85":4,"87":10,"88":1,"90":1,"92":1,"97":1}}],["deps",{"2":{"87":2}}],["depois",{"2":{"19":2,"75":2,"94":1}}],["dependência",{"2":{"73":1,"87":1}}],["dependências",{"0":{"15":1,"21":1},"2":{"7":1,"14":1,"21":2,"34":1,"35":2,"87":2}}],["depending",{"2":{"15":1}}],["depender",{"2":{"101":1}}],["dependencias",{"2":{"34":1}}],["dependencia",{"2":{"21":1}}],["depende",{"2":{"9":1,"49":1}}],["depuração",{"2":{"3":2,"46":1}}],["desse",{"2":{"96":1}}],["desses",{"2":{"12":1,"87":1}}],["descompactado",{"2":{"84":1}}],["descrição",{"2":{"87":1}}],["descrito",{"2":{"41":1,"65":1}}],["descritor",{"2":{"3":1}}],["description",{"2":{"9":1}}],["description>",{"2":{"4":1}}],["desmarcar",{"2":{"80":1}}],["desinstala",{"2":{"91":1}}],["desinstalar",{"0":{"50":1,"67":1},"2":{"50":1,"59":1}}],["desinstale",{"2":{"50":12}}],["desta",{"2":{"14":1,"23":1}}],["destes",{"2":{"30":1,"34":1,"35":1}}],["deste",{"2":{"1":1,"14":1}}],["desde",{"2":{"4":1,"24":1}}],["desenvolvidas",{"2":{"55":1}}],["desenvolvimento",{"0":{"2":1,"8":1},"2":{"1":3,"5":1,"7":1,"8":2,"29":1,"39":1}}],["desenvolver",{"2":{"1":1}}],["desejado",{"2":{"26":1}}],["deseja",{"2":{"1":1,"41":1,"69":2}}],["de",{"0":{"3":1,"27":1,"41":1,"45":1,"65":1,"82":1,"96":1,"97":1,"100":1,"101":1,"102":1},"1":{"83":1,"84":1,"85":1},"2":{"0":1,"1":6,"2":5,"3":4,"4":10,"5":3,"6":1,"7":2,"8":5,"9":5,"10":2,"11":7,"13":2,"14":2,"19":8,"21":1,"23":1,"25":2,"27":8,"28":1,"29":10,"32":7,"33":3,"34":3,"35":8,"36":5,"37":1,"38":1,"39":6,"40":4,"41":3,"42":2,"43":1,"46":2,"47":6,"49":2,"50":28,"52":2,"54":2,"55":1,"56":2,"57":1,"64":5,"65":2,"69":1,"72":1,"73":3,"74":4,"75":4,"78":1,"80":1,"82":3,"83":4,"84":4,"85":8,"87":22,"88":4,"91":1,"92":2,"94":1,"95":1,"96":8,"97":4,"100":4,"101":5,"102":3}}],["overview",{"2":{"87":2}}],["oasdf",{"2":{"74":1}}],["own",{"2":{"70":1}}],["ocorre",{"2":{"24":1,"57":1}}],["ohmyzsh",{"2":{"19":4}}],["oh",{"2":{"19":5,"75":1}}],["opção",{"2":{"92":1,"100":1}}],["opções",{"2":{"27":1,"57":1}}],["operacional",{"2":{"87":4}}],["operacionais",{"2":{"19":1,"25":1}}],["opcionais",{"2":{"87":2}}],["opcional",{"0":{"86":1},"1":{"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1},"2":{"85":1,"87":1}}],["opt",{"2":{"19":9,"41":1,"50":3}}],["optionally",{"2":{"37":3}}],["optional",{"2":{"4":2,"37":1}}],["one",{"2":{"37":1}}],["on",{"2":{"15":1,"37":4,"49":1}}],["onde",{"2":{"2":1,"21":1,"41":1,"82":3,"96":1}}],["obtenha",{"2":{"90":1}}],["obter",{"2":{"10":1,"49":1}}],["obrigatória",{"2":{"87":1}}],["obrigatórios",{"0":{"81":1}}],["obrigado",{"2":{"13":1}}],["observe",{"2":{"68":1,"83":1,"87":1}}],["observação",{"2":{"68":1}}],["observar",{"2":{"24":1}}],["objetos",{"2":{"10":2}}],["osx",{"2":{"83":1,"98":1,"100":1}}],["os",{"2":{"1":1,"2":2,"3":1,"5":1,"7":1,"8":2,"10":2,"11":1,"13":1,"15":1,"19":1,"25":1,"30":1,"32":1,"33":1,"37":2,"38":1,"39":1,"40":2,"41":2,"47":2,"48":1,"50":18,"52":1,"64":1,"68":2,"80":1,"82":1,"84":1,"85":1,"87":2,"88":3,"89":1,"94":1,"95":1,"96":4,"98":2,"100":1}}],["origem",{"2":{"94":1}}],["originado",{"2":{"96":2}}],["origin",{"2":{"55":1}}],["ordem",{"2":{"83":2}}],["org",{"2":{"18":1}}],["organisation",{"2":{"12":1}}],["or",{"2":{"1":1,"7":1,"18":1,"37":6,"65":1,"70":2}}],["o",{"0":{"22":1,"36":1,"80":1,"102":1},"2":{"1":4,"2":5,"3":3,"4":8,"7":1,"8":8,"9":2,"10":1,"11":4,"12":1,"13":1,"14":3,"19":39,"20":1,"21":1,"23":2,"24":2,"25":3,"27":2,"28":2,"29":5,"30":3,"32":3,"33":3,"34":4,"35":6,"36":4,"37":1,"39":7,"40":9,"41":8,"44":1,"47":1,"48":1,"50":29,"52":1,"55":1,"56":2,"57":2,"59":2,"64":3,"65":2,"68":12,"69":2,"73":5,"74":3,"76":1,"80":1,"81":1,"82":11,"83":1,"84":13,"85":8,"87":10,"88":3,"89":1,"90":5,"93":6,"94":4,"95":3,"96":7,"97":3,"98":8,"99":1,"100":3,"101":2,"102":1}}],["output",{"2":{"37":1,"90":1}}],["outra",{"2":{"80":1}}],["outras",{"2":{"36":1}}],["outro",{"2":{"41":1,"100":1}}],["outros",{"2":{"27":1,"28":1,"39":1,"40":1,"85":2,"87":2}}],["ou",{"2":{"1":2,"2":1,"5":1,"7":1,"8":1,"19":10,"23":1,"24":1,"28":1,"34":1,"39":3,"40":2,"41":1,"49":1,"50":2,"52":1,"57":1,"59":1,"64":1,"65":1,"68":1,"69":1,"75":1,"80":3,"81":1,"82":4,"83":1,"84":3,"87":4,"96":2,"98":1}}],["our",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["official",{"0":{"17":1},"2":{"18":1}}],["oficialmente",{"2":{"72":1}}],["oficial",{"0":{"102":1},"2":{"10":1,"11":1,"72":1,"102":1}}],["oferecer",{"2":{"8":1}}],["of",{"2":{"0":1,"6":1,"12":2,"13":1,"14":1,"15":1,"29":1,"37":10,"38":1,"42":1,"51":1,"58":1,"70":1,"79":1}}],["só",{"2":{"84":1,"92":1}}],["src",{"2":{"39":1}}],["same",{"2":{"96":5}}],["sair",{"2":{"84":2,"85":2}}],["sabedoria",{"2":{"97":1}}],["sabe",{"2":{"51":1}}],["save",{"2":{"19":3}}],["saídas",{"2":{"3":1}}],["saída",{"2":{"3":1,"83":1,"84":1,"85":1,"87":5,"88":1}}],["specified",{"2":{"37":1}}],["specific",{"2":{"2":1,"37":2}}],["specifying",{"2":{"37":1}}],["spack",{"2":{"15":2}}],["ssg",{"2":{"8":1}}],["stdout",{"2":{"87":1}}],["status",{"2":{"84":2,"85":2}}],["static",{"2":{"8":1}}],["stable",{"2":{"37":5,"49":1}}],["stratus3d",{"2":{"77":1}}],["string",{"2":{"19":2,"37":1,"50":2,"83":1,"88":1,"90":1,"92":1}}],["str",{"2":{"19":2}}],["steps",{"2":{"15":1}}],["style",{"2":{"4":1}}],["script",{"2":{"19":2,"36":1,"68":2,"82":4,"84":8,"85":7,"87":9,"88":1,"93":1,"94":1,"95":1,"100":3}}],["scripts",{"0":{"81":1,"86":1,"87":1},"1":{"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1},"2":{"1":2,"2":3,"8":1,"19":1,"32":1,"68":1,"80":2,"82":1,"87":4,"96":2}}],["scope",{"2":{"4":1}}],["sort",{"2":{"83":1}}],["sourcing",{"2":{"75":1}}],["source",{"2":{"19":3,"68":2,"94":1}}],["sobre",{"2":{"71":1,"74":1,"87":1}}],["solução",{"2":{"36":1}}],["solicitação",{"2":{"4":3}}],["so",{"2":{"21":1,"46":1}}],["somente",{"2":{"8":1,"23":1,"39":1}}],["some",{"2":{"0":1,"3":3,"4":3,"6":1,"12":1,"13":1,"14":1,"15":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"70":1,"79":1}}],["s",{"2":{"3":2,"7":1,"15":1,"19":5,"101":1}}],["sincronização",{"2":{"57":2}}],["sincronizado",{"2":{"57":1}}],["sincronizar",{"0":{"57":1}}],["sinalizadores",{"2":{"87":1}}],["sinalizador",{"2":{"3":1}}],["sim",{"2":{"36":1,"87":1}}],["similar",{"2":{"32":1}}],["simplicidade",{"2":{"36":1}}],["simplificar",{"2":{"10":1,"29":1}}],["simplificando",{"2":{"3":1}}],["simples",{"2":{"29":1,"68":1}}],["simplesmente",{"2":{"28":1,"93":1}}],["siga",{"2":{"19":2,"28":1,"49":1,"50":4,"102":1}}],["sistema",{"0":{"65":1},"2":{"19":1,"25":2,"32":1,"35":1,"36":2,"39":1,"65":2,"68":2,"87":4}}],["sistemas",{"2":{"19":1,"25":1}}],["si",{"2":{"18":1,"68":1,"98":1}}],["sidebar",{"2":{"10":2,"11":5}}],["sites",{"2":{"7":1}}],["site",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1,"11":1},"2":{"6":1,"8":2,"10":2,"83":1}}],["são",{"2":{"2":1,"4":1,"5":1,"7":1,"11":1,"21":1,"25":2,"26":1,"32":1,"47":1,"48":1,"51":1,"68":1,"80":2,"85":1,"87":2,"96":2,"98":2}}],["sucedido",{"2":{"84":1}}],["sucedidas",{"2":{"85":1}}],["sucedida",{"2":{"40":1,"85":1}}],["suficiente",{"2":{"83":1}}],["sujeiras",{"2":{"56":1}}],["subcomando",{"2":{"96":1}}],["subsistema",{"2":{"73":1}}],["subsystem",{"2":{"72":1}}],["substituem",{"2":{"96":1}}],["substitua",{"2":{"90":1}}],["substituto",{"2":{"8":1}}],["substituir",{"2":{"8":1,"41":1}}],["subdiretórios",{"2":{"39":1}}],["suponha",{"2":{"85":1,"96":1}}],["suportado",{"2":{"64":1,"72":1,"83":1}}],["suportados",{"2":{"11":1}}],["suportar",{"2":{"51":1,"84":1}}],["suportam",{"2":{"39":1,"40":1}}],["suporta",{"2":{"27":2,"59":1}}],["suporte",{"0":{"72":1,"73":1},"2":{"1":1,"8":1,"11":1,"36":1,"72":1,"73":1,"80":1,"84":1}}],["supporting",{"2":{"70":1}}],["supported",{"0":{"18":1}}],["sudo",{"2":{"15":1}}],["suspenso",{"2":{"11":1}}],["suas",{"2":{"1":1,"2":1,"49":1,"69":1,"96":1,"100":1}}],["sua",{"2":{"1":1,"10":1,"11":1,"12":1,"19":1,"24":1,"35":1,"52":1,"64":1,"83":1,"87":2}}],["system",{"2":{"1":1,"15":1,"39":2,"65":4}}],["show",{"2":{"37":3}}],["short",{"2":{"12":1}}],["shortname",{"2":{"12":1,"54":1}}],["shim",{"0":{"48":1},"2":{"30":1,"37":3,"44":1,"47":1,"48":4,"68":2,"74":1,"90":2,"97":1}}],["shims",{"0":{"68":1,"69":1,"75":1},"1":{"69":1},"2":{"2":1,"29":1,"30":1,"32":1,"37":1,"47":2,"48":1,"68":4,"69":1,"74":3,"85":1,"88":2,"97":1}}],["sh",{"2":{"19":17,"41":1,"50":17,"68":3,"75":1,"100":1}}],["shfmt",{"2":{"1":4,"2":1}}],["shellcmd=",{"2":{"101":1}}],["shellcheck",{"2":{"1":3,"2":2}}],["shell$",{"2":{"96":1}}],["shellfoo",{"2":{"96":1}}],["shellusage",{"2":{"90":1}}],["shelluse",{"2":{"50":3}}],["shellbin",{"2":{"88":1}}],["shellbrew",{"2":{"50":5}}],["shell1",{"2":{"83":1}}],["shellif",{"2":{"50":2}}],["shellpacman",{"2":{"50":4}}],["shellrm",{"2":{"50":25}}],["shell➜",{"2":{"48":2}}],["shellexport",{"2":{"19":2}}],["shellecho",{"2":{"19":8}}],["shellmkdir",{"2":{"19":4}}],["shellsource",{"2":{"19":2,"50":3}}],["shells",{"2":{"19":1,"33":1}}],["shellgit",{"2":{"17":1}}],["shelldocs",{"2":{"11":1}}],["shellnpm",{"2":{"7":1,"8":2}}],["shellasdf",{"2":{"1":2,"7":2,"22":1,"23":1,"25":1,"26":1,"44":1,"45":1,"46":1,"47":1,"48":1,"52":2,"53":2,"54":1,"55":2,"59":1,"60":2,"61":2,"62":2,"63":2,"64":2,"65":1,"66":1,"67":1,"98":2}}],["shell",{"0":{"19":1,"75":1},"2":{"1":3,"2":1,"3":1,"7":1,"14":1,"19":20,"30":1,"32":1,"36":2,"37":3,"46":1,"50":9,"64":4,"65":2,"68":2,"75":1,"92":1}}],["secure",{"2":{"101":1}}],["security",{"2":{"70":1}}],["secrets",{"2":{"99":1}}],["sendo",{"2":{"55":1,"83":1,"87":1,"96":1,"97":1}}],["separando",{"2":{"39":1}}],["separada",{"2":{"88":1}}],["separadas",{"2":{"11":1,"83":1}}],["separados",{"2":{"10":1,"92":1}}],["sessão",{"2":{"19":1}}],["sejam",{"2":{"69":1}}],["seja",{"2":{"19":1,"57":1,"87":1,"95":1}}],["setter",{"2":{"92":1}}],["setup",{"0":{"28":1}}],["set",{"2":{"19":3,"37":7,"50":3,"65":1,"66":3}}],["seção",{"2":{"19":1,"25":1,"41":1,"64":1}}],["search",{"2":{"12":1}}],["selecione",{"2":{"64":1,"65":1}}],["selecionar",{"0":{"64":1},"2":{"64":2,"65":2}}],["selectlanguagename",{"2":{"11":2}}],["seleção",{"2":{"11":1,"64":1}}],["seguida",{"2":{"101":1}}],["seguindo",{"2":{"19":2}}],["seguinte",{"2":{"19":12,"27":1,"39":1,"57":1,"64":1,"83":1,"98":1,"101":1}}],["seguintes",{"2":{"2":1,"19":3,"82":1}}],["seguir",{"2":{"4":1}}],["segue",{"2":{"4":1}}],["seus",{"2":{"5":2,"28":1,"34":1,"39":1,"50":6,"96":1,"99":1,"101":1,"102":1}}],["seu",{"0":{"19":1},"2":{"2":3,"4":1,"13":1,"14":1,"19":21,"24":1,"26":1,"27":1,"28":1,"29":1,"30":1,"32":1,"36":2,"39":1,"40":1,"50":24,"55":1,"57":1,"64":1,"69":1,"75":4,"85":1,"87":1,"92":1,"93":1,"96":2,"97":1,"98":3,"101":3,"102":2}}],["semântica",{"2":{"40":1}}],["semelhantes",{"2":{"28":1}}],["sempre",{"2":{"12":1,"36":1,"39":1,"40":1,"87":1}}],["semantic",{"2":{"4":1}}],["semver",{"2":{"4":4}}],["sem",{"2":{"2":1,"39":2,"84":1}}],["seria",{"2":{"83":1,"88":1,"98":1}}],["serão",{"2":{"39":1,"87":1,"96":1}}],["serem",{"2":{"24":2,"82":1}}],["será",{"2":{"19":1,"26":1,"36":1,"39":1,"40":1,"82":3,"84":1,"96":1,"98":1}}],["servidor",{"2":{"8":1}}],["servidores",{"2":{"5":1}}],["ser",{"2":{"1":1,"3":1,"19":14,"29":1,"30":1,"36":2,"39":2,"40":1,"41":4,"56":1,"57":2,"68":3,"69":1,"73":1,"75":1,"82":2,"83":2,"84":2,"85":1,"87":5,"88":1,"93":1,"94":1,"95":1,"97":2,"98":1}}],["se",{"2":{"1":1,"2":1,"4":1,"19":7,"24":1,"28":1,"39":1,"40":5,"41":2,"49":1,"50":1,"55":1,"57":1,"59":1,"64":2,"69":1,"75":2,"82":1,"83":4,"84":5,"85":7,"87":1,"88":1,"92":1,"93":1,"94":1,"96":4,"97":2,"98":3,"100":1,"101":2}}],["see",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["têm",{"2":{"74":1}}],["tudo",{"2":{"50":1}}],["txtmanage",{"2":{"37":1}}],["tão",{"2":{"23":1}}],["travis",{"2":{"100":1,"101":1}}],["travisci",{"0":{"100":1}}],["trabalho",{"2":{"42":1,"73":1}}],["trabalhar",{"2":{"29":1}}],["translate",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["três",{"2":{"28":1}}],["trim",{"2":{"19":2}}],["taxa",{"0":{"101":1},"2":{"101":1}}],["tac",{"2":{"83":1}}],["tais",{"2":{"51":1}}],["talvez",{"2":{"50":1}}],["tanto",{"2":{"27":1,"38":1}}],["tag",{"2":{"23":1,"39":1,"59":1,"82":1,"98":1}}],["também",{"2":{"14":1,"39":1,"59":1,"68":1,"87":1,"94":1,"95":1,"97":1,"100":1}}],["tap",{"2":{"3":1}}],["type",{"2":{"4":1,"82":2,"87":1}}],["types",{"2":{"4":1}}],["type>",{"2":{"4":1}}],["títulos",{"2":{"9":1,"87":1}}],["título",{"2":{"4":3,"9":1,"11":1,"87":1}}],["t",{"2":{"3":2}}],["title",{"2":{"87":1}}],["time",{"2":{"29":1}}],["timgluz",{"2":{"1":1}}],["tiverem",{"2":{"8":1,"96":1}}],["tipo",{"2":{"9":1}}],["tip",{"2":{"2":1,"4":1}}],["tendo",{"2":{"96":1}}],["tenham",{"2":{"19":1}}],["tenha",{"2":{"19":2,"85":1,"96":1}}],["tela",{"2":{"83":1}}],["texto",{"2":{"37":1,"60":1,"61":1,"62":1,"63":1,"87":2}}],["terão",{"2":{"82":1}}],["ter",{"2":{"19":2,"75":1,"102":1}}],["terminais",{"2":{"85":1}}],["terminal",{"2":{"3":1,"19":1}}],["term",{"2":{"12":1,"70":1}}],["temos",{"2":{"23":1,"72":1}}],["tem",{"2":{"11":1,"49":1,"94":1,"95":1,"100":1}}],["tema",{"2":{"10":1}}],["tempos",{"2":{"76":1}}],["tempo",{"2":{"7":1}}],["temporariamente",{"2":{"2":1}}],["testando",{"0":{"98":1},"1":{"99":1,"100":1}}],["testar",{"2":{"2":2,"98":3,"99":1}}],["teste",{"0":{"3":1},"2":{"3":1,"98":1,"100":1}}],["testes",{"2":{"1":1,"2":2,"3":2,"64":1,"73":1,"101":1}}],["tests",{"2":{"2":1,"3":3}}],["test",{"2":{"2":4,"3":3,"4":1,"64":1,"98":4,"99":2,"100":3}}],["testing",{"2":{"1":1}}],["those",{"2":{"70":1}}],["that",{"2":{"37":2}}],["then",{"2":{"101":1}}],["their",{"2":{"70":1}}],["they",{"2":{"37":1,"70":1}}],["these",{"2":{"15":1,"70":1}}],["themeconfig",{"2":{"11":1}}],["the",{"2":{"0":3,"4":1,"6":3,"12":3,"13":3,"14":3,"18":1,"29":3,"37":31,"38":3,"42":3,"51":3,"58":3,"70":1,"79":3}}],["this",{"2":{"0":2,"6":2,"12":2,"13":2,"14":2,"29":2,"37":2,"38":2,"42":2,"51":2,"58":2,"79":2}}],["token",{"2":{"99":2,"101":7}}],["totalmente",{"2":{"85":1}}],["tosse",{"2":{"76":1}}],["toda",{"2":{"54":1}}],["todas",{"0":{"62":1},"2":{"29":2,"39":1,"40":1,"56":1,"81":1,"96":1}}],["todos",{"0":{"54":1},"2":{"28":1,"29":1,"37":1,"50":14,"82":1,"84":1,"87":1}}],["topic",{"2":{"12":1}}],["torna",{"2":{"4":1,"97":1}}],["tools",{"2":{"15":1,"70":1,"88":2}}],["tool",{"0":{"39":1},"2":{"1":1,"7":1,"14":1,"24":1,"25":2,"26":2,"29":1,"30":1,"37":4,"38":1,"39":9,"41":3,"50":14,"64":5,"66":3,"68":1,"98":1,"99":1}}],["to",{"2":{"0":1,"6":1,"12":2,"13":1,"14":1,"15":1,"19":1,"29":1,"37":9,"38":1,"42":1,"51":1,"58":1,"70":2,"79":1}}],["h",{"2":{"101":1}}],["há",{"0":{"80":1}}],["haxe",{"2":{"96":3}}],["habilitaram",{"2":{"92":1}}],["hashnuke",{"2":{"76":1,"77":1}}],["halcyon",{"2":{"53":1}}],["hospedados",{"2":{"99":1}}],["host",{"2":{"73":1}}],["houver",{"2":{"57":1,"75":1,"83":1,"97":1}}],["home",{"2":{"19":2,"40":1,"50":1}}],["homebrew",{"0":{"34":1},"2":{"15":1,"18":1,"19":12,"34":2,"49":1,"50":7}}],["hrs",{"2":{"40":1}}],["head",{"2":{"37":1,"49":2}}],["here",{"2":{"15":1,"70":2}}],["helper",{"2":{"18":1}}],["help",{"0":{"87":1},"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"28":1,"29":1,"37":3,"38":1,"42":1,"51":1,"58":1,"79":1,"87":5,"96":3,"98":1}}],["html",{"2":{"8":1}}],["https",{"2":{"1":5,"7":3,"17":1,"18":1,"22":1,"37":2,"52":1,"53":2,"98":1,"100":1,"102":1}}],["highly",{"2":{"18":1}}],["histórico",{"2":{"4":1}}],["hi",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["wsl",{"2":{"73":1}}],["wsl2",{"0":{"73":1},"2":{"73":3}}],["wsl1",{"0":{"72":1},"2":{"72":2}}],["which",{"2":{"37":1,"68":2}}],["where",{"2":{"37":1,"68":2}}],["warning",{"2":{"24":1}}],["windows",{"2":{"72":1,"73":2}}],["with",{"2":{"4":1,"19":1,"37":3,"65":1,"99":1}}],["will",{"2":{"3":2,"4":3}}],["would",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["website",{"2":{"4":2}}],["we",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"18":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["afaik",{"2":{"97":1}}],["ação",{"2":{"94":1,"95":1,"99":1}}],["ações",{"2":{"13":1,"21":1,"73":1}}],["agir",{"2":{"82":1}}],["agora",{"2":{"23":1,"28":1,"96":1}}],["aqueles",{"2":{"74":1}}],["aqui",{"2":{"1":1,"71":1,"100":1}}],["aessado",{"2":{"68":1}}],["absolutamente",{"2":{"97":1}}],["abreviados",{"0":{"54":1}}],["abreviado",{"0":{"57":1},"2":{"52":2,"57":1}}],["abrange",{"2":{"38":1}}],["abrir",{"2":{"19":1}}],["abaixo",{"2":{"12":1,"19":3,"39":1,"87":1}}],["ainda",{"2":{"19":2,"28":1,"47":1,"93":1}}],["aviso",{"2":{"19":1}}],["armazena",{"2":{"41":1}}],["are",{"2":{"37":1,"70":2}}],["argumento",{"2":{"93":1}}],["argumentos",{"2":{"39":2,"98":2}}],["args",{"2":{"37":1,"44":1}}],["arg",{"2":{"19":6,"50":6}}],["archlinux",{"2":{"18":1}}],["arquivos",{"0":{"27":1},"2":{"8":1,"10":1,"11":2,"27":2,"29":1,"32":1,"38":1,"40":1,"41":2,"50":14,"84":1,"85":1,"88":1,"92":2}}],["arquivo",{"2":{"3":1,"10":1,"14":1,"24":1,"26":1,"27":1,"29":2,"30":1,"39":6,"40":3,"41":2,"64":2,"68":1,"75":1,"84":1,"85":1,"93":3,"96":1,"97":3,"100":1}}],["apareça",{"2":{"83":1}}],["apagar",{"2":{"56":1}}],["apontar",{"2":{"82":1}}],["apenas",{"2":{"55":1,"73":1,"84":2,"85":1,"87":2,"96":2,"97":3,"98":1,"101":1}}],["api",{"0":{"101":1},"2":{"51":1,"99":1,"101":4}}],["após",{"2":{"21":1,"30":1,"40":1}}],["append",{"2":{"19":4}}],["apt",{"2":{"15":1,"21":1,"87":1}}],["aptitude",{"2":{"15":1}}],["aplica",{"2":{"92":1}}],["aplicativos",{"2":{"5":1}}],["aplicado",{"2":{"4":1}}],["ajudar",{"2":{"68":1}}],["ajuda",{"2":{"12":1,"68":1,"87":4}}],["aos",{"2":{"82":1}}],["ao",{"0":{"19":1},"2":{"9":1,"14":1,"19":32,"24":2,"27":1,"33":1,"34":1,"40":1,"46":1,"59":1,"68":1,"69":1,"73":1,"75":1,"80":1,"82":1,"87":4,"88":1,"94":2,"95":1,"96":1,"100":1,"101":1,"102":1}}],["amostra",{"2":{"100":1}}],["ambientes",{"2":{"35":1}}],["ambiente",{"0":{"41":1,"45":1,"82":1},"1":{"83":1,"84":1,"85":1},"2":{"29":1,"33":2,"38":1,"64":2,"68":2,"69":1,"80":1,"82":2,"84":1,"85":1,"87":1,"98":1,"101":1}}],["amannn",{"2":{"4":1}}],["ampliado",{"2":{"29":1}}],["amp",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1,"11":1},"2":{"3":1,"15":1,"18":4,"19":23,"50":14}}],["acessá",{"2":{"101":1}}],["acesso",{"2":{"82":1,"94":1,"95":1,"101":2}}],["aceleram",{"2":{"2":1}}],["acabei",{"2":{"74":1}}],["achar",{"2":{"50":1}}],["acustomar",{"2":{"28":1}}],["acordo",{"2":{"19":1,"100":1}}],["acompanhar",{"2":{"14":1}}],["acima",{"2":{"11":1,"41":3}}],["actions",{"0":{"13":1},"2":{"99":2}}],["action",{"0":{"99":1},"2":{"4":2}}],["authorization",{"2":{"101":1}}],["autorização",{"2":{"101":1}}],["autores",{"2":{"96":1}}],["autoload",{"2":{"19":1,"50":1}}],["auto",{"2":{"19":15}}],["automatically",{"2":{"15":1,"99":1}}],["automaticamente",{"2":{"4":1,"19":7,"69":1,"74":1}}],["automatizado",{"2":{"9":1}}],["automatizada",{"2":{"4":1}}],["automated",{"2":{"1":1}}],["auxiliar",{"2":{"46":1,"68":1}}],["aumenta",{"2":{"33":1}}],["aumentar",{"2":{"4":1}}],["aur",{"2":{"18":2,"19":1,"41":1,"49":1}}],["além",{"2":{"96":1,"97":1}}],["altamente",{"2":{"98":1}}],["alta",{"2":{"76":1}}],["alternativa",{"2":{"64":1,"83":1}}],["alterações",{"2":{"2":2,"9":1}}],["always",{"2":{"40":1}}],["algo",{"2":{"35":1,"83":1,"98":1,"101":2}}],["alguma",{"2":{"36":1,"50":1}}],["algumas",{"2":{"5":1,"21":2,"47":1,"71":1}}],["algum",{"2":{"30":1,"41":1,"69":1,"94":1}}],["alguns",{"2":{"10":1,"12":1,"21":1,"25":1,"72":1,"80":1}}],["alpine",{"2":{"5":1}}],["all",{"0":{"37":1,"83":1},"2":{"2":1,"23":2,"37":9,"40":1,"54":1,"55":1,"57":1,"62":4,"80":1,"81":1,"82":1,"83":1,"101":2}}],["analisar",{"2":{"93":1}}],["analisador",{"2":{"1":1}}],["an",{"2":{"37":2}}],["anterior",{"2":{"85":1}}],["antes",{"2":{"2":2,"3":1,"8":1,"41":1,"95":1}}],["antiga",{"2":{"29":1}}],["anexar",{"2":{"2":1}}],["análise",{"2":{"1":1}}],["and",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"19":1,"29":1,"37":10,"38":1,"42":1,"51":1,"58":1,"79":1}}],["a",{"0":{"66":1},"2":{"1":2,"2":2,"3":5,"4":8,"7":1,"8":1,"10":6,"11":1,"12":3,"14":2,"15":1,"19":17,"21":1,"23":3,"24":4,"25":1,"27":3,"28":1,"29":2,"32":1,"33":2,"34":2,"35":1,"36":3,"37":16,"38":1,"39":4,"40":3,"41":1,"42":1,"44":1,"47":4,"51":1,"54":1,"57":1,"60":1,"64":6,"65":1,"68":3,"70":2,"72":1,"73":1,"74":3,"80":1,"81":2,"82":1,"83":3,"84":1,"85":7,"87":7,"88":3,"90":1,"92":2,"93":1,"96":2,"98":3,"100":1}}],["adaptar",{"2":{"87":2}}],["adaptados",{"2":{"87":1}}],["adaptadas",{"2":{"87":1}}],["adequadamente",{"2":{"19":1}}],["adequada",{"2":{"19":1,"36":1}}],["adeque",{"2":{"19":1}}],["adição",{"2":{"19":3}}],["adicionado",{"2":{"94":1}}],["adicionais",{"2":{"82":2,"92":1}}],["adicionando",{"0":{"19":1}}],["adicionar",{"0":{"52":1},"2":{"14":1,"19":2,"72":1,"102":1}}],["adicione",{"2":{"1":1,"2":1,"7":1,"19":23,"27":1,"40":1,"52":1,"101":2}}],["add",{"0":{"94":1},"2":{"1":3,"7":1,"22":1,"37":3,"40":1,"52":4,"57":1,"94":4,"102":2}}],["added",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":1,"38":1,"42":1,"51":1,"58":1,"79":1}}],["aspectos",{"2":{"72":1}}],["assumirá",{"2":{"84":1}}],["associado",{"2":{"12":1}}],["assim",{"2":{"11":1,"25":1,"26":1,"39":1,"40":1}}],["as",{"0":{"15":1,"62":1},"2":{"1":3,"7":2,"10":1,"11":1,"14":1,"19":8,"21":1,"29":2,"35":1,"37":1,"38":1,"39":4,"40":2,"46":1,"49":1,"50":15,"56":1,"57":1,"61":1,"62":1,"70":1,"73":1,"81":1,"83":5,"87":4,"96":6,"102":1}}],["asdfrc",{"0":{"40":1},"2":{"27":1,"38":1,"40":1,"41":1,"50":14,"57":1,"92":1}}],["asdf~",{"2":{"19":6,"50":6}}],["asdf",{"0":{"0":1,"16":1,"36":1,"69":1,"96":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"17":1,"18":1},"2":{"0":1,"1":13,"2":1,"4":1,"5":3,"7":8,"8":1,"9":1,"12":7,"13":1,"14":3,"15":1,"17":3,"18":3,"19":109,"20":1,"21":1,"22":2,"23":3,"24":3,"25":2,"27":3,"28":5,"29":2,"30":2,"32":2,"33":3,"34":1,"35":2,"36":3,"37":43,"38":1,"39":6,"40":8,"41":14,"42":1,"46":1,"47":1,"48":3,"49":6,"50":118,"51":1,"52":3,"53":5,"55":1,"56":1,"57":3,"59":1,"60":2,"61":2,"62":2,"63":2,"64":8,"65":2,"66":3,"67":1,"68":12,"69":2,"70":7,"71":1,"72":1,"74":3,"75":2,"82":7,"84":5,"85":9,"87":6,"88":2,"90":2,"93":2,"94":7,"95":6,"96":11,"97":2,"98":6,"99":3,"100":7,"102":5}}],["atalhos",{"2":{"68":1}}],["atalho",{"2":{"56":1}}],["ativar",{"2":{"27":1}}],["ativado",{"2":{"8":1}}],["até",{"2":{"24":1,"76":1,"96":1}}],["atualmente",{"2":{"73":1}}],["atualize",{"2":{"40":1}}],["atualizações",{"2":{"55":1}}],["atualização",{"2":{"40":1,"49":1,"55":1}}],["atualiza",{"2":{"39":1}}],["atualizar",{"0":{"49":1,"55":1},"2":{"19":1,"40":1,"55":1}}],["atualizará",{"2":{"19":6,"40":1}}],["atualizado",{"2":{"19":3,"57":1}}],["atual",{"0":{"64":1,"66":1},"2":{"23":1,"24":2,"26":1,"33":1,"44":1,"47":1,"64":2,"65":1,"68":1,"73":1,"87":2}}],["através",{"2":{"14":2,"19":16,"20":1,"23":1,"24":1,"25":1,"28":1,"29":1,"35":2,"36":1,"41":1}}],["at",{"2":{"0":1,"6":1,"12":1,"13":1,"14":1,"29":1,"37":2,"38":1,"42":1,"51":1,"58":1,"79":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexroot.C13dwPVu.js b/assets/chunks/@localSearchIndexroot.C13dwPVu.js new file mode 100644 index 00000000..2b97693e --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.C13dwPVu.js @@ -0,0 +1 @@ +const e='{"documentCount":131,"nextId":131,"documentIds":{"0":"/contribute/core.html#asdf","1":"/contribute/core.html#initial-setup","2":"/contribute/core.html#development","3":"/contribute/core.html#gitignore","4":"/contribute/core.html#git-blame-ignore-revs","5":"/contribute/core.html#bats-testing","6":"/contribute/core.html#bats-tips","7":"/contribute/core.html#pull-requests-releases-conventional-commits","8":"/contribute/core.html#docker-images","9":"/contribute/documentation.html#docs-site","10":"/contribute/documentation.html#initial-setup","11":"/contribute/documentation.html#development","12":"/contribute/documentation.html#pull-requests-releases-conventional-commits","13":"/contribute/documentation.html#vitepress","14":"/contribute/documentation.html#i18n","15":"/contribute/first-party-plugins.html#first-party-plugins","16":"/contribute/github-actions.html#github-actions","17":"/guide/getting-started.html#getting-started","18":"/guide/getting-started.html#_1-install-dependencies","19":"/guide/getting-started.html#_2-download-asdf","20":"/guide/getting-started.html#official-download","21":"/guide/getting-started.html#community-supported-download-methods","22":"/guide/getting-started.html#_3-install-asdf","23":"/guide/getting-started.html#core-installation-complete","24":"/guide/getting-started.html#_4-install-a-plugin","25":"/guide/getting-started.html#plugin-dependencies","26":"/guide/getting-started.html#install-the-plugin","27":"/guide/getting-started.html#_5-install-a-version","28":"/guide/getting-started.html#_6-set-a-version","29":"/guide/getting-started.html#global","30":"/guide/getting-started.html#local","31":"/guide/getting-started.html#using-existing-tool-version-files","32":"/guide/getting-started.html#guide-complete","33":"/guide/introduction.html#introduction","34":"/guide/introduction.html#how-it-works","35":"/guide/introduction.html#related-projects","36":"/guide/introduction.html#nvm-n-rbenv-etc","37":"/guide/introduction.html#direnv","38":"/guide/introduction.html#homebrew","39":"/guide/introduction.html#nixos","40":"/guide/introduction.html#why-use-asdf","41":"/manage/commands.html#all-commands","42":"/manage/configuration.html#configuration","43":"/manage/configuration.html#tool-versions","44":"/manage/configuration.html#asdfrc","45":"/manage/configuration.html#legacy-version-file","46":"/manage/configuration.html#use-release-candidates","47":"/manage/configuration.html#always-keep-download","48":"/manage/configuration.html#plugin-repository-last-check-duration","49":"/manage/configuration.html#disable-plugin-short-name-repository","50":"/manage/configuration.html#concurrency","51":"/manage/configuration.html#plugin-hooks","52":"/manage/configuration.html#environment-variables","53":"/manage/configuration.html#asdf-config-file","54":"/manage/configuration.html#asdf-default-tool-versions-filename","55":"/manage/configuration.html#asdf-dir","56":"/manage/configuration.html#asdf-data-dir","57":"/manage/configuration.html#asdf-concurrency","58":"/manage/configuration.html#asdf-force-prepend","59":"/manage/configuration.html#full-configuration-example","60":"/manage/configuration.html#internal-configuration","61":"/manage/core.html#core","62":"/manage/core.html#installation-setup","63":"/manage/core.html#exec","64":"/manage/core.html#env","65":"/manage/core.html#info","66":"/manage/core.html#reshim","67":"/manage/core.html#shim-versions","68":"/manage/core.html#update","69":"/manage/core.html#uninstall","70":"/manage/plugins.html#plugins","71":"/manage/plugins.html#add","72":"/manage/plugins.html#list-installed","73":"/manage/plugins.html#list-all-in-short-name-repository","74":"/manage/plugins.html#update","75":"/manage/plugins.html#remove","76":"/manage/plugins.html#syncing-the-asdf-short-name-repository","77":"/manage/versions.html#versions","78":"/manage/versions.html#install-version","79":"/manage/versions.html#install-latest-stable-version","80":"/manage/versions.html#list-installed-versions","81":"/manage/versions.html#list-all-available-versions","82":"/manage/versions.html#show-latest-stable-version","83":"/manage/versions.html#set-current-version","84":"/manage/versions.html#fallback-to-system-version","85":"/manage/versions.html#view-current-version","86":"/manage/versions.html#uninstall-version","87":"/manage/versions.html#shims","88":"/manage/versions.html#by-passing-asdf-shims","89":"/more/community-projects.html#community-projects","90":"/more/faq.html#faq","91":"/more/faq.html#wsl1-support","92":"/more/faq.html#wsl2-support","93":"/more/faq.html#newly-installed-executable-not-running","94":"/more/faq.html#shell-not-detecting-newly-installed-shims","95":"/more/thanks.html#thanks","96":"/more/thanks.html#credits","97":"/more/thanks.html#maintainers","98":"/more/thanks.html#contributors","99":"/plugins/create.html#create-a-plugin","100":"/plugins/create.html#quickstart","101":"/plugins/create.html#golden-rules-for-plugin-scripts","102":"/plugins/create.html#scripts-overview","103":"/plugins/create.html#environment-variables-overview","104":"/plugins/create.html#required-scripts","105":"/plugins/create.html#bin-list-all","106":"/plugins/create.html#bin-download","107":"/plugins/create.html#bin-install","108":"/plugins/create.html#optional-scripts","109":"/plugins/create.html#bin-latest-stable","110":"/plugins/create.html#bin-help-overview","111":"/plugins/create.html#bin-help-deps","112":"/plugins/create.html#bin-help-config","113":"/plugins/create.html#bin-help-links","114":"/plugins/create.html#bin-list-bin-paths","115":"/plugins/create.html#bin-exec-env","116":"/plugins/create.html#bin-exec-path","117":"/plugins/create.html#bin-uninstall","118":"/plugins/create.html#bin-list-legacy-filenames","119":"/plugins/create.html#bin-parse-legacy-file","120":"/plugins/create.html#bin-post-plugin-add","121":"/plugins/create.html#bin-post-plugin-update","122":"/plugins/create.html#bin-pre-plugin-remove","123":"/plugins/create.html#extension-commands-for-asdf-cli","124":"/plugins/create.html#custom-shim-templates","125":"/plugins/create.html#testing","126":"/plugins/create.html#github-action","127":"/plugins/create.html#travisci-config","128":"/plugins/create.html#api-rate-limiting","129":"/plugins/create.html#github-api-token","130":"/plugins/create.html#plugin-shortname-index"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,5],"1":[2,1,94],"2":[1,1,86],"3":[1,2,40],"4":[5,2,60],"5":[2,1,21],"6":[2,3,54],"7":[6,1,102],"8":[2,1,33],"9":[3,1,6],"10":[2,3,59],"11":[1,3,83],"12":[6,3,39],"13":[1,3,61],"14":[1,3,97],"15":[3,1,61],"16":[2,1,18],"17":[2,1,29],"18":[3,2,59],"19":[3,2,1],"20":[2,5,14],"21":[4,5,32],"22":[3,2,257],"23":[4,2,30],"24":[4,2,16],"25":[2,6,48],"26":[3,6,11],"27":[4,2,47],"28":[4,2,48],"29":[1,6,54],"30":[1,6,36],"31":[5,6,51],"32":[3,2,51],"33":[1,1,75],"34":[3,1,48],"35":[2,1,1],"36":[4,3,55],"37":[1,3,38],"38":[1,3,41],"39":[1,3,60],"40":[4,1,57],"41":[2,1,147],"42":[1,1,21],"43":[3,1,125],"44":[2,1,55],"45":[3,2,35],"46":[3,2,21],"47":[3,2,23],"48":[5,2,80],"49":[5,2,75],"50":[1,2,41],"51":[2,2,73],"52":[2,1,44],"53":[3,3,31],"54":[5,3,38],"55":[2,3,33],"56":[3,3,41],"57":[2,3,28],"58":[3,3,46],"59":[3,1,84],"60":[2,1,51],"61":[1,1,14],"62":[3,1,7],"63":[1,1,13],"64":[1,1,6],"65":[1,1,22],"66":[1,1,62],"67":[2,1,45],"68":[1,1,53],"69":[1,1,141],"70":[1,1,25],"71":[1,1,39],"72":[2,1,14],"73":[6,1,16],"74":[1,1,40],"75":[1,1,30],"76":[6,1,70],"77":[1,1,1],"78":[2,1,44],"79":[4,1,19],"80":[3,1,19],"81":[4,1,20],"82":[4,1,18],"83":[3,1,78],"84":[4,1,38],"85":[3,1,20],"86":[2,1,10],"87":[1,1,112],"88":[4,2,36],"89":[2,1,49],"90":[1,1,8],"91":[3,1,25],"92":[3,1,54],"93":[6,1,50],"94":[7,1,47],"95":[1,1,10],"96":[1,1,16],"97":[1,1,6],"98":[1,1,9],"99":[3,1,35],"100":[1,3,49],"101":[5,4,30],"102":[2,3,99],"103":[3,3,87],"104":[2,3,1],"105":[3,5,127],"106":[2,5,125],"107":[2,5,148],"108":[2,3,1],"109":[3,5,137],"110":[3,5,110],"111":[3,5,93],"112":[3,5,100],"113":[3,5,102],"114":[3,5,94],"115":[3,5,73],"116":[3,5,105],"117":[2,5,73],"118":[4,5,84],"119":[4,5,104],"120":[4,5,56],"121":[4,5,54],"122":[4,5,46],"123":[5,3,122],"124":[3,3,64],"125":[1,3,88],"126":[2,4,51],"127":[2,4,54],"128":[3,3,56],"129":[3,6,34],"130":[3,3,47]},"averageFieldLength":[2.633587786259542,2.4122137404580157,52.70992366412214],"storedFields":{"0":{"title":"asdf","titles":[]},"1":{"title":"Initial Setup","titles":["asdf"]},"2":{"title":"Development","titles":["asdf"]},"3":{"title":"Gitignore","titles":["asdf","Development"]},"4":{"title":".git-blame-ignore-revs","titles":["asdf","Development"]},"5":{"title":"Bats Testing","titles":["asdf"]},"6":{"title":"Bats Tips","titles":["asdf","Bats Testing"]},"7":{"title":"Pull Requests, Releases & Conventional Commits","titles":["asdf"]},"8":{"title":"Docker Images","titles":["asdf"]},"9":{"title":"Docs & Site","titles":[]},"10":{"title":"Initial Setup","titles":["Docs & Site"]},"11":{"title":"Development","titles":["Docs & Site"]},"12":{"title":"Pull Requests, Releases & Conventional Commits","titles":["Docs & Site"]},"13":{"title":"Vitepress","titles":["Docs & Site"]},"14":{"title":"I18n","titles":["Docs & Site"]},"15":{"title":"First-Party Plugins","titles":[]},"16":{"title":"GitHub Actions","titles":[]},"17":{"title":"Getting Started","titles":[]},"18":{"title":"1. Install Dependencies","titles":["Getting Started"]},"19":{"title":"2. Download asdf","titles":["Getting Started"]},"20":{"title":"Official Download","titles":["Getting Started","2. Download asdf"]},"21":{"title":"Community Supported Download Methods","titles":["Getting Started","2. Download asdf"]},"22":{"title":"3. Install asdf","titles":["Getting Started"]},"23":{"title":"Core Installation Complete!","titles":["Getting Started"]},"24":{"title":"4. Install a Plugin","titles":["Getting Started"]},"25":{"title":"Plugin Dependencies","titles":["Getting Started","4. Install a Plugin"]},"26":{"title":"Install the Plugin","titles":["Getting Started","4. Install a Plugin"]},"27":{"title":"5. Install a Version","titles":["Getting Started"]},"28":{"title":"6. Set a Version","titles":["Getting Started"]},"29":{"title":"Global","titles":["Getting Started","6. Set a Version"]},"30":{"title":"Local","titles":["Getting Started","6. Set a Version"]},"31":{"title":"Using Existing Tool Version Files","titles":["Getting Started","6. Set a Version"]},"32":{"title":"Guide Complete!","titles":["Getting Started"]},"33":{"title":"Introduction","titles":[]},"34":{"title":"How It Works","titles":["Introduction"]},"35":{"title":"Related Projects","titles":["Introduction"]},"36":{"title":"nvm / n / rbenv etc","titles":["Introduction","Related Projects"]},"37":{"title":"direnv","titles":["Introduction","Related Projects"]},"38":{"title":"Homebrew","titles":["Introduction","Related Projects"]},"39":{"title":"NixOS","titles":["Introduction","Related Projects"]},"40":{"title":"Why use asdf?","titles":["Introduction"]},"41":{"title":"All Commands","titles":[]},"42":{"title":"Configuration","titles":[]},"43":{"title":".tool-versions","titles":["Configuration"]},"44":{"title":".asdfrc","titles":["Configuration"]},"45":{"title":"legacy_version_file","titles":["Configuration",".asdfrc"]},"46":{"title":"use_release_candidates","titles":["Configuration",".asdfrc"]},"47":{"title":"always_keep_download","titles":["Configuration",".asdfrc"]},"48":{"title":"plugin_repository_last_check_duration","titles":["Configuration",".asdfrc"]},"49":{"title":"disable_plugin_short_name_repository","titles":["Configuration",".asdfrc"]},"50":{"title":"concurrency","titles":["Configuration",".asdfrc"]},"51":{"title":"Plugin Hooks","titles":["Configuration",".asdfrc"]},"52":{"title":"Environment Variables","titles":["Configuration"]},"53":{"title":"ASDF_CONFIG_FILE","titles":["Configuration","Environment Variables"]},"54":{"title":"ASDF_DEFAULT_TOOL_VERSIONS_FILENAME","titles":["Configuration","Environment Variables"]},"55":{"title":"ASDF_DIR","titles":["Configuration","Environment Variables"]},"56":{"title":"ASDF_DATA_DIR","titles":["Configuration","Environment Variables"]},"57":{"title":"ASDF_CONCURRENCY","titles":["Configuration","Environment Variables"]},"58":{"title":"ASDF_FORCE_PREPEND","titles":["Configuration","Environment Variables"]},"59":{"title":"Full Configuration Example","titles":["Configuration"]},"60":{"title":"Internal Configuration","titles":["Configuration"]},"61":{"title":"Core","titles":[]},"62":{"title":"Installation & Setup","titles":["Core"]},"63":{"title":"Exec","titles":["Core"]},"64":{"title":"Env","titles":["Core"]},"65":{"title":"Info","titles":["Core"]},"66":{"title":"Reshim","titles":["Core"]},"67":{"title":"Shim-versions","titles":["Core"]},"68":{"title":"Update","titles":["Core"]},"69":{"title":"Uninstall","titles":["Core"]},"70":{"title":"Plugins","titles":[]},"71":{"title":"Add","titles":["Plugins"]},"72":{"title":"List Installed","titles":["Plugins"]},"73":{"title":"List All in Short-name Repository","titles":["Plugins"]},"74":{"title":"Update","titles":["Plugins"]},"75":{"title":"Remove","titles":["Plugins"]},"76":{"title":"Syncing the asdf Short-name Repository","titles":["Plugins"]},"77":{"title":"Versions","titles":[]},"78":{"title":"Install Version","titles":["Versions"]},"79":{"title":"Install Latest Stable Version","titles":["Versions"]},"80":{"title":"List Installed Versions","titles":["Versions"]},"81":{"title":"List All Available Versions","titles":["Versions"]},"82":{"title":"Show Latest Stable Version","titles":["Versions"]},"83":{"title":"Set Current Version","titles":["Versions"]},"84":{"title":"Fallback to System Version","titles":["Versions"]},"85":{"title":"View Current Version","titles":["Versions"]},"86":{"title":"Uninstall Version","titles":["Versions"]},"87":{"title":"Shims","titles":["Versions"]},"88":{"title":"By-passing asdf shims","titles":["Versions","Shims"]},"89":{"title":"Community Projects","titles":[]},"90":{"title":"FAQ","titles":[]},"91":{"title":"WSL1 support?","titles":["FAQ"]},"92":{"title":"WSL2 support?","titles":["FAQ"]},"93":{"title":"Newly installed executable not running?","titles":["FAQ"]},"94":{"title":"Shell not detecting newly installed shims?","titles":["FAQ"]},"95":{"title":"Thanks","titles":[]},"96":{"title":"Credits","titles":["Thanks"]},"97":{"title":"Maintainers","titles":["Thanks"]},"98":{"title":"Contributors","titles":["Thanks"]},"99":{"title":"Create a Plugin","titles":[]},"100":{"title":"Quickstart","titles":["Create a Plugin"]},"101":{"title":"Golden Rules for Plugin Scripts","titles":["Create a Plugin","Quickstart"]},"102":{"title":"Scripts Overview","titles":["Create a Plugin"]},"103":{"title":"Environment Variables Overview","titles":["Create a Plugin"]},"104":{"title":"Required Scripts","titles":["Create a Plugin"]},"105":{"title":"bin/list-all","titles":["Create a Plugin","Required Scripts"]},"106":{"title":"bin/download","titles":["Create a Plugin","Required Scripts"]},"107":{"title":"bin/install","titles":["Create a Plugin","Required Scripts"]},"108":{"title":"Optional Scripts","titles":["Create a Plugin"]},"109":{"title":"bin/latest-stable","titles":["Create a Plugin","Optional Scripts"]},"110":{"title":"bin/help.overview","titles":["Create a Plugin","Optional Scripts"]},"111":{"title":"bin/help.deps","titles":["Create a Plugin","Optional Scripts"]},"112":{"title":"bin/help.config","titles":["Create a Plugin","Optional Scripts"]},"113":{"title":"bin/help.links","titles":["Create a Plugin","Optional Scripts"]},"114":{"title":"bin/list-bin-paths","titles":["Create a Plugin","Optional Scripts"]},"115":{"title":"bin/exec-env","titles":["Create a Plugin","Optional Scripts"]},"116":{"title":"bin/exec-path","titles":["Create a Plugin","Optional Scripts"]},"117":{"title":"bin/uninstall","titles":["Create a Plugin","Optional Scripts"]},"118":{"title":"bin/list-legacy-filenames","titles":["Create a Plugin","Optional Scripts"]},"119":{"title":"bin/parse-legacy-file","titles":["Create a Plugin","Optional Scripts"]},"120":{"title":"bin/post-plugin-add","titles":["Create a Plugin","Optional Scripts"]},"121":{"title":"bin/post-plugin-update","titles":["Create a Plugin","Optional Scripts"]},"122":{"title":"bin/pre-plugin-remove","titles":["Create a Plugin","Optional Scripts"]},"123":{"title":"Extension Commands for asdf CLI","titles":["Create a Plugin"]},"124":{"title":"Custom Shim Templates","titles":["Create a Plugin"]},"125":{"title":"Testing","titles":["Create a Plugin"]},"126":{"title":"GitHub Action","titles":["Create a Plugin","Testing"]},"127":{"title":"TravisCI Config","titles":["Create a Plugin","Testing"]},"128":{"title":"API Rate Limiting","titles":["Create a Plugin"]},"129":{"title":"GITHUB_API_TOKEN","titles":["Create a Plugin","API Rate Limiting"]},"130":{"title":"Plugin Shortname Index","titles":["Create a Plugin"]}},"dirtCount":0,"index":[["\\thttps",{"2":{"113":2}}],["🙏",{"2":{"98":1}}],["916",{"2":{"74":1}}],["999999999",{"2":{"48":1}}],["kim",{"2":{"85":3}}],["knows",{"2":{"70":1}}],["keep",{"0":{"47":1},"2":{"38":1,"44":1,"47":2,"59":1,"101":1}}],["keyword",{"2":{"43":1}}],["keys",{"2":{"14":1}}],["keyrings",{"2":{"3":1}}],["8",{"2":{"67":2,"107":1,"109":1}}],["8837",{"2":{"22":2}}],["query",{"2":{"109":2}}],["questions",{"2":{"90":1}}],["quickstart",{"0":{"100":1},"1":{"101":1}}],["quicly",{"2":{"11":1}}],["quality",{"2":{"89":1}}],["quot",{"2":{"58":2,"106":2,"114":8,"118":2}}],["7",{"2":{"43":4,"107":1,"109":1}}],["`$asdf",{"2":{"123":5}}],["`env`",{"2":{"41":1}}],["`asdf",{"2":{"41":1}}],["000",{"2":{"39":1}}],["0",{"2":{"29":1,"30":1,"43":4,"48":1,"67":4,"83":2,"105":4,"106":5,"107":7,"109":1,"110":1,"111":1,"112":1,"113":1,"116":1,"117":2}}],["60",{"2":{"39":1,"44":1,"48":1,"59":1,"76":1}}],["6",{"0":{"28":1},"1":{"29":1,"30":1,"31":1},"2":{"85":1}}],["4",{"0":{"24":1},"1":{"25":1,"26":1},"2":{"83":3,"105":1}}],["🎉",{"2":{"23":1,"32":1,"69":1}}],["+",{"2":{"22":2}}],["|",{"2":{"22":11}}],["yml",{"2":{"127":1}}],["yamllanguage",{"2":{"127":1}}],["yamlname",{"2":{"126":1}}],["yaml",{"2":{"126":1}}],["yarn",{"2":{"66":3,"93":3}}],["yes",{"2":{"31":1,"45":1,"46":1,"47":1,"49":1,"58":3,"76":1}}],["yet",{"2":{"22":2,"66":1}}],["yum",{"2":{"25":1}}],["you",{"2":{"1":2,"2":5,"6":1,"8":1,"17":1,"22":6,"23":1,"28":3,"29":2,"32":2,"33":1,"34":1,"40":2,"43":1,"54":2,"68":2,"69":1,"74":1,"78":2,"83":2,"84":1,"88":1,"92":1,"93":1,"94":2,"95":1,"127":1,"130":1}}],["your",{"2":{"1":3,"2":4,"3":2,"7":1,"8":2,"10":1,"16":1,"18":2,"21":1,"22":21,"28":1,"30":2,"31":1,"32":2,"33":2,"34":1,"36":1,"38":1,"40":1,"52":2,"68":1,"69":24,"76":2,"88":2,"94":4,"100":2,"101":1,"123":2,"125":2,"126":1,"127":1,"129":3,"130":1}}],["=s",{"2":{"69":2}}],["=",{"2":{"22":9,"31":1,"44":6,"51":1,"69":6,"105":1}}],["$releases",{"2":{"128":1}}],["$relative",{"2":{"116":1}}],["$github",{"2":{"128":2}}],["$travis",{"2":{"127":1}}],["$file",{"2":{"119":1}}],["$fpath",{"2":{"22":1,"69":1}}],["$cmd",{"2":{"116":1,"128":2}}],["$install",{"2":{"116":1}}],["$query",{"2":{"109":1}}],["$e",{"2":{"69":4}}],["$env",{"2":{"22":2}}],["$1",{"2":{"51":2}}],["$pwd",{"2":{"30":2,"83":1}}],["$path",{"2":{"22":1,"33":1,"87":1,"94":1}}],["$nu",{"2":{"22":3}}],["$",{"2":{"22":16,"41":1,"44":1,"51":1,"69":17,"83":2,"87":4,"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":5,"115":1,"116":1,"117":1,"118":2,"119":1,"120":3,"121":3,"122":3,"123":4,"126":1}}],["$home",{"2":{"22":8,"28":1,"29":2,"31":1,"43":1,"53":1,"56":1,"59":7,"69":49,"83":1}}],["$asdf",{"2":{"2":1,"49":1,"60":1,"69":2,"87":1,"107":1,"123":1}}],["~",{"2":{"20":1,"22":49,"43":1,"69":23,"87":1,"116":2}}],["22",{"2":{"109":1}}],["2014",{"2":{"96":1}}],["2",{"0":{"19":1},"1":{"20":1,"21":1},"2":{"43":7,"83":1,"92":1,"105":1,"109":4,"119":1}}],["zero",{"2":{"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1}}],["zdotdir",{"2":{"22":1}}],["zshrc",{"2":{"22":5,"69":4,"94":1}}],["zsh",{"2":{"22":25,"69":6,"94":1}}],["zypper",{"2":{"18":2}}],["zh",{"2":{"14":4}}],["18",{"2":{"105":3,"106":2,"107":2,"117":2}}],["11",{"2":{"85":1}}],["17",{"2":{"67":2,"78":1,"79":1,"80":1,"81":1,"82":1,"85":2,"86":1}}],["15",{"2":{"43":5,"117":2}}],["10",{"2":{"43":3}}],["16",{"2":{"29":1,"30":1,"67":2}}],["14",{"2":{"20":1,"27":1,"67":4}}],["1",{"0":{"18":1},"2":{"20":1,"48":1,"50":1,"83":2,"91":1,"105":4,"109":1,"116":1}}],["└─",{"2":{"14":4}}],["│",{"2":{"14":1}}],["├─",{"2":{"14":5}}],["简体中文",{"2":{"14":1}}],["5",{"0":{"27":1},"2":{"11":1,"29":1,"30":1,"43":2,"67":2,"85":1}}],["jruby",{"2":{"109":1}}],["j",{"2":{"103":1,"107":1}}],["jthegedus",{"2":{"97":1}}],["java",{"2":{"72":3}}],["javascript",{"2":{"10":2,"11":1,"119":1}}],["jobs",{"2":{"126":1}}],["john",{"2":{"53":1,"55":1,"56":1}}],["join",{"2":{"22":4,"69":2}}],["just",{"2":{"27":1,"28":1,"40":1,"74":1,"83":1,"93":1,"113":1,"123":1}}],["js",{"2":{"10":2,"11":1,"13":5,"14":3,"15":1,"24":1,"27":1,"67":1,"70":1,"106":1,"107":1}}],["json",{"2":{"4":2,"10":1,"11":2,"119":1}}],[">>",{"2":{"22":15}}],[">",{"2":{"6":1,"7":1,"109":3}}],["39cb398vb39",{"2":{"43":1}}],["3",{"0":{"22":1},"2":{"6":2,"11":1,"43":4,"67":2,"78":1,"85":2,"86":1,"105":1,"109":2,"119":1}}],["empty",{"2":{"59":5}}],["earlier",{"2":{"107":1}}],["early",{"2":{"49":1,"76":1}}],["each",{"2":{"14":1,"15":1,"17":1,"25":1,"32":1,"33":1,"34":1,"39":1,"48":1,"102":1,"103":1,"105":3}}],["even",{"2":{"123":1}}],["eventually",{"2":{"106":1}}],["event",{"2":{"48":2}}],["events",{"2":{"48":2,"49":3,"76":1}}],["everyone",{"2":{"33":1}}],["every",{"2":{"4":1,"87":1}}],["eg",{"2":{"31":1}}],["error",{"2":{"28":1}}],["erlang",{"2":{"15":1,"71":1,"74":1,"75":1,"78":1,"79":2,"80":2,"81":2,"82":2,"85":3,"86":1}}],["effect",{"2":{"22":1}}],["effort",{"2":{"8":1}}],["either",{"2":{"22":2,"84":1,"105":1,"113":1}}],["edit",{"2":{"22":3,"43":1,"69":3}}],["echo",{"2":{"22":7,"51":1}}],["elm",{"2":{"71":2}}],["else",{"2":{"50":1,"56":1,"69":2,"107":1}}],["elapsed",{"2":{"48":1}}],["elv",{"2":{"22":18,"69":6}}],["elvish",{"2":{"22":18,"52":1,"69":9}}],["elixir",{"2":{"15":1,"43":1,"70":1,"83":4,"124":2}}],["etc",{"0":{"36":1},"2":{"22":3,"33":1,"52":1,"69":2,"70":1,"87":1,"94":2,"99":1}}],["e",{"2":{"22":9,"33":1}}],["encompasses",{"2":{"42":1}}],["env",{"0":{"64":1,"115":1},"2":{"41":1,"64":1,"87":1,"102":1,"103":1,"115":3,"116":2}}],["environments",{"2":{"39":1,"125":1}}],["environment",{"0":{"52":1,"103":1},"1":{"53":1,"54":1,"55":1,"56":1,"57":1,"58":1},"2":{"33":1,"37":2,"41":1,"42":1,"44":1,"50":1,"52":2,"59":1,"83":2,"87":2,"88":1,"102":1,"103":3,"105":2,"106":1,"107":2,"109":1,"110":2,"111":2,"112":3,"113":2,"114":1,"115":3,"116":2,"117":2,"118":1,"119":2,"120":1,"121":1,"122":1,"128":1,"129":1}}],["entering",{"2":{"88":1}}],["entire",{"2":{"39":1,"73":1}}],["entries",{"2":{"22":1}}],["entry",{"2":{"22":1}}],["ensuring",{"2":{"33":1}}],["ensures",{"2":{"40":1}}],["ensure",{"2":{"22":2,"60":1,"107":1,"128":1}}],["enforces",{"2":{"27":1}}],["enforced",{"2":{"7":1}}],["end",{"2":{"22":1,"96":1}}],["en",{"2":{"14":3}}],["english",{"2":{"14":1}}],["engine",{"2":{"10":1}}],["enabled",{"2":{"11":1,"118":1}}],["enable",{"2":{"6":1,"31":1}}],["exists",{"2":{"56":1,"59":1,"66":1}}],["existing",{"0":{"31":1},"2":{"5":2,"16":1,"31":1,"37":1}}],["exit",{"2":{"49":1,"106":2,"107":2,"109":2,"110":2,"111":2,"112":2,"113":2}}],["exceeded",{"2":{"48":1}}],["exec",{"0":{"63":1,"115":1,"116":1},"2":{"41":1,"63":1,"87":6,"102":2,"115":2,"116":4}}],["executing",{"2":{"51":1,"83":1,"115":1}}],["execution",{"2":{"6":1,"27":1,"28":1,"41":1,"115":1,"116":1,"117":1,"123":1}}],["executable",{"0":{"93":1},"2":{"41":1,"51":1,"55":1,"66":1,"87":4,"99":1,"102":1,"115":1,"116":8,"123":3,"124":3}}],["executables",{"2":{"34":2,"36":1,"66":2,"67":1,"93":2,"114":2,"123":2}}],["executed",{"2":{"48":1,"49":1,"51":1,"87":1,"123":1}}],["executes",{"2":{"41":1,"63":1,"87":1,"115":1,"116":1}}],["execute",{"2":{"5":1,"28":2,"30":1,"34":1,"51":2,"87":1,"93":1,"102":3,"120":1,"121":1,"122":1,"123":1,"125":1}}],["external",{"2":{"128":1}}],["extensions",{"2":{"123":1}}],["extension",{"0":{"123":1},"2":{"123":1}}],["extended",{"2":{"33":1}}],["extract",{"2":{"119":1}}],["extracted",{"2":{"13":1}}],["exact",{"2":{"27":1,"33":1,"39":1,"40":1,"119":1,"130":1}}],["examples",{"2":{"7":1}}],["example",{"0":{"59":1},"2":{"4":1,"6":1,"29":1,"43":1,"45":1,"51":1,"66":1,"67":1,"83":1,"101":1,"105":1,"112":1,"114":1,"116":1,"123":2,"125":1,"128":1}}],["experience",{"2":{"128":1}}],["expect",{"2":{"123":1}}],["expected",{"2":{"92":1}}],["expand",{"2":{"22":1}}],["export",{"2":{"14":1,"53":1,"54":1,"55":1,"56":1,"57":1}}],["exported",{"2":{"14":1}}],["exhaustive",{"2":{"18":1}}],["mod",{"2":{"119":1}}],["module",{"2":{"69":6}}],["most",{"2":{"58":1,"94":1}}],["more",{"2":{"3":1,"4":1,"14":1,"31":1,"32":1,"37":1,"38":1,"39":1,"48":1,"70":1,"76":2,"88":1}}],["multiple",{"2":{"33":1,"43":1}}],["must",{"2":{"7":1,"14":1,"22":4,"53":1,"55":1,"56":1,"105":1,"106":2,"110":1,"113":1,"114":1,"116":2,"124":1}}],["my",{"2":{"22":5,"94":1,"126":1,"127":2}}],["mitigate",{"2":{"128":1}}],["mit",{"2":{"96":1}}],["mix",{"2":{"83":1}}],["missing",{"2":{"38":1}}],["migration",{"2":{"31":1}}],["might",{"2":{"18":1}}],["minutes",{"2":{"48":2,"76":1}}],["minimal",{"2":{"11":1}}],["minor",{"2":{"7":1}}],["md",{"2":{"14":6}}],["me",{"2":{"96":1}}],["meant",{"2":{"87":1}}],["means",{"2":{"87":1}}],["mean",{"2":{"40":1}}],["method",{"2":{"21":2,"52":1,"60":1,"68":4,"71":1,"76":1,"105":1,"130":1}}],["methods",{"0":{"21":1},"2":{"22":1}}],["menu",{"2":{"14":1}}],["message",{"2":{"7":2}}],["messages",{"2":{"7":1}}],["matrix",{"2":{"126":2}}],["matching",{"2":{"105":1}}],["matches",{"2":{"22":1}}],["marked",{"2":{"106":1}}],["markdown",{"2":{"11":1,"14":2}}],["main",{"2":{"87":1,"126":1}}],["maintainers",{"0":{"97":1}}],["maintaining",{"2":{"15":1}}],["maintenance",{"2":{"15":1,"89":1}}],["made",{"2":{"75":1,"87":1}}],["master",{"2":{"41":1,"68":1}}],["macos",{"2":{"18":2,"22":7,"25":1,"38":1,"58":1,"69":3,"125":1,"126":1}}],["machine",{"2":{"1":1,"44":1,"76":1,"119":1}}],["makes",{"2":{"124":1}}],["makepkg",{"2":{"21":1}}],["make",{"2":{"12":1,"103":1,"107":1}}],["making",{"2":{"2":1,"65":1}}],["major",{"2":{"7":1}}],["man",{"2":{"123":3}}],["manipulated",{"2":{"87":1}}],["manipulation",{"2":{"33":1}}],["managing",{"2":{"39":1}}],["management",{"2":{"29":1,"36":1,"39":1}}],["manages",{"2":{"28":1,"38":1}}],["managers",{"2":{"31":1,"33":1,"45":1,"60":2}}],["manager",{"2":{"18":2,"33":1,"36":2,"38":2,"39":1,"40":2,"69":9}}],["managed",{"2":{"10":1,"29":2,"43":1,"49":1,"84":1,"89":1,"93":1,"109":1,"110":1}}],["manage",{"2":{"1":2,"17":1,"23":1,"32":1,"34":1,"37":1,"38":1,"39":1,"40":1,"41":1,"93":1}}],["manpath",{"2":{"22":1}}],["many",{"2":{"22":1,"32":1,"39":1,"40":1,"61":1,"67":1,"75":1,"109":1}}],["manually",{"2":{"4":1,"22":2}}],["may",{"2":{"1":2,"18":1,"22":2,"69":3,"91":1,"109":1,"110":1,"119":1,"127":1,"128":1}}],["x",{"2":{"76":2}}],["x26",{"2":{"2":1,"6":1,"22":2,"69":2}}],["x3c",{"2":{"1":1,"7":3,"10":1,"41":38,"63":1,"64":1,"66":2,"67":1,"71":3,"74":1,"75":1,"78":2,"79":3,"80":3,"81":3,"82":3,"83":13,"84":1,"85":1,"86":2,"116":3,"125":6,"126":1,"127":5,"130":2}}],["piping",{"2":{"105":1}}],["pipeline",{"2":{"12":1,"129":1}}],["pkgbuild",{"2":{"68":1}}],["python",{"2":{"29":1,"43":4,"84":1}}],["ps1",{"2":{"22":7}}],["p",{"2":{"22":4}}],["personal",{"2":{"129":1}}],["periodically",{"2":{"76":1}}],["per",{"2":{"22":3,"31":1,"36":2,"69":2,"102":1,"111":1,"113":2}}],["performs",{"2":{"28":1}}],["perf",{"2":{"7":1}}],["potentially",{"2":{"105":1}}],["portable",{"2":{"101":1,"105":1}}],["portuguese",{"2":{"14":1}}],["powershell",{"2":{"22":7}}],["popular",{"2":{"15":1}}],["post",{"0":{"120":1,"121":1},"2":{"25":1,"51":3,"102":2,"103":1,"120":3,"121":4,"122":2}}],["possible",{"2":{"4":1,"11":1,"51":1,"123":1,"124":1}}],["posix",{"2":{"1":1,"22":3}}],["pt",{"2":{"14":6}}],["pruning",{"2":{"75":1}}],["presence",{"2":{"107":1}}],["present",{"2":{"43":1,"60":1,"106":1,"114":1,"119":1}}],["predate",{"2":{"106":1}}],["previous",{"2":{"121":1}}],["previously",{"2":{"49":1}}],["prevous",{"2":{"103":1}}],["prev",{"2":{"103":1,"121":1}}],["prepare",{"2":{"102":1,"115":1}}],["prepend=no",{"2":{"58":1}}],["prepend",{"0":{"58":1},"2":{"2":1,"22":1,"58":1}}],["pre",{"0":{"122":1},"2":{"51":5,"102":1,"120":2,"121":2,"122":3}}],["precedence",{"2":{"50":1,"57":1}}],["prefer",{"2":{"71":1}}],["preferred",{"2":{"21":1,"68":1}}],["prefix",{"2":{"22":12,"69":6}}],["priority",{"2":{"22":1,"58":1}}],["primarily",{"2":{"18":1}}],["printing",{"2":{"6":1}}],["printed",{"2":{"6":2,"110":1}}],["printf",{"2":{"6":2}}],["print",{"2":{"6":1,"41":2,"65":1,"105":2,"109":1,"110":1,"116":2}}],["pr",{"2":{"12":3,"14":1}}],["providing",{"2":{"123":1}}],["providers",{"2":{"109":1}}],["provider",{"2":{"109":2}}],["provided",{"2":{"41":2,"87":1,"105":3,"106":1,"107":1,"109":2,"117":3,"118":1,"120":1,"121":1,"122":1,"130":1}}],["provides",{"2":{"33":1,"51":1,"123":1,"126":1,"128":1}}],["provide",{"2":{"8":1,"41":1,"67":1,"123":1}}],["programs",{"2":{"87":1}}],["program",{"2":{"87":2}}],["programming",{"2":{"39":1}}],["proc",{"2":{"50":1}}],["properly",{"2":{"22":2,"91":1,"92":1}}],["profile",{"2":{"22":14,"69":3,"94":1}}],["production",{"2":{"8":1}}],["projects",{"0":{"35":1,"89":1},"1":{"36":1,"37":1,"38":1,"39":1},"2":{"8":1,"89":2}}],["project",{"2":{"3":1,"15":1,"17":1,"30":1,"32":2,"33":1,"83":1,"85":1,"88":1,"89":1}}],["publish",{"2":{"129":1}}],["public",{"2":{"129":1}}],["purposes",{"2":{"24":1}}],["pulled",{"2":{"105":1}}],["pull",{"0":{"7":1,"12":1},"2":{"2":1,"7":4,"125":1,"126":1}}],["pushing",{"2":{"105":1}}],["push",{"2":{"2":1,"126":1}}],["places",{"2":{"106":1,"107":1}}],["placed",{"2":{"22":1,"106":2}}],["please",{"2":{"2":1,"5":1,"7":1,"12":1,"16":1,"69":1,"124":1}}],["plugin",{"0":{"24":1,"25":1,"26":1,"48":1,"49":1,"51":1,"99":1,"101":1,"120":1,"121":1,"122":1,"130":1},"1":{"25":1,"26":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1},"2":{"1":3,"10":1,"15":1,"17":1,"22":7,"23":1,"24":1,"25":2,"26":1,"27":1,"31":1,"33":1,"34":1,"36":1,"37":1,"40":2,"41":12,"44":2,"45":1,"48":7,"49":12,"51":11,"59":2,"66":1,"69":1,"70":1,"71":4,"72":4,"73":1,"74":4,"75":4,"76":4,"78":1,"87":5,"88":1,"99":1,"100":3,"102":9,"103":8,"105":1,"106":1,"107":1,"109":3,"110":4,"111":2,"112":3,"113":3,"114":1,"115":1,"116":3,"117":1,"118":1,"119":1,"120":14,"121":16,"122":12,"123":4,"124":2,"125":18,"126":4,"127":3,"130":4}}],["plugins",{"0":{"15":1,"70":1},"1":{"71":1,"72":1,"73":1,"74":1,"75":1,"76":1},"2":{"1":1,"3":1,"10":1,"15":6,"25":1,"32":1,"34":1,"41":6,"43":1,"45":1,"49":2,"56":1,"66":1,"67":1,"70":2,"71":2,"73":2,"74":1,"89":1,"93":1,"106":5,"107":1,"116":1,"123":8,"126":1}}],["page",{"2":{"31":1,"95":1,"105":1}}],["passing",{"0":{"88":1},"2":{"87":1}}],["passthrough",{"2":{"43":1}}],["pass",{"2":{"29":1,"88":1,"127":1}}],["pacman",{"2":{"18":2,"21":1,"22":7,"60":1,"68":1,"69":4}}],["packages",{"2":{"38":1,"39":2,"41":3}}],["package",{"2":{"10":1,"11":1,"18":2,"22":1,"38":2,"39":3,"40":1,"41":15,"60":2,"66":1,"69":9,"74":1,"87":8,"119":1}}],["parsing",{"2":{"119":1}}],["parse",{"0":{"119":1},"2":{"102":1,"119":2}}],["parser",{"2":{"1":1,"102":1}}],["parameter",{"2":{"125":1}}],["parameters",{"2":{"105":1,"106":1,"107":1,"117":1,"118":1,"120":1,"121":1,"122":1}}],["paragraph",{"2":{"110":1}}],["parent",{"2":{"55":1,"59":1}}],["part",{"2":{"58":1}}],["particular",{"2":{"34":1,"41":1,"60":1,"83":1}}],["party",{"0":{"15":1},"2":{"124":1}}],["patterns",{"2":{"51":1}}],["patch",{"2":{"7":1}}],["path>",{"2":{"116":2,"127":1}}],["paths",{"0":{"114":1},"2":{"2":1,"102":2,"107":1,"114":3}}],["path",{"0":{"116":1},"2":{"2":2,"22":13,"41":2,"43":2,"53":2,"55":1,"56":1,"58":5,"87":6,"102":2,"103":7,"105":1,"106":9,"107":11,"109":3,"110":3,"111":3,"112":3,"113":3,"114":8,"115":4,"116":17,"117":1,"118":3,"119":3,"120":4,"121":3,"122":3,"123":1,"127":1,"128":2}}],["utilise",{"2":{"129":1}}],["utilities",{"2":{"123":1}}],["utility",{"2":{"22":1}}],["util",{"2":{"41":2,"64":1,"115":2,"116":2}}],["utils",{"2":{"41":1}}],["uz",{"2":{"22":1,"69":1}}],["undesirable",{"2":{"109":1}}],["under",{"2":{"14":2,"83":1}}],["unavoidable",{"2":{"105":1}}],["unused",{"2":{"75":1}}],["unset",{"2":{"53":1,"54":1,"55":1,"56":1,"57":1,"58":1}}],["unix",{"2":{"92":1}}],["uninstalls",{"2":{"117":1}}],["uninstalling",{"2":{"78":1}}],["uninstalled",{"2":{"51":1}}],["uninstall",{"0":{"69":1,"86":1,"117":1},"2":{"41":1,"51":1,"69":18,"86":2,"102":2,"117":3}}],["unique",{"2":{"39":1}}],["unit",{"2":{"1":1}}],["unload",{"2":{"37":1}}],["unless",{"2":{"22":2,"54":1}}],["urls",{"2":{"41":3,"72":1}}],["url>",{"2":{"41":1,"71":1,"125":2,"130":1}}],["url",{"2":{"14":1,"41":1,"48":1,"49":1,"71":2,"103":2,"120":2,"125":1,"130":3}}],["ubuntu",{"2":{"8":1,"126":1}}],["usage",{"2":{"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1}}],["usually",{"2":{"22":1,"30":1}}],["us",{"2":{"14":1}}],["using",{"0":{"31":1},"2":{"4":1,"6":1,"7":1,"12":1,"21":1,"22":6,"33":1,"40":1,"50":1,"68":1,"69":1,"92":1,"99":1,"105":1,"110":1,"111":1,"112":1,"113":1,"123":2,"124":1,"127":1}}],["user",{"2":{"38":1,"42":1,"44":1,"109":1,"117":1}}],["users",{"2":{"11":1,"22":1,"60":1,"85":3,"118":1,"123":1}}],["user>",{"2":{"1":1,"10":1}}],["used",{"2":{"5":1,"13":1,"15":1,"41":3,"43":1,"44":1,"45":1,"46":2,"51":1,"53":1,"54":1,"55":1,"57":1,"60":2,"69":1,"70":1,"75":1,"103":1,"109":2,"115":1,"116":1,"124":1}}],["uses",{"2":{"4":1,"87":1,"93":1,"123":1,"126":1}}],["use",{"0":{"40":1,"46":1},"2":{"1":1,"2":1,"4":3,"7":1,"8":1,"11":1,"21":1,"22":8,"43":4,"44":1,"45":2,"50":2,"52":1,"57":1,"59":10,"68":1,"69":3,"78":1,"84":1,"87":1,"100":1,"103":1,"107":2,"123":1,"124":3,"130":2}}],["useful",{"2":{"1":1,"23":1,"60":1,"103":1,"107":1,"119":1,"125":1}}],["upgrade",{"2":{"46":1,"68":2}}],["upon",{"2":{"38":1,"52":1,"88":1}}],["upstream",{"2":{"38":2,"39":1}}],["updates",{"2":{"43":1,"60":2,"74":1}}],["updated",{"2":{"22":4,"51":1,"102":1,"103":1,"121":1}}],["update",{"0":{"68":1,"74":1,"121":1},"2":{"7":1,"41":8,"46":1,"49":1,"51":2,"60":2,"68":3,"74":5,"100":1,"102":1,"121":7}}],["up",{"2":{"2":1,"28":1,"34":1,"39":1}}],["rvmrc",{"2":{"118":1}}],["rbx",{"2":{"109":1}}],["rbenv",{"0":{"36":1},"2":{"31":1,"36":1,"45":1}}],["rs",{"2":{"69":4}}],["rf",{"2":{"69":26}}],["rm",{"2":{"49":1,"69":4}}],["rate",{"0":{"128":1},"1":{"129":1},"2":{"128":1}}],["rather",{"2":{"61":1}}],["ran",{"2":{"51":1}}],["range",{"2":{"48":1}}],["raw",{"2":{"1":1}}],["rocky",{"2":{"25":1}}],["root",{"2":{"13":2,"14":3}}],["rc",{"2":{"22":9,"69":3}}],["rules",{"0":{"101":1}}],["ruby",{"2":{"15":1,"31":1,"43":2,"45":3,"70":1,"102":1,"109":6,"118":1}}],["runner",{"2":{"92":1}}],["running",{"0":{"93":1},"2":{"4":1,"8":1,"32":1,"102":1,"123":5}}],["runshell",{"2":{"125":1}}],["runs",{"2":{"41":1,"83":1,"106":1,"115":1,"116":1,"126":1}}],["run",{"2":{"11":2,"18":1,"34":2,"43":2,"69":14,"92":1,"99":1,"100":1}}],["runtimes",{"2":{"33":1}}],["runtime",{"2":{"10":1,"17":2,"36":2}}],["regardless",{"2":{"119":1}}],["regarding",{"2":{"90":1}}],["registered",{"2":{"41":1}}],["rebuild",{"2":{"68":1}}],["returns",{"2":{"87":2}}],["returning",{"2":{"87":1}}],["return",{"2":{"67":1,"116":2,"119":1}}],["returned",{"2":{"41":1,"105":2}}],["recalculation",{"2":{"66":1}}],["recursive",{"2":{"49":1}}],["recreates",{"2":{"66":1}}],["recreate",{"2":{"41":1,"114":1}}],["recommendation",{"2":{"71":1}}],["recommended",{"2":{"68":1,"105":1,"130":1}}],["recommend",{"2":{"21":1,"125":1}}],["removing",{"2":{"49":1,"75":1,"117":1}}],["removed",{"2":{"49":1,"102":1,"106":1,"122":1}}],["remove",{"0":{"75":1,"122":1},"2":{"41":3,"49":5,"51":2,"69":40,"75":3,"102":1,"122":6}}],["removes",{"2":{"36":1}}],["remote",{"2":{"2":1}}],["responsible",{"2":{"89":1}}],["result",{"2":{"48":1,"59":1}}],["resources",{"2":{"41":1}}],["resolving",{"2":{"94":1}}],["resolves",{"2":{"103":1,"123":1}}],["resolve",{"2":{"27":1}}],["resolution",{"2":{"28":1}}],["reshimed",{"2":{"51":1}}],["reshim",{"0":{"66":1},"2":{"41":1,"51":2,"66":2,"93":1,"94":1,"114":1}}],["restart",{"2":{"22":1}}],["reason",{"2":{"88":1}}],["really",{"2":{"87":1}}],["rearrange",{"2":{"22":1}}],["reads",{"2":{"118":1,"119":1}}],["readme",{"2":{"14":4,"88":1,"123":1}}],["reading",{"2":{"7":1,"119":1}}],["read",{"2":{"5":1,"13":1,"22":1,"45":2,"117":1,"124":1}}],["refreshed",{"2":{"76":1}}],["ref>",{"2":{"41":1,"125":1}}],["ref",{"2":{"41":2,"43":2,"78":1,"103":6,"106":2,"107":2,"109":2,"110":2,"111":2,"112":2,"113":2,"114":2,"115":2,"116":2,"118":2,"121":5,"125":1}}],["refs",{"2":{"41":1}}],["references",{"2":{"14":1}}],["reference",{"2":{"13":1,"29":1,"31":1,"78":1}}],["refactor",{"2":{"7":1}}],["relative",{"2":{"102":1,"114":1,"116":2,"123":1,"127":1}}],["relate",{"2":{"89":1}}],["related",{"0":{"35":1},"1":{"36":1,"37":1,"38":1,"39":1},"2":{"89":1,"120":1,"121":1,"122":1,"123":1}}],["rely",{"2":{"59":1}}],["relevant",{"2":{"15":1,"113":1}}],["release",{"0":{"46":1},"2":{"7":3,"12":1,"41":1,"44":1,"46":2,"59":1,"68":1,"109":1}}],["releases",{"0":{"7":1,"12":1},"2":{"105":1}}],["relies",{"2":{"12":1,"68":1}}],["replacing",{"2":{"123":1}}],["replace",{"2":{"11":1}}],["reproducible",{"2":{"39":1}}],["representing",{"2":{"13":1}}],["represent",{"2":{"13":1}}],["report",{"2":{"65":1}}],["repository",{"0":{"48":1,"49":1,"73":1,"76":1},"2":{"2":1,"3":2,"30":1,"33":1,"41":1,"44":2,"48":3,"49":8,"59":2,"71":1,"74":1,"76":2,"100":1,"113":1,"125":1,"129":1,"130":1}}],["repo",{"2":{"1":1,"15":2,"16":1,"25":1,"36":1,"41":3,"49":1,"71":1,"76":1,"99":1,"100":3,"103":2,"126":1,"129":1,"130":1}}],["reduce",{"2":{"4":1}}],["reverse",{"2":{"105":1}}],["revert",{"2":{"7":1}}],["revs",{"0":{"4":1},"2":{"4":6}}],["review",{"2":{"2":1}}],["requires",{"2":{"18":1,"105":2,"111":1,"112":1,"113":1}}],["require",{"2":{"14":1,"22":1,"93":1}}],["required",{"0":{"104":1},"1":{"105":1,"106":1,"107":1},"2":{"2":1,"11":1,"18":1,"33":1,"44":1,"100":1,"106":1,"110":1,"112":1,"124":1,"125":1}}],["requests",{"0":{"7":1,"12":1}}],["request",{"2":{"2":1,"7":4,"125":1,"126":1}}],["h",{"2":{"128":1}}],["hw",{"2":{"50":1}}],["hook",{"2":{"102":3}}],["hooks",{"0":{"51":1},"2":{"25":1,"51":2,"120":1,"121":1,"122":1}}],["hosted",{"2":{"126":1}}],["host",{"2":{"92":1}}],["however",{"2":{"37":1}}],["how",{"0":{"34":1},"2":{"23":1,"70":1,"87":1}}],["home",{"2":{"22":2,"44":1,"53":1,"55":1,"56":1,"118":1}}],["homebrew",{"0":{"38":1},"2":{"18":1,"21":1,"22":12,"38":2,"52":1,"60":1,"68":1,"69":7}}],["high",{"2":{"96":1}}],["highest",{"2":{"22":1,"58":1}}],["highly",{"2":{"21":1}}],["history",{"2":{"7":1}}],["headings",{"2":{"110":1}}],["heading",{"2":{"110":1}}],["head",{"2":{"41":1,"68":2}}],["helpful",{"2":{"88":1}}],["helper",{"2":{"21":1,"22":3,"27":1,"65":1,"68":1,"87":2}}],["help",{"0":{"110":1,"111":1,"112":1,"113":1},"2":{"15":1,"32":1,"41":2,"87":1,"102":4,"110":3,"111":3,"112":3,"113":3,"123":3,"125":1}}],["here",{"2":{"1":1,"3":1,"18":1,"22":1,"89":2,"90":1}}],["haxe",{"2":{"123":3}}],["halcyon",{"2":{"72":1}}],["handle",{"2":{"70":1}}],["handled",{"2":{"22":1}}],["hans",{"2":{"14":4}}],["hashnuke",{"2":{"96":1,"97":1}}],["has",{"2":{"14":1,"15":1,"22":2,"25":1,"32":1,"48":2,"49":1,"68":1,"69":1,"76":1,"102":2,"103":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1,"120":1,"121":1,"122":1,"123":1}}],["have",{"2":{"11":1,"13":1,"22":2,"25":1,"27":1,"29":1,"34":1,"69":2,"93":1,"94":2,"118":1}}],["html",{"2":{"11":1}}],["https",{"2":{"1":5,"10":3,"20":1,"21":1,"26":1,"41":2,"71":1,"72":2,"125":1,"127":1,"130":1}}],["wsl",{"2":{"92":1}}],["wsl2",{"0":{"92":1},"2":{"92":3}}],["wsl1",{"0":{"91":1},"2":{"91":2}}],["wrapper",{"2":{"87":1}}],["wrappers",{"2":{"87":1}}],["wrapping",{"2":{"87":1}}],["written",{"2":{"36":1}}],["writing",{"2":{"5":1,"11":1,"105":1}}],["writes",{"2":{"83":2}}],["write",{"2":{"4":1}}],["way",{"2":{"33":1}}],["warning",{"2":{"22":3,"28":1,"124":1,"129":1}}],["was",{"2":{"11":2,"36":1,"66":1,"103":2,"106":1,"107":1,"120":1,"121":1,"122":1}}],["want",{"2":{"2":1,"54":1,"74":1,"83":1,"88":2}}],["worry",{"2":{"60":1}}],["workflow",{"2":{"126":1}}],["workflows",{"2":{"3":1,"33":1,"61":1,"126":1}}],["works",{"0":{"34":1},"2":{"125":1}}],["working",{"2":{"28":1,"30":1,"33":1,"92":1}}],["workaround",{"2":{"22":1}}],["work",{"2":{"15":1,"22":1,"91":1,"92":2}}],["would",{"2":{"1":1,"11":1,"59":1,"114":1}}],["well",{"2":{"42":1}}],["welcome",{"2":{"15":1}}],["website",{"2":{"7":2,"105":1}}],["we",{"2":{"3":1,"11":2,"21":1,"24":1,"25":2,"27":4,"38":1,"91":1,"92":1,"105":1,"125":2}}],["who",{"2":{"118":1}}],["what",{"2":{"43":1,"51":2,"69":2,"93":1,"119":1}}],["why",{"0":{"40":1}}],["whether",{"2":{"58":1,"109":1,"119":1}}],["whenever",{"2":{"43":1}}],["when",{"2":{"4":2,"11":1,"12":1,"28":1,"30":1,"34":2,"48":1,"49":1,"50":1,"57":1,"60":1,"65":1,"67":1,"78":1,"87":1,"92":2,"103":1,"107":1,"119":1,"127":1}}],["whereas",{"2":{"93":1}}],["where",{"2":{"2":1,"25":1,"41":1,"56":1,"78":1,"87":2,"103":2,"106":2,"107":2,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1,"120":1,"121":1,"122":1,"123":1}}],["which",{"2":{"1":1,"7":1,"12":1,"22":3,"27":1,"28":1,"33":1,"34":1,"36":2,"41":1,"43":1,"68":1,"69":1,"87":2,"102":2,"103":1,"106":1,"109":1,"115":1,"116":1,"118":1,"119":1,"123":1,"128":1}}],["wisely",{"2":{"124":1}}],["wish",{"2":{"1":1,"17":1}}],["windows",{"2":{"91":1,"92":2}}],["will",{"2":{"6":3,"7":3,"14":1,"22":6,"24":1,"27":2,"28":3,"29":2,"30":2,"43":3,"49":2,"53":1,"54":1,"56":1,"66":1,"74":1,"75":1,"76":1,"93":1,"105":1,"106":3,"107":1,"109":1,"110":1,"114":2,"119":1,"123":2,"124":1,"125":1,"130":1}}],["within",{"2":{"13":1,"33":1}}],["without",{"2":{"2":1,"4":1,"28":1}}],["with",{"2":{"1":3,"4":2,"5":1,"6":2,"7":2,"10":3,"11":3,"12":1,"13":2,"14":2,"22":19,"27":2,"29":1,"32":1,"33":2,"34":1,"37":2,"39":1,"40":2,"41":3,"42":1,"43":2,"44":2,"45":1,"49":2,"51":1,"52":1,"59":1,"67":2,"69":13,"75":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"87":1,"99":1,"100":2,"102":1,"105":3,"106":2,"107":4,"109":2,"110":2,"111":2,"112":2,"113":2,"116":2,"117":1,"119":1,"120":1,"121":1,"122":1,"125":1,"126":1,"129":1}}],["f",{"2":{"69":3}}],["far",{"2":{"124":1}}],["faq",{"0":{"90":1},"1":{"91":1,"92":1,"93":1,"94":1}}],["facilitate",{"2":{"61":1}}],["factor",{"2":{"36":1}}],["familiarity",{"2":{"40":1}}],["familiar",{"2":{"32":1}}],["failure",{"2":{"106":2,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1}}],["fail",{"2":{"28":1}}],["fall",{"2":{"14":1}}],["fallback",{"0":{"84":1},"2":{"11":1,"43":1,"45":1}}],["fpath=",{"2":{"22":1,"69":1}}],["fpath",{"2":{"22":3}}],["free",{"2":{"110":1,"112":1}}],["front",{"2":{"22":1,"58":3}}],["from",{"2":{"10":1,"28":2,"31":2,"41":1,"43":1,"48":1,"49":1,"59":1,"78":1,"102":1,"105":2,"106":1,"107":1,"109":3,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":2,"120":1,"121":1,"122":1}}],["framework",{"2":{"22":9,"69":1,"94":1}}],["friendly",{"2":{"22":2}}],["fever",{"2":{"96":1}}],["fetch",{"2":{"68":1,"74":1}}],["few",{"2":{"13":1}}],["feature",{"2":{"7":2,"11":1,"37":1,"123":2,"124":1}}],["features",{"2":{"2":1,"99":1}}],["feat",{"2":{"7":4}}],["full",{"0":{"59":1},"2":{"7":1,"51":1,"102":1,"103":3,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1,"123":1}}],["further",{"2":{"6":1}}],["functionality",{"2":{"1":1}}],["flags",{"2":{"101":1,"107":1,"112":1}}],["flag",{"2":{"6":1}}],["fi",{"2":{"128":1}}],["final",{"2":{"87":1}}],["finally",{"2":{"43":1,"87":1}}],["find",{"2":{"69":3,"123":1}}],["filter",{"2":{"41":2,"80":1,"81":1,"105":1,"109":6}}],["filenames",{"0":{"118":1},"2":{"102":2,"118":3}}],["filename=tool",{"2":{"54":1}}],["filename",{"0":{"54":1},"2":{"54":2,"59":2}}],["file=",{"2":{"53":1}}],["files",{"0":{"31":1},"2":{"3":2,"11":1,"13":1,"14":2,"17":1,"28":1,"31":2,"33":1,"36":1,"42":1,"45":2,"54":1,"69":14,"102":2,"106":1,"107":2,"114":1,"119":1}}],["file",{"0":{"45":1,"53":1,"119":1},"2":{"3":1,"4":5,"6":1,"13":1,"30":1,"31":2,"33":2,"41":2,"43":9,"44":4,"53":1,"54":1,"59":4,"60":1,"83":2,"87":1,"94":1,"102":1,"103":2,"118":1,"119":6,"123":2,"124":3,"127":1}}],["fish",{"2":{"22":19,"52":1,"69":17,"87":1,"94":2}}],["first",{"0":{"15":1},"2":{"14":1,"25":1,"51":1,"109":1,"124":1}}],["fixes",{"2":{"2":1}}],["fix",{"2":{"2":2,"7":4,"123":1}}],["foox",{"2":{"116":1}}],["foo",{"2":{"14":2,"51":2,"78":2,"116":4,"123":11,"124":2}}],["folder",{"2":{"14":1}}],["follow",{"2":{"7":1,"22":2,"32":1,"68":1,"69":4}}],["follows",{"2":{"7":1,"76":1}}],["following",{"2":{"2":1,"3":1,"4":1,"22":17,"31":1,"43":2,"48":1,"49":1,"51":2,"52":1,"59":2,"83":1,"130":1}}],["found",{"2":{"12":1,"119":1}}],["focus",{"2":{"11":1}}],["form",{"2":{"110":1,"112":1}}],["formats",{"2":{"119":1}}],["format",{"2":{"2":2,"7":5,"11":2,"12":1,"43":1,"44":1,"83":1,"105":1,"113":1,"117":1}}],["formatter",{"2":{"1":1}}],["force",{"0":{"58":1},"2":{"22":1,"58":3,"66":1,"69":5}}],["forcily",{"2":{"22":1}}],["for",{"0":{"101":1,"123":1},"2":{"1":3,"2":2,"3":1,"4":2,"7":2,"8":2,"10":1,"11":1,"12":1,"13":3,"14":3,"15":3,"16":2,"17":1,"18":1,"22":6,"24":1,"25":1,"27":1,"28":1,"30":1,"31":2,"32":3,"34":1,"36":3,"37":1,"38":2,"39":1,"40":3,"41":7,"43":2,"45":1,"48":1,"51":2,"52":1,"60":2,"63":1,"66":5,"67":1,"68":1,"70":1,"73":1,"75":1,"76":2,"83":4,"84":1,"87":1,"88":2,"89":2,"91":2,"92":2,"93":1,"101":1,"102":6,"103":2,"105":1,"106":5,"107":4,"109":3,"110":3,"111":2,"112":4,"113":2,"114":6,"115":4,"116":4,"117":1,"118":2,"119":1,"123":2,"124":1,"125":2,"126":1,"128":1,"130":1}}],["fork",{"2":{"1":2,"10":2}}],["npm",{"2":{"66":2,"67":2,"93":1,"117":1}}],["nproc",{"2":{"50":1}}],["ncpu",{"2":{"50":1}}],["nix",{"2":{"39":1}}],["nixos",{"0":{"39":1},"2":{"39":3}}],["nvm",{"0":{"36":1},"2":{"36":1}}],["nvmrc",{"2":{"31":1}}],["n$env",{"2":{"22":3}}],["numbers",{"2":{"119":1}}],["number",{"2":{"27":1,"50":3,"57":1,"103":2,"106":1,"107":2,"109":2,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1}}],["nu",{"2":{"22":9}}],["nushell",{"2":{"22":6}}],["nsource",{"2":{"22":1}}],["nav",{"2":{"14":3}}],["navbars",{"2":{"13":1,"14":3}}],["navbar",{"2":{"13":1,"14":2}}],["named",{"2":{"83":1,"100":1}}],["names",{"2":{"54":1}}],["name>",{"2":{"41":19,"66":1,"71":2,"74":1,"75":1,"78":1,"79":2,"80":2,"81":2,"82":2,"83":5,"84":1,"85":1,"86":1,"125":2,"127":1,"130":1}}],["name",{"0":{"49":1,"73":1,"76":1},"2":{"14":1,"15":1,"41":1,"43":1,"44":1,"48":3,"49":8,"51":5,"59":1,"71":2,"73":1,"76":3,"78":1,"84":1,"87":1,"99":2,"100":2,"105":1,"109":1,"110":1,"111":1,"112":1,"113":1,"117":1,"120":2,"121":2,"122":2,"123":1,"125":2,"126":2}}],["n",{"0":{"36":1},"2":{"6":2,"22":16,"36":1,"128":1}}],["no",{"2":{"43":1,"44":4,"45":1,"46":1,"47":1,"49":1,"58":1,"59":11,"66":1,"105":2,"106":2,"107":1,"110":1,"117":3,"118":1,"119":1,"120":1,"121":1,"122":1}}],["now",{"2":{"27":1,"32":1,"123":1}}],["non",{"2":{"18":1,"101":1,"106":1,"107":1,"109":2,"110":1,"111":1,"112":1,"113":1}}],["node",{"2":{"10":2,"15":1,"24":1,"27":1,"31":1,"67":3,"70":1,"85":1,"106":1,"107":1,"125":1}}],["nodejs",{"2":{"10":2,"24":1,"25":1,"26":2,"27":3,"29":2,"30":2,"31":1,"32":1,"43":2,"66":2,"67":7,"72":3,"85":1,"105":2,"106":1,"107":1,"117":2,"125":3,"130":2}}],["noise",{"2":{"4":1}}],["notify",{"2":{"93":1}}],["note",{"2":{"18":1,"27":1,"40":1,"43":1,"48":1,"49":1,"50":1,"87":1,"89":1,"103":1,"125":1,"127":1}}],["not",{"0":{"93":1,"94":1},"2":{"1":1,"6":1,"11":2,"29":1,"37":1,"38":2,"39":3,"40":2,"43":1,"48":2,"49":3,"54":1,"58":2,"60":1,"66":1,"76":1,"89":2,"91":3,"92":2,"94":2,"101":1,"103":1,"105":1,"110":1,"114":1,"119":2,"123":1,"124":1,"130":1}}],["neko",{"2":{"123":1}}],["never",{"2":{"48":3,"129":1}}],["nexport",{"2":{"22":1}}],["nested",{"2":{"14":2}}],["newest",{"2":{"105":1}}],["newer",{"2":{"22":2,"69":1,"107":1}}],["newly",{"0":{"93":1,"94":1}}],["new",{"2":{"2":2,"7":4,"22":3,"37":1,"48":1,"66":1,"68":1,"123":2,"129":1}}],["needed",{"2":{"83":1,"112":1}}],["needs",{"2":{"22":1,"94":1,"127":1}}],["need",{"2":{"1":1,"22":6,"25":1,"29":1,"36":1,"78":1,"87":1,"93":1,"127":1}}],["ll",{"2":{"78":1}}],["leave",{"2":{"105":1}}],["learn",{"2":{"23":1}}],["legacy",{"0":{"45":1,"118":1,"119":1},"2":{"31":1,"45":1,"59":1,"102":4,"106":3,"107":1,"118":3,"119":7}}],["ln",{"2":{"22":4}}],["load",{"2":{"37":1}}],["looks",{"2":{"43":1}}],["look",{"2":{"29":1,"30":1,"114":1}}],["lookup",{"2":{"15":1,"28":2}}],["longer",{"2":{"71":1}}],["long",{"2":{"15":1,"89":1}}],["locations",{"2":{"52":1}}],["location",{"2":{"22":1,"44":1,"52":1,"53":1,"55":2,"56":2,"59":2,"106":1,"107":1,"127":1}}],["located",{"2":{"14":1}}],["locales",{"2":{"14":3}}],["locale",{"2":{"13":1,"14":2}}],["locally",{"2":{"2":1,"5":1}}],["local",{"0":{"30":1},"2":{"1":1,"11":1,"30":2,"41":4,"43":1,"76":1,"83":3,"84":3,"87":1,"109":2,"120":1}}],["latest",{"0":{"79":1,"82":1,"109":1},"2":{"27":3,"29":1,"30":1,"41":15,"46":2,"68":2,"74":1,"79":5,"82":5,"83":3,"102":2,"106":1,"107":1,"109":16,"125":1,"126":2,"128":1}}],["later",{"2":{"18":1}}],["language",{"2":{"39":1,"43":1,"99":1}}],["lang",{"2":{"14":3,"41":1}}],["label",{"2":{"14":3}}],["larger",{"2":{"13":1}}],["largely",{"2":{"11":1}}],["last",{"0":{"48":1},"2":{"7":1,"44":1,"48":2,"59":1,"76":2,"105":1}}],["lt",{"2":{"7":2,"12":1,"43":1,"48":3,"49":4,"51":5,"58":1,"66":2,"76":1,"84":1,"99":3,"100":2,"105":1,"106":2,"107":3,"109":5,"110":2,"111":2,"112":2,"113":5,"114":3,"115":3,"116":3,"117":2,"120":1,"121":2,"122":1,"125":7}}],["limiting",{"0":{"128":1},"1":{"129":1},"2":{"128":1}}],["license",{"2":{"96":1}}],["libraries",{"2":{"123":1}}],["lib",{"2":{"22":6,"69":3,"123":7}}],["libexec",{"2":{"22":10,"69":4}}],["link",{"2":{"113":4,"123":1}}],["links",{"0":{"113":1},"2":{"102":2,"113":2}}],["linked",{"2":{"15":1}}],["lines",{"2":{"69":14}}],["line",{"2":{"43":1,"105":3,"111":1,"113":2,"119":1,"123":1}}],["linux",{"2":{"18":4,"25":1,"38":1,"91":1,"92":1,"125":1,"127":1}}],["lint",{"2":{"2":4}}],["lifecycle",{"2":{"66":1}}],["life",{"2":{"15":1}}],["living",{"2":{"13":1}}],["likely",{"2":{"94":1}}],["like",{"2":{"4":1,"11":1,"14":1,"22":2,"29":1,"30":1,"36":1,"43":1,"60":1,"66":2,"70":1,"83":1,"107":1,"119":1,"128":1}}],["lists",{"2":{"67":1,"105":2,"109":1}}],["listed",{"2":{"25":1,"28":1,"41":1,"89":1,"100":1}}],["list",{"0":{"72":1,"73":1,"80":1,"81":1,"105":1,"114":1,"118":1},"2":{"1":1,"2":1,"7":1,"15":1,"18":1,"27":2,"38":1,"41":11,"48":1,"49":1,"61":1,"72":4,"73":2,"76":1,"80":4,"81":4,"98":1,"99":1,"101":2,"102":9,"103":1,"105":6,"107":1,"109":2,"111":1,"113":1,"114":3,"117":1,"118":3,"123":1,"128":1}}],["luizm",{"2":{"1":2}}],["dynamic",{"2":{"123":1}}],["dylibs",{"2":{"123":1}}],["due",{"2":{"94":1}}],["duration",{"0":{"48":1},"2":{"44":1,"48":4,"59":1,"76":1}}],["during",{"2":{"1":1,"6":3,"50":1,"66":1,"128":1}}],["danhper",{"2":{"97":1}}],["data",{"0":{"56":1},"2":{"49":1,"56":1,"59":2,"69":11,"87":1,"123":5}}],["daily",{"2":{"15":1}}],["d",{"2":{"22":2,"69":2}}],["dnf",{"2":{"18":2}}],["drive",{"2":{"92":2}}],["driven",{"2":{"15":1,"89":1}}],["dropdown",{"2":{"14":1}}],["distro",{"2":{"92":1}}],["distinct",{"2":{"33":1}}],["disabling",{"2":{"49":2}}],["disabled",{"2":{"49":1,"60":2}}],["disable",{"0":{"49":1},"2":{"44":1,"48":1,"49":2,"59":1,"76":1}}],["displayed",{"2":{"110":1}}],["display",{"2":{"41":4,"115":1,"116":1}}],["differentiating",{"2":{"36":1}}],["different",{"2":{"22":1,"36":2,"68":1,"70":1}}],["difficult",{"2":{"6":1}}],["direct",{"2":{"130":1}}],["directories",{"2":{"58":3,"102":1,"114":1}}],["directory",{"2":{"2":2,"28":3,"30":2,"37":1,"43":4,"55":1,"58":1,"87":4,"88":1,"92":1,"106":3,"107":1,"114":1,"120":1,"123":1}}],["directly",{"2":{"43":1,"87":1}}],["direnv",{"0":{"37":1},"2":{"37":3,"88":1}}],["dirmngr",{"2":{"25":1}}],["dir=",{"2":{"22":3,"55":1,"56":1}}],["dir",{"0":{"55":1,"56":1},"2":{"2":1,"22":4,"49":1,"56":1,"59":5,"60":1,"69":21,"87":1,"123":5,"127":1}}],["doe",{"2":{"53":1,"55":1,"56":1}}],["does",{"2":{"37":1,"38":1,"39":3,"40":1,"48":2,"49":3,"92":1}}],["downloaded",{"2":{"103":1,"106":1,"107":2,"121":1}}],["download",{"0":{"19":1,"20":1,"21":1,"47":1,"106":1},"1":{"20":1,"21":1},"2":{"43":2,"44":1,"51":1,"59":1,"68":1,"102":2,"103":2,"106":9,"107":6}}],["downloading",{"2":{"17":1,"43":1,"78":1}}],["downloads",{"2":{"3":1,"47":1,"106":1}}],["do",{"2":{"11":1,"22":1,"23":1,"39":1,"58":1,"89":1,"91":1}}],["dockerized",{"2":{"8":1}}],["docker",{"0":{"8":1},"2":{"8":1}}],["docsify",{"2":{"11":2}}],["docs",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1},"2":{"7":3,"10":3,"12":2,"13":3,"14":3,"37":1,"38":1,"39":1,"41":1,"76":2,"93":1}}],["documented",{"2":{"6":1}}],["documentation",{"2":{"2":1,"4":1,"5":1,"7":1,"9":1,"11":1,"12":2,"13":2,"14":1,"41":1,"100":1,"102":1,"103":1,"110":2,"111":1,"112":1,"113":2}}],["deemed",{"2":{"107":1}}],["decompressed",{"2":{"106":1}}],["declares",{"2":{"43":1}}],["deps",{"0":{"111":1},"2":{"102":1,"111":1}}],["depends",{"2":{"128":1}}],["depend",{"2":{"52":1}}],["dependency",{"2":{"25":1,"38":1,"39":1,"92":1,"101":1,"111":1}}],["dependencies",{"0":{"18":1,"25":1},"2":{"10":1,"17":1,"25":2,"38":2,"39":1,"102":1,"111":1}}],["depending",{"2":{"18":1,"37":1,"52":1,"103":1}}],["delete",{"2":{"47":2}}],["describes",{"2":{"60":1}}],["describe",{"2":{"52":1,"112":1}}],["description",{"2":{"12":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"102":2,"103":1,"105":1,"106":1,"107":1,"109":1,"110":2,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1}}],["description>",{"2":{"7":1}}],["descriptor",{"2":{"6":1}}],["desired",{"2":{"30":1}}],["debug",{"2":{"41":1,"65":1}}],["debugging",{"2":{"6":2}}],["debian",{"2":{"25":1}}],["demonstration",{"2":{"24":1}}],["definitions",{"2":{"33":1}}],["defined",{"2":{"30":1,"43":2}}],["defineconfig",{"2":{"14":1}}],["defines",{"2":{"14":1,"44":1}}],["define",{"2":{"7":1,"123":1}}],["defaults",{"2":{"22":1,"29":1,"43":1,"58":2,"76":1,"125":2}}],["default",{"0":{"54":1},"2":{"1":1,"7":1,"10":1,"13":1,"14":1,"22":2,"41":3,"44":2,"50":1,"52":1,"54":1,"59":8,"66":1,"69":1,"74":1,"87":1,"100":1,"107":1,"115":1,"116":3,"125":1}}],["deterministic",{"2":{"119":1}}],["determining",{"2":{"118":1}}],["determines",{"2":{"87":1}}],["determine",{"2":{"76":1,"109":1,"119":2,"130":1}}],["determined",{"2":{"7":1}}],["detecting",{"0":{"94":1}}],["detail",{"2":{"14":1}}],["detailed",{"2":{"12":1,"102":1}}],["details",{"2":{"3":1,"83":1,"88":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"116":1,"118":1,"119":1}}],["dev",{"2":{"1":1,"11":1,"89":2}}],["developed",{"2":{"74":1}}],["developers",{"2":{"43":1}}],["develop",{"2":{"1":1}}],["development",{"0":{"2":1,"11":1},"1":{"3":1,"4":1},"2":{"1":2,"8":1,"10":1,"11":2,"33":1}}],["bit",{"2":{"123":2}}],["binary",{"2":{"47":3,"102":1,"103":1,"106":5,"107":1}}],["binaries",{"2":{"43":2,"102":2,"114":3,"115":1}}],["bin",{"0":{"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":2,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"2":1,"55":1,"59":1,"87":1,"102":18,"103":1,"105":1,"106":3,"107":7,"109":2,"110":1,"111":2,"112":2,"113":2,"114":4,"115":1,"116":5,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"128":2}}],["bottom",{"2":{"94":1}}],["both",{"2":{"13":1,"31":1,"42":1,"125":1}}],["bound",{"2":{"92":1}}],["by",{"0":{"88":1},"2":{"7":1,"13":1,"14":1,"15":1,"22":6,"29":1,"32":1,"34":1,"36":1,"39":1,"41":1,"43":3,"44":1,"45":1,"59":1,"60":1,"66":2,"76":1,"83":1,"87":6,"88":1,"93":1,"99":1,"103":1,"105":2,"106":1,"107":1,"109":3,"116":2,"117":1,"119":1,"123":2,"130":1}}],["burden",{"2":{"38":1}}],["but",{"2":{"22":1,"58":1,"61":1,"76":1,"93":1,"110":1}}],["built",{"2":{"10":1,"36":1,"68":1}}],["build",{"2":{"7":1,"11":1,"39":1,"107":1,"127":1}}],["bump",{"2":{"7":1}}],["bug",{"2":{"2":1,"65":1}}],["blame",{"0":{"4":1},"2":{"4":11}}],["baz`",{"2":{"123":1}}],["baz",{"2":{"123":1}}],["bat",{"2":{"123":6}}],["bats",{"0":{"5":1,"6":1},"1":{"6":1},"2":{"1":3,"2":2,"4":1,"5":2,"6":7}}],["banned",{"2":{"101":1}}],["bar`",{"2":{"123":1}}],["bar",{"2":{"51":2,"123":1}}],["back",{"2":{"22":2,"29":1}}],["basis",{"2":{"31":1}}],["based",{"2":{"109":1}}],["base",{"2":{"8":1}}],["bash`",{"2":{"123":3}}],["bash1",{"2":{"119":1}}],["bashbin",{"2":{"114":1}}],["bashgit",{"2":{"111":1,"113":1}}],["bashasdf",{"2":{"75":1}}],["bashrc",{"2":{"22":6,"69":3}}],["bash",{"2":{"1":3,"2":4,"5":2,"22":20,"52":1,"59":1,"69":14,"94":1,"100":1,"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":2,"119":1,"120":1,"121":1,"122":1,"123":8,"124":1}}],["broken",{"2":{"32":1}}],["brew",{"2":{"18":1,"21":1,"22":12,"25":1,"68":2,"69":7}}],["breaking",{"2":{"7":2}}],["break",{"2":{"1":2}}],["brazilian",{"2":{"14":1}}],["branches",{"2":{"126":1}}],["branch",{"2":{"1":1,"7":1,"10":1,"20":1,"41":3,"43":1,"74":1,"78":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1,"125":2}}],["br",{"2":{"14":7}}],["beginning",{"2":{"105":1}}],["begin",{"2":{"80":1,"81":1}}],["begins",{"2":{"41":1,"79":1,"82":1}}],["between",{"2":{"48":1}}],["because",{"2":{"40":1,"87":1,"124":1}}],["become",{"2":{"32":1}}],["becomes",{"2":{"7":1}}],["being",{"2":{"40":1,"41":2,"48":1,"74":1,"87":1,"94":1,"103":1,"105":1,"110":2,"111":1,"112":1,"113":1,"123":1,"124":1}}],["behaviour",{"2":{"37":1,"48":1,"107":1}}],["behavior",{"2":{"22":1}}],["below",{"2":{"15":1,"22":3,"23":1,"44":1,"100":1,"103":1}}],["been",{"2":{"13":1,"48":1,"69":2,"76":1,"102":2,"103":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1,"120":1}}],["before",{"2":{"2":2,"5":1,"11":1,"51":3,"52":1,"102":1,"115":1,"119":1,"122":1,"127":1}}],["best",{"2":{"2":1,"22":1,"40":1}}],["be",{"2":{"1":1,"3":1,"6":3,"18":1,"22":14,"25":1,"30":1,"33":1,"40":1,"43":6,"44":1,"49":1,"51":1,"52":1,"53":3,"54":2,"55":2,"56":2,"69":1,"75":1,"76":1,"87":3,"88":2,"92":1,"94":1,"105":1,"106":4,"107":3,"109":5,"110":5,"111":3,"112":4,"113":4,"114":3,"115":1,"116":1,"117":1,"118":1,"119":2,"120":1,"123":2,"124":1,"125":1}}],["io",{"2":{"113":1}}],["i",{"2":{"93":1,"117":1}}],["irrelevant",{"2":{"60":1}}],["ideally",{"2":{"110":1}}],["identify",{"2":{"34":1}}],["ides",{"2":{"4":1}}],["implement",{"2":{"100":1}}],["implemented",{"2":{"100":1}}],["implementation",{"2":{"33":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"116":1,"118":1,"119":1}}],["importantly",{"2":{"92":1}}],["improving",{"2":{"15":1}}],["images",{"0":{"8":1},"2":{"8":2}}],["i18n",{"0":{"14":1},"2":{"14":1}}],["ignorerevsfile",{"2":{"4":1}}],["ignored",{"2":{"3":1}}],["ignore",{"0":{"4":1},"2":{"3":1,"4":6,"54":1}}],["issue",{"2":{"94":1,"123":1}}],["issues",{"2":{"16":1,"107":1}}],["is",{"2":{"2":1,"3":1,"4":1,"6":1,"7":3,"11":2,"12":1,"13":1,"14":1,"15":1,"18":1,"22":5,"23":1,"27":1,"29":1,"31":1,"33":2,"34":4,"36":2,"37":1,"38":2,"39":2,"40":3,"41":1,"43":5,"44":1,"46":2,"48":1,"49":1,"51":4,"55":1,"57":1,"59":5,"60":3,"61":1,"71":1,"76":4,"78":1,"83":1,"87":2,"91":1,"92":3,"94":2,"99":1,"102":1,"105":2,"106":4,"107":2,"109":1,"110":2,"114":1,"117":1,"119":3,"123":4,"124":4,"125":5,"128":1,"130":2}}],["its",{"2":{"22":1,"23":1,"36":1,"39":1,"40":1,"88":1,"105":1,"106":1,"111":1,"112":1,"113":1,"119":1,"124":1}}],["itself",{"2":{"1":1,"123":1,"125":1}}],["items",{"2":{"22":1}}],["it",{"0":{"34":1},"2":{"1":1,"2":1,"4":2,"11":1,"13":1,"22":1,"38":1,"40":1,"43":2,"47":1,"49":1,"51":1,"56":1,"60":1,"66":1,"69":2,"71":1,"83":1,"87":4,"94":2,"103":1,"105":1,"106":2,"123":2,"124":1,"127":1,"128":1}}],["if",{"2":{"1":1,"2":1,"22":6,"41":1,"45":1,"48":2,"49":2,"50":1,"51":1,"53":1,"54":1,"55":1,"56":2,"57":2,"58":3,"68":1,"69":3,"74":1,"76":2,"78":1,"83":2,"88":1,"94":2,"105":3,"106":3,"107":4,"109":3,"110":2,"111":2,"112":2,"113":2,"114":3,"115":2,"116":2,"118":2,"119":1,"123":2,"124":2,"125":2,"128":2,"130":1}}],["index",{"0":{"130":1},"2":{"73":1,"130":2}}],["independent",{"2":{"71":1}}],["individually",{"2":{"14":1}}],["indicates",{"2":{"7":1}}],["info",{"0":{"65":1},"2":{"41":1,"65":1}}],["information",{"2":{"4":1,"7":1,"41":1,"65":1,"102":1,"110":1}}],["inside",{"2":{"41":1,"115":1,"116":1}}],["instruct",{"2":{"114":1}}],["instructions",{"2":{"22":5,"69":3,"92":1,"130":1}}],["instance",{"2":{"93":1,"109":1}}],["installable",{"2":{"102":1,"105":1}}],["installations",{"2":{"75":1}}],["installation",{"0":{"23":1,"62":1},"2":{"17":1,"22":2,"23":1,"25":1,"52":1,"59":1,"60":1,"66":2,"68":1,"87":2,"107":1,"130":2}}],["installing",{"2":{"17":4,"66":1,"93":1}}],["installs",{"2":{"3":1,"87":1,"102":1,"107":1,"109":1,"116":1}}],["installed",{"0":{"72":1,"80":1,"93":1,"94":1},"2":{"2":1,"22":1,"29":1,"34":3,"36":1,"41":5,"43":1,"49":2,"51":2,"59":1,"66":1,"67":1,"68":1,"87":3,"93":1,"103":2,"106":1,"107":1,"109":2,"110":2,"111":2,"112":2,"113":2,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"125":2}}],["install",{"0":{"18":1,"22":1,"24":1,"26":1,"27":1,"78":1,"79":1,"107":1},"1":{"25":1,"26":1},"2":{"1":2,"4":1,"10":4,"18":6,"21":1,"23":2,"24":1,"25":5,"27":3,"41":10,"43":4,"47":3,"51":1,"56":1,"66":1,"78":2,"79":5,"93":1,"99":1,"102":1,"103":4,"106":11,"107":19,"109":6,"110":7,"111":7,"112":8,"113":7,"114":11,"115":5,"116":6,"118":5}}],["instead",{"2":{"34":1,"46":1,"84":1,"87":2,"124":1}}],["including",{"2":{"117":1}}],["include",{"2":{"40":1,"43":1,"106":1}}],["includes",{"2":{"1":1}}],["inconsistent",{"2":{"22":1}}],["invoke",{"2":{"102":1,"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1}}],["involves",{"2":{"17":1}}],["invocation",{"2":{"4":1}}],["intend",{"2":{"91":1,"92":1}}],["intended",{"2":{"40":1}}],["integrators",{"2":{"60":1}}],["integrate",{"2":{"37":1}}],["integer",{"2":{"48":1,"50":1}}],["interactively",{"2":{"100":1}}],["internal",{"0":{"60":1},"2":{"60":1}}],["internationalization",{"2":{"14":1}}],["interface",{"2":{"33":2,"123":1}}],["interest",{"2":{"16":1}}],["interpreter",{"2":{"1":1}}],["introduction",{"0":{"33":1},"1":{"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1},"2":{"106":1}}],["into",{"2":{"14":1,"22":2,"32":1}}],["in",{"0":{"73":1},"2":{"1":1,"3":2,"5":2,"6":1,"10":1,"12":3,"13":2,"14":3,"15":1,"18":1,"22":3,"28":2,"29":1,"30":2,"32":1,"33":1,"34":1,"36":2,"40":1,"41":4,"43":9,"45":1,"48":5,"59":1,"62":1,"68":1,"69":17,"71":1,"76":2,"83":1,"84":1,"87":10,"89":1,"93":1,"100":1,"103":1,"105":3,"106":3,"107":5,"110":1,"114":2,"117":1,"118":1,"123":1,"124":4,"125":1,"129":1,"130":1}}],["initially",{"2":{"48":1,"114":1}}],["initialise",{"2":{"22":1}}],["initial",{"0":{"1":1,"10":1}}],["veggies",{"2":{"114":2}}],["very",{"2":{"36":1}}],["versioning",{"2":{"99":1}}],["version=1",{"2":{"83":1}}],["versioned",{"2":{"74":1}}],["version`",{"2":{"41":1}}],["version>",{"2":{"41":13,"66":1,"78":1,"79":1,"80":1,"81":1,"82":1,"83":8,"86":1,"125":1}}],["version",{"0":{"27":1,"28":1,"31":1,"45":1,"78":1,"79":1,"82":1,"83":1,"84":1,"85":1,"86":1},"1":{"29":1,"30":1,"31":1},"2":{"7":1,"10":1,"17":1,"27":3,"28":3,"29":1,"31":5,"33":3,"34":2,"36":2,"40":1,"41":23,"43":4,"44":1,"45":4,"46":2,"51":1,"59":1,"63":1,"66":3,"79":1,"82":1,"83":9,"84":4,"87":2,"99":1,"102":8,"103":3,"105":4,"106":8,"107":10,"109":14,"110":6,"111":6,"112":6,"113":6,"114":6,"115":4,"116":6,"117":3,"118":7,"119":7,"125":6,"126":1,"127":2}}],["versions",{"0":{"43":1,"54":1,"67":1,"77":1,"80":1,"81":1},"1":{"78":1,"79":1,"80":1,"81":1,"82":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1},"2":{"1":2,"10":1,"17":2,"23":1,"27":3,"28":1,"29":3,"30":3,"32":2,"33":2,"34":1,"39":1,"40":2,"41":10,"42":1,"43":12,"45":3,"49":1,"54":5,"56":1,"59":4,"67":6,"69":14,"75":1,"80":1,"81":1,"83":4,"85":3,"87":1,"102":1,"105":7,"107":1,"109":3}}],["vlang",{"2":{"113":2}}],["v",{"2":{"101":1,"105":1,"113":1}}],["v1",{"2":{"43":1}}],["v0",{"2":{"20":1}}],["view",{"0":{"85":1}}],["vic",{"2":{"71":1,"97":1}}],["via",{"2":{"17":1,"22":2,"24":1,"31":1,"33":1,"40":1,"59":1,"60":1,"66":2,"68":1,"71":2,"76":1,"87":1,"93":1,"128":1,"130":1}}],["vitepress",{"0":{"13":1},"2":{"11":2,"13":4,"14":4}}],["vuepress",{"2":{"11":2}}],["v2",{"2":{"11":1,"105":1,"126":1}}],["v8",{"2":{"10":1}}],["vscode",{"2":{"4":2}}],["validate",{"2":{"125":1}}],["valid",{"2":{"54":1,"119":1}}],["value",{"2":{"48":1,"54":1,"56":1,"57":3,"59":2}}],["values",{"2":{"44":1}}],["vars",{"2":{"103":1}}],["varies",{"2":{"52":1}}],["variables",{"0":{"52":1,"103":1},"1":{"53":1,"54":1,"55":1,"56":1,"57":1,"58":1},"2":{"33":1,"37":2,"42":1,"52":2,"59":1,"88":1,"103":3,"105":2,"106":1,"107":1,"109":1,"110":2,"111":2,"112":3,"113":2,"114":1,"115":1,"116":1,"117":2,"118":1,"119":2,"120":1,"121":1,"122":1,"129":1}}],["variable",{"2":{"2":1,"22":1,"44":1,"50":1,"83":2,"107":1,"128":1}}],["var",{"2":{"22":3,"69":3}}],["vagrant",{"2":{"3":1}}],["vm",{"2":{"1":1,"3":1,"10":2,"20":1,"21":2,"22":9,"26":1,"41":2,"69":7,"72":1,"100":1,"110":1,"125":1,"126":2,"127":1,"130":1}}],["two",{"2":{"67":1,"87":1,"100":1}}],["typically",{"2":{"54":1,"125":1}}],["type=ref",{"2":{"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1}}],["type=version",{"2":{"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1}}],["type",{"2":{"7":1,"12":1,"32":1,"103":2,"106":1,"107":1,"109":1,"110":2,"111":2,"112":2,"113":2,"114":1,"115":1,"116":1,"118":1}}],["typescript",{"2":{"13":1}}],["types",{"2":{"7":1}}],["type>",{"2":{"7":1}}],["txt1",{"2":{"105":1}}],["txtlegacy",{"2":{"44":1}}],["txtmanage",{"2":{"41":1}}],["tailored",{"2":{"110":1,"111":2,"112":1,"113":1}}],["tail",{"2":{"109":1}}],["tac",{"2":{"105":1}}],["tag",{"2":{"43":1,"78":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1,"125":1}}],["tab",{"2":{"22":1}}],["takes",{"2":{"39":1,"57":1}}],["take",{"2":{"22":1,"50":1}}],["taking",{"2":{"22":1}}],["tap",{"2":{"6":1}}],["travis",{"2":{"127":1}}],["travisci",{"0":{"127":1}}],["trash",{"2":{"49":1}}],["truffleruby+graalvm",{"2":{"109":1}}],["truffleruby",{"2":{"109":2}}],["truly",{"2":{"39":1}}],["triggered",{"2":{"76":1}}],["trigger",{"2":{"48":4,"49":1}}],["trim",{"2":{"22":2}}],["tree",{"2":{"39":1}}],["try",{"2":{"2":1,"34":1,"38":1}}],["t",{"2":{"6":2,"69":1}}],["tmp",{"2":{"3":1}}],["titles",{"2":{"12":1}}],["title",{"2":{"7":3,"12":1,"14":1,"113":1}}],["time",{"2":{"27":1,"28":1,"48":1,"96":1,"107":2}}],["times",{"2":{"6":1}}],["timgluz",{"2":{"1":1}}],["tips",{"0":{"6":1}}],["tip",{"2":{"2":1,"7":1,"43":1,"130":1}}],["templates",{"0":{"124":1},"2":{"124":1}}],["template",{"2":{"100":2,"124":1}}],["temporarily",{"2":{"2":1}}],["textpre",{"2":{"51":1}}],["text",{"2":{"41":1,"110":1,"112":1}}],["tell",{"2":{"29":1}}],["term",{"2":{"15":1,"89":1}}],["terminal",{"2":{"6":1,"22":1}}],["teams",{"2":{"40":1}}],["team",{"2":{"15":1,"33":1,"89":1,"124":1}}],["tests",{"2":{"2":3,"5":3,"6":3,"83":1}}],["test",{"2":{"2":5,"4":1,"5":3,"6":4,"7":1,"83":1,"92":1,"125":9,"126":6,"127":2}}],["testing",{"0":{"5":1,"125":1},"1":{"6":1,"126":1,"127":1},"2":{"1":2,"125":2,"126":1,"128":1}}],["tokens",{"2":{"129":1}}],["token",{"0":{"129":1},"2":{"128":4,"129":2}}],["toctou",{"2":{"107":1}}],["too",{"2":{"78":1}}],["tool>",{"2":{"126":1,"127":2}}],["tooling",{"2":{"1":1}}],["tool",{"0":{"31":1,"43":1,"54":1},"2":{"1":2,"7":1,"10":2,"17":3,"23":1,"27":1,"28":6,"29":2,"30":2,"32":1,"33":3,"34":3,"36":2,"39":2,"40":3,"41":4,"42":1,"43":14,"45":1,"49":1,"54":4,"56":1,"59":4,"66":1,"69":14,"75":2,"83":7,"84":2,"85":3,"87":1,"93":1,"99":1,"100":2,"102":6,"103":1,"106":4,"107":6,"109":13,"110":4,"111":3,"112":5,"113":4,"114":4,"115":2,"116":3,"117":1,"118":3,"119":2,"120":1,"121":1,"122":1,"125":6,"127":2}}],["tools",{"2":{"1":3,"3":1,"8":1,"10":1,"18":1,"22":1,"28":1,"29":1,"32":1,"33":2,"34":1,"36":2,"39":1,"40":2,"43":1,"66":1,"67":1,"70":2,"89":1,"101":2,"109":1,"114":2,"123":1}}],["topic",{"2":{"15":1}}],["to",{"0":{"84":1},"2":{"1":5,"2":6,"3":1,"4":5,"6":2,"7":1,"8":1,"11":4,"13":2,"15":2,"17":1,"18":1,"22":47,"23":2,"25":1,"27":1,"28":2,"29":3,"31":2,"32":1,"33":4,"34":2,"36":1,"37":1,"39":2,"40":1,"41":8,"43":11,"45":2,"46":2,"47":1,"48":2,"50":2,"51":2,"53":2,"54":1,"55":1,"56":1,"57":1,"58":8,"60":2,"65":1,"68":1,"69":20,"70":2,"74":1,"76":4,"78":1,"80":1,"81":1,"83":4,"84":2,"87":9,"88":2,"89":2,"91":1,"92":3,"93":4,"94":2,"95":1,"96":1,"99":2,"100":3,"102":6,"103":7,"105":3,"106":6,"107":7,"109":8,"110":4,"111":5,"112":5,"113":5,"114":4,"115":3,"116":4,"117":3,"118":2,"119":5,"120":2,"121":1,"122":1,"123":8,"124":2,"125":6,"127":3,"128":1,"129":2,"130":3}}],["those",{"2":{"80":1,"81":1,"89":1,"93":1,"114":1,"117":1}}],["though",{"2":{"38":1,"106":1}}],["through",{"2":{"105":1}}],["throughout",{"2":{"27":1,"103":1}}],["three",{"2":{"32":1}}],["that",{"2":{"14":1,"22":3,"27":1,"28":1,"29":1,"32":1,"34":2,"37":1,"38":1,"39":1,"40":2,"41":2,"43":3,"48":1,"67":1,"68":1,"69":15,"79":1,"80":1,"81":1,"82":1,"87":4,"105":1,"106":2,"107":1,"109":3,"110":2,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"123":2,"124":1,"125":2,"130":1}}],["thank",{"2":{"95":1}}],["thanks",{"0":{"95":1},"1":{"96":1,"97":1,"98":1},"2":{"16":1}}],["than",{"2":{"11":1,"48":1,"58":1,"107":2}}],["this",{"2":{"1":1,"4":1,"6":1,"7":4,"11":2,"22":5,"23":2,"30":1,"31":3,"36":1,"39":1,"41":1,"43":4,"44":1,"49":1,"54":1,"57":1,"60":3,"65":1,"66":2,"69":18,"74":1,"75":1,"76":1,"87":4,"92":1,"93":1,"105":4,"106":4,"107":3,"109":2,"110":2,"111":2,"112":2,"113":2,"114":3,"115":1,"116":2,"117":2,"118":1,"119":2,"120":1,"121":1,"122":1,"123":2,"124":4,"125":1,"128":1,"129":1}}],["themselves",{"2":{"87":1}}],["them",{"2":{"32":1,"34":1,"43":1,"105":1}}],["themeconfig",{"2":{"14":3}}],["theme",{"2":{"13":1}}],["there",{"2":{"22":1,"37":1,"76":1,"100":1,"124":1,"128":1}}],["their",{"2":{"13":1,"14":1,"15":1,"16":1,"33":1,"38":1,"69":2,"71":1,"89":1,"118":1,"123":1}}],["they",{"2":{"13":1,"25":2,"41":1,"89":1,"105":2,"109":1}}],["these",{"2":{"8":1,"13":1,"15":1,"18":1,"34":1,"36":1,"69":1,"89":1,"99":1}}],["then",{"2":{"1":1,"29":1,"30":1,"50":2,"51":1,"76":2,"94":1,"106":1,"124":1,"128":1,"129":1}}],["the",{"0":{"26":1,"76":1},"2":{"1":6,"2":7,"3":3,"4":4,"6":3,"7":11,"8":1,"10":5,"11":8,"12":4,"13":10,"14":11,"15":2,"16":1,"17":1,"21":1,"22":38,"23":3,"24":1,"25":1,"27":4,"28":5,"29":4,"30":2,"31":4,"32":3,"33":2,"34":3,"36":3,"37":1,"38":3,"39":1,"40":3,"41":30,"42":1,"43":18,"44":7,"45":2,"46":3,"47":2,"48":7,"49":10,"50":4,"51":2,"52":1,"53":1,"54":3,"55":3,"56":2,"57":3,"58":7,"59":7,"60":3,"61":1,"62":1,"63":2,"65":1,"66":4,"67":2,"68":1,"69":37,"70":1,"71":4,"73":1,"74":4,"75":2,"76":6,"78":1,"83":11,"84":3,"87":26,"88":1,"89":1,"92":3,"93":2,"94":2,"95":1,"96":1,"98":1,"100":6,"102":11,"103":16,"105":4,"106":15,"107":22,"109":26,"110":8,"111":6,"112":6,"113":5,"114":6,"115":9,"116":20,"117":4,"118":5,"119":13,"120":4,"121":5,"122":3,"123":11,"124":4,"125":8,"126":1,"127":1,"129":1,"130":6}}],["sysctl",{"2":{"50":1}}],["systems",{"2":{"58":1}}],["system",{"0":{"84":1},"2":{"1":1,"18":1,"22":1,"29":2,"36":1,"39":1,"40":2,"43":4,"52":1,"84":5,"87":1,"102":1,"110":1,"111":2,"112":1,"113":1}}],["syncing",{"0":{"76":1}}],["synchronization",{"2":{"49":1,"76":1}}],["synced",{"2":{"48":1,"49":1,"76":1}}],["sync",{"2":{"48":8,"49":4,"76":4}}],["syncs",{"2":{"48":1}}],["src",{"2":{"43":1}}],["small",{"2":{"38":1,"61":1,"101":1}}],["sample",{"2":{"126":1,"127":1}}],["same",{"2":{"11":1,"14":2,"33":1,"40":1,"78":1,"83":1,"119":2,"123":5}}],["say",{"2":{"74":1}}],["save",{"2":{"22":3}}],["space",{"2":{"36":1,"43":1,"105":1,"114":1,"118":1}}],["spack",{"2":{"18":2}}],["spec",{"2":{"13":1}}],["specify",{"2":{"78":1}}],["specifying",{"2":{"41":1}}],["specified",{"2":{"41":1,"43":1,"48":1,"87":1,"102":3,"106":2,"107":3,"114":1,"116":6,"118":1,"125":2}}],["specifically",{"2":{"119":1}}],["specifics",{"2":{"51":1}}],["specific",{"2":{"2":1,"3":2,"22":1,"40":1,"41":2,"42":1,"44":1,"74":1,"78":1,"99":1,"102":1,"106":1,"107":1,"125":1}}],["special",{"2":{"6":1}}],["speed",{"2":{"2":1}}],["suitable",{"2":{"119":1}}],["suite",{"2":{"92":1}}],["suggest",{"2":{"105":1}}],["suffice",{"2":{"105":1}}],["success",{"2":{"106":1,"107":2,"109":1,"110":1,"111":1,"112":1,"113":1}}],["successful",{"2":{"47":1}}],["such",{"2":{"43":1,"99":1}}],["subcommand",{"2":{"123":1}}],["subsystem",{"2":{"91":1,"92":1}}],["subsequent",{"2":{"117":1}}],["subsequently",{"2":{"11":1}}],["subset",{"2":{"27":1}}],["subdirectories",{"2":{"43":1}}],["sure",{"2":{"22":1,"88":1,"123":1}}],["sudo",{"2":{"18":1}}],["suppose",{"2":{"123":1}}],["supporting",{"2":{"89":1}}],["supports",{"2":{"31":2,"78":1}}],["supported",{"0":{"21":1},"2":{"14":1,"31":1,"51":1,"83":1,"91":1}}],["support",{"0":{"91":1,"92":1},"2":{"1":1,"11":1,"14":1,"40":1,"43":1,"45":1,"70":1,"91":1,"92":1,"99":2,"106":1}}],["supplanted",{"2":{"11":1}}],["supplying",{"2":{"4":1}}],["ssg",{"2":{"11":1}}],["stderr",{"2":{"117":1}}],["stdout",{"2":{"109":1,"117":1}}],["storing",{"2":{"54":1}}],["stop",{"2":{"48":1}}],["strategy",{"2":{"126":1}}],["stratus3d",{"2":{"97":1}}],["string",{"2":{"22":2,"41":1,"58":1,"69":2,"79":1,"80":1,"81":1,"82":1,"105":1,"116":2}}],["str",{"2":{"22":2}}],["steps",{"2":{"18":1,"32":1,"68":1,"69":1,"126":1}}],["standard",{"2":{"124":2}}],["status",{"2":{"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1}}],["static",{"2":{"1":1,"11":1}}],["stable",{"0":{"79":1,"82":1,"109":1},"2":{"41":5,"68":1,"79":1,"82":1,"102":2,"109":6,"128":1}}],["starting",{"2":{"22":1}}],["started",{"0":{"17":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1},"2":{"32":1,"62":1,"100":1}}],["start",{"2":{"11":1,"100":1}}],["style",{"2":{"7":1}}],["script",{"2":{"22":2,"40":1,"87":3,"100":1,"102":2,"103":1,"105":5,"106":8,"107":9,"109":5,"110":3,"111":3,"112":3,"113":3,"114":3,"115":2,"116":2,"117":3,"118":2,"119":4,"120":2,"121":2,"122":2,"123":1,"127":2}}],["scripts",{"0":{"101":1,"102":1,"104":1,"108":1},"1":{"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"1":2,"2":4,"5":2,"11":1,"22":1,"36":1,"55":1,"87":1,"99":2,"100":2,"101":1,"102":2,"103":2,"123":3}}],["scope",{"2":{"7":1}}],["silent",{"2":{"128":1}}],["signature",{"2":{"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1}}],["single",{"2":{"33":1,"40":1,"43":1,"109":1,"119":2}}],["since",{"2":{"7":1,"48":2,"66":1}}],["simply",{"2":{"119":1}}],["simplicity",{"2":{"40":1}}],["simplify",{"2":{"13":1,"33":1}}],["simplifying",{"2":{"6":1}}],["simple",{"2":{"33":1,"59":1,"87":1}}],["similar",{"2":{"32":1,"36":1}}],["si",{"2":{"21":1}}],["sidebars",{"2":{"13":1,"14":3}}],["sidebar",{"2":{"13":1,"14":5}}],["site",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1},"2":{"9":1,"10":1,"11":2,"13":2}}],["sorting",{"2":{"105":2}}],["sort",{"2":{"101":1,"105":4}}],["sourcing",{"2":{"22":2,"52":1,"94":1}}],["sourced",{"2":{"22":2,"87":1,"94":2,"103":1,"123":1}}],["source",{"2":{"22":5,"47":3,"49":1,"50":1,"57":1,"69":11,"78":1,"87":2,"102":1,"103":4,"106":5,"107":3,"120":2,"123":1}}],["something",{"2":{"39":1}}],["some",{"2":{"6":3,"7":3,"8":1,"15":1,"18":1,"25":1,"29":1,"66":1,"88":1,"89":1,"90":1,"91":1,"99":1,"105":1,"119":1}}],["so",{"2":{"4":1,"14":1,"22":1,"25":1,"28":1,"59":10,"69":2,"74":1,"105":1}}],["sent",{"2":{"117":1}}],["sed",{"2":{"105":1,"111":1}}],["security",{"2":{"89":1}}],["section",{"2":{"22":1,"29":1,"60":1,"83":1,"84":1}}],["selected",{"2":{"87":1}}],["selection",{"2":{"14":1,"22":1}}],["session",{"2":{"83":2}}],["separating",{"2":{"43":1}}],["separated",{"2":{"13":1,"14":1,"105":1,"114":1,"118":1}}],["search",{"2":{"15":1}}],["server",{"2":{"11":1}}],["servers",{"2":{"8":1}}],["semantic",{"2":{"7":1,"46":2}}],["semver",{"2":{"7":4,"109":1}}],["see",{"2":{"2":1,"3":1,"4":1,"13":1,"15":2,"16":1,"22":2,"27":1,"31":1,"32":1,"37":1,"38":1,"39":1,"48":1,"51":1,"70":1,"73":1,"76":2,"83":1,"93":1,"98":1,"101":1,"102":2,"103":1,"120":1,"121":1,"122":1}}],["setting",{"2":{"17":1,"48":1,"52":1,"103":1,"107":1}}],["settings",{"2":{"4":1,"5":1}}],["set",{"0":{"28":1,"83":1},"1":{"29":1,"30":1,"31":1},"2":{"2":1,"11":1,"14":1,"22":4,"24":1,"29":1,"34":2,"41":7,"43":2,"44":1,"50":1,"52":2,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"69":3,"76":1,"83":3,"84":3,"88":1,"94":1,"107":1,"109":2,"110":1,"111":1,"112":1,"113":1,"119":1,"123":2}}],["setup",{"0":{"1":1,"10":1,"62":1},"2":{"22":4,"59":1,"92":1,"100":1}}],["ships",{"2":{"67":1}}],["shim",{"0":{"67":1,"124":1},"2":{"34":1,"41":3,"63":1,"66":1,"67":4,"87":2,"93":1,"115":2,"116":6,"124":3}}],["shims",{"0":{"87":1,"88":1,"94":1},"1":{"88":1},"2":{"2":1,"3":1,"33":1,"34":1,"36":1,"41":1,"56":1,"58":1,"66":3,"67":1,"87":4,"88":1,"93":3,"102":1,"107":1,"114":4,"115":1,"117":1,"124":1}}],["sharable",{"2":{"42":1}}],["share",{"2":{"33":1,"65":1}}],["sh",{"2":{"22":18,"52":1,"58":1,"69":16,"87":3,"94":1,"127":1}}],["shows",{"2":{"44":1}}],["show",{"0":{"82":1},"2":{"28":1,"41":3,"82":1}}],["shorthand",{"2":{"75":1}}],["short",{"0":{"49":1,"73":1,"76":1},"2":{"15":1,"44":1,"48":1,"49":5,"59":1,"71":2,"73":1,"76":2,"110":1}}],["shortname",{"0":{"130":1},"2":{"15":1,"73":1,"130":2}}],["should",{"2":{"3":1,"25":2,"52":1,"54":1,"60":1,"68":1,"92":1,"101":1,"103":1,"105":2,"106":5,"107":5,"109":7,"110":5,"111":4,"112":4,"113":4,"114":1,"115":1,"116":1,"117":1,"118":1,"119":2}}],["shgit",{"2":{"4":2}}],["shfmt",{"2":{"1":4}}],["shellcmd=",{"2":{"128":1}}],["shellcheck",{"2":{"1":3}}],["shell$",{"2":{"123":1}}],["shellfoo",{"2":{"123":1}}],["shellusage",{"2":{"116":1}}],["shelluse",{"2":{"69":3}}],["shellif",{"2":{"69":2}}],["shellpacman",{"2":{"69":4}}],["shellbrew",{"2":{"69":5}}],["shellrm",{"2":{"69":25}}],["shell➜",{"2":{"67":2}}],["shellexport",{"2":{"22":2}}],["shellecho",{"2":{"22":8}}],["shellmkdir",{"2":{"22":4}}],["shellsource",{"2":{"22":2,"69":3}}],["shells",{"2":{"22":1,"37":1}}],["shellgit",{"2":{"20":1}}],["shelldocs",{"2":{"14":1}}],["shellnpm",{"2":{"10":1,"11":2}}],["shellasdf",{"2":{"1":2,"10":2,"26":1,"27":1,"29":1,"30":1,"63":1,"64":1,"65":1,"66":1,"67":1,"71":2,"72":2,"73":1,"74":2,"78":1,"79":2,"80":2,"81":2,"82":2,"83":2,"84":1,"85":1,"86":1,"125":1,"127":1}}],["shell",{"0":{"94":1},"2":{"1":3,"2":1,"5":1,"6":1,"10":1,"22":21,"34":1,"36":1,"40":2,"41":3,"52":2,"59":1,"65":1,"69":9,"83":4,"84":1,"87":2,"94":1,"101":1,"130":1}}],["s",{"2":{"1":2,"6":2,"10":2,"13":1,"18":1,"22":8,"33":1,"44":1,"45":1,"69":3,"88":1,"105":1,"116":2,"119":1,"121":2,"123":1,"124":1,"125":2}}],["c",{"2":{"127":1}}],["cmd=",{"2":{"128":2}}],["cmd",{"2":{"103":1,"123":1}}],["credits",{"0":{"96":1}}],["creating",{"2":{"12":1,"70":1,"83":1,"100":1}}],["creates",{"2":{"87":1}}],["created",{"2":{"34":1,"66":1,"93":1,"107":1}}],["create",{"0":{"99":1},"1":{"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1},"2":{"2":1,"7":3,"36":1,"40":1,"51":1,"93":2,"102":1,"114":3,"123":1,"129":1}}],["cpuinfo",{"2":{"50":1}}],["centos",{"2":{"25":1}}],["cd",{"2":{"21":1}}],["currently",{"2":{"41":1,"74":1,"92":1}}],["current",{"0":{"83":1,"85":1},"2":{"28":3,"30":1,"37":1,"41":7,"63":1,"66":1,"83":2,"84":1,"85":4,"87":1,"92":1,"115":1,"116":1}}],["curl",{"2":{"18":7,"25":2,"111":1,"128":1}}],["customize",{"2":{"127":1}}],["customised",{"2":{"107":1}}],["customisations",{"2":{"42":1}}],["custom",{"0":{"124":1},"2":{"22":2,"43":1,"51":2,"59":6,"102":1,"105":1,"124":1}}],["customarguments",{"2":{"4":1}}],["cleaning",{"2":{"75":1}}],["cli",{"0":{"123":1},"2":{"33":1,"39":1,"66":1}}],["class",{"2":{"14":1}}],["cloned",{"2":{"2":1}}],["clone",{"2":{"1":5,"10":5,"20":1,"21":1,"49":1,"52":1,"100":1,"127":1}}],["ci",{"2":{"7":1,"125":2,"127":1,"129":1}}],["capability",{"2":{"105":1}}],["captured",{"2":{"14":1}}],["calculated",{"2":{"59":1}}],["calculate",{"2":{"50":1}}],["callable",{"2":{"102":1,"123":1}}],["call",{"2":{"101":1,"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":2,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1}}],["callback",{"2":{"87":1,"120":1,"121":1,"122":1}}],["calls",{"2":{"22":1,"87":1}}],["called",{"2":{"7":1,"22":1,"51":1,"100":1,"119":1,"124":1}}],["causes",{"2":{"43":1}}],["causing",{"2":{"22":1}}],["cat",{"2":{"119":1}}],["categories",{"2":{"32":1}}],["catalina",{"2":{"22":2,"69":1}}],["case",{"2":{"31":1,"45":1,"69":1,"92":1}}],["cannot",{"2":{"93":1}}],["candidate",{"2":{"46":2,"109":1}}],["candidates",{"0":{"46":1},"2":{"44":1,"59":1}}],["can",{"2":{"2":1,"6":1,"8":1,"22":1,"27":2,"28":1,"32":2,"33":2,"37":1,"40":1,"43":5,"44":1,"45":1,"49":1,"51":1,"53":1,"54":1,"55":1,"56":1,"61":1,"67":1,"69":1,"75":1,"76":1,"78":1,"83":1,"84":1,"87":2,"88":1,"107":1,"112":1,"120":1,"123":2,"130":1}}],["changing",{"2":{"22":2}}],["changed",{"2":{"22":2,"69":1}}],["changelog",{"2":{"7":1}}],["change",{"2":{"2":1,"7":3}}],["changes",{"2":{"2":1,"12":1,"22":1}}],["chosen",{"2":{"11":1,"92":1}}],["chore",{"2":{"7":1}}],["chrome",{"2":{"10":1}}],["checked",{"2":{"125":1}}],["check",{"0":{"48":1},"2":{"2":1,"25":1,"33":1,"44":1,"48":1,"59":1,"76":1,"88":1,"103":1,"107":2}}],["copy",{"2":{"124":1}}],["copyright",{"2":{"96":1}}],["could",{"2":{"109":1,"125":1}}],["cough",{"2":{"96":1}}],["course",{"2":{"40":1}}],["cold",{"2":{"96":1}}],["collection",{"2":{"39":1}}],["collaborative",{"2":{"15":1,"89":1}}],["cool",{"2":{"85":1}}],["correctly",{"2":{"125":1}}],["correct",{"2":{"60":1,"105":1}}],["cores",{"2":{"50":3,"57":1,"103":1,"107":1}}],["coreutils",{"2":{"18":2}}],["core",{"0":{"23":1,"61":1},"1":{"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1},"2":{"0":1,"1":2,"2":1,"5":1,"6":1,"12":1,"15":2,"17":1,"22":3,"23":1,"32":2,"34":1,"55":1,"61":1,"89":2,"101":1,"105":2,"106":1,"107":2,"109":2,"110":3,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":2,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1}}],["conditionally",{"2":{"116":2}}],["considered",{"2":{"111":1,"112":1,"113":1}}],["concurrency=32",{"2":{"57":1}}],["concurrency",{"0":{"50":1,"57":1},"2":{"44":1,"50":1,"57":2,"59":3,"103":1,"107":1}}],["conversations",{"2":{"16":1}}],["conventional",{"0":{"7":1,"12":1},"2":{"7":3,"12":2}}],["continue",{"2":{"23":1}}],["contributors",{"0":{"98":1},"2":{"95":1,"98":1}}],["contributing",{"2":{"16":1}}],["contribution",{"2":{"0":1,"9":1,"12":1}}],["controllable",{"2":{"22":1}}],["contents",{"2":{"119":1}}],["content",{"2":{"14":1,"60":1}}],["container",{"2":{"89":2}}],["contained",{"2":{"13":1,"33":1}}],["containing",{"2":{"43":2,"114":2}}],["contains",{"2":{"11":1,"125":1}}],["configs",{"2":{"13":1,"14":2}}],["config",{"0":{"53":1,"112":1,"127":1},"2":{"4":1,"13":4,"14":5,"17":1,"22":38,"31":1,"40":1,"44":1,"53":2,"55":1,"57":2,"59":2,"69":28,"76":2,"94":2,"102":1,"112":1}}],["configured",{"2":{"22":16,"69":2,"76":1}}],["configure",{"2":{"4":2,"46":1,"47":1,"48":1}}],["configurations",{"2":{"33":1}}],["configuration",{"0":{"42":1,"59":1,"60":1},"1":{"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1},"2":{"3":1,"11":1,"13":2,"18":1,"22":1,"31":2,"33":1,"34":1,"39":1,"42":1,"44":1,"53":1,"59":7,"60":1,"76":1,"83":1,"102":1,"112":1,"118":1}}],["covered",{"2":{"62":1,"110":1}}],["cover",{"2":{"2":1}}],["codespaces",{"2":{"89":1}}],["code",{"2":{"2":2,"11":2,"47":3,"50":1,"51":2,"57":1,"89":1,"102":1,"103":2,"106":4,"107":3,"128":1,"129":1}}],["compatibility",{"2":{"107":1}}],["compiling",{"2":{"50":1,"57":1,"78":1,"103":1,"107":1}}],["compilation",{"2":{"50":1}}],["compiled",{"2":{"43":1}}],["compile",{"2":{"43":1,"112":1}}],["compinit",{"2":{"22":7,"69":2}}],["compete",{"2":{"36":1}}],["completes",{"2":{"23":1,"32":1}}],["complete",{"0":{"23":1,"32":1},"2":{"119":1}}],["completer~",{"2":{"22":3,"69":3}}],["completer",{"2":{"22":3,"69":3}}],["completion",{"2":{"22":6,"69":5}}],["completions",{"2":{"22":29,"69":13}}],["compliant",{"2":{"1":1}}],["combinations",{"2":{"22":1}}],["comment",{"2":{"43":2}}],["comments",{"2":{"43":1}}],["common",{"2":{"29":1,"90":1}}],["community",{"0":{"21":1,"89":1},"2":{"15":3,"89":3}}],["command>",{"2":{"41":4,"63":1,"64":1,"67":1,"116":1,"127":1}}],["command",{"2":{"2":1,"4":1,"18":1,"21":1,"22":1,"41":4,"46":1,"47":1,"51":3,"60":1,"61":1,"63":1,"65":1,"67":1,"68":1,"69":18,"83":1,"93":1,"101":1,"115":5,"116":5,"118":1,"119":1,"120":1,"121":1,"122":1,"123":12,"125":5,"126":1,"128":1}}],["commands",{"0":{"41":1,"123":1},"2":{"2":2,"18":1,"32":2,"36":1,"41":1,"48":1,"49":1,"51":1,"76":1,"87":1,"99":1,"101":3,"102":1,"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"123":9}}],["committing",{"2":{"11":1}}],["commits",{"0":{"7":1,"12":1},"2":{"12":1}}],["commit",{"2":{"2":1,"7":5,"12":1,"41":2,"43":1,"68":1,"74":1,"78":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1,"125":1}}],["com",{"2":{"1":5,"10":3,"20":1,"26":1,"41":2,"71":1,"72":2,"113":1,"125":1,"127":1,"130":1}}],["omitted",{"2":{"109":1}}],["our",{"2":{"68":1,"101":1}}],["outlined",{"2":{"84":1}}],["outcomes",{"2":{"59":1}}],["outputs",{"2":{"6":1,"109":2}}],["output",{"2":{"6":1,"41":1,"102":6,"105":1,"109":3,"110":5,"111":3,"112":4,"113":3,"114":2,"116":1,"117":3,"118":1,"119":1}}],["out",{"2":{"2":1,"69":2,"92":1,"125":1}}],["occur",{"2":{"48":1,"49":1,"76":1}}],["occurs",{"2":{"28":1,"48":1}}],["override",{"2":{"116":2}}],["overview",{"0":{"102":1,"103":1,"110":1},"2":{"102":1,"110":1,"111":1,"112":1,"113":1}}],["over",{"2":{"39":1,"57":1}}],["own",{"2":{"39":1,"89":1,"100":2,"105":1}}],["old",{"2":{"33":1}}],["observe",{"2":{"28":1}}],["objects",{"2":{"13":2}}],["operating",{"2":{"102":1,"110":1,"111":2,"112":1,"113":1}}],["opening",{"2":{"22":1}}],["option",{"2":{"76":2,"118":1}}],["options",{"2":{"31":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"100":1}}],["optional",{"0":{"108":1},"1":{"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"7":2,"41":1,"106":1,"107":1,"109":1,"112":1,"125":3}}],["optionally",{"2":{"4":1,"41":3,"110":1,"111":1,"112":1,"113":1}}],["opt",{"2":{"22":9,"69":3}}],["ohmyzsh",{"2":{"22":4}}],["oh",{"2":{"22":5,"94":1}}],["otherwise",{"2":{"116":2}}],["others",{"2":{"109":1}}],["other",{"2":{"11":1,"31":1,"43":1,"45":1,"58":2,"101":1,"112":1}}],["osx",{"2":{"127":1}}],["oss",{"2":{"22":1,"29":1}}],["os",{"2":{"3":1,"18":1,"25":1,"41":1,"65":1,"126":2,"127":1}}],["often",{"2":{"105":1}}],["offscreen",{"2":{"105":1}}],["officially",{"2":{"91":1}}],["official",{"0":{"20":1},"2":{"13":1,"14":1,"21":1,"91":1}}],["of",{"2":{"1":1,"2":2,"4":1,"7":2,"8":1,"13":1,"14":1,"15":1,"17":1,"18":1,"22":5,"23":1,"27":3,"28":3,"31":1,"32":3,"33":2,"34":3,"36":1,"39":3,"40":3,"41":10,"42":1,"43":2,"45":1,"46":1,"48":1,"49":2,"50":3,"54":1,"55":2,"56":1,"57":1,"58":3,"59":2,"66":5,"67":1,"71":1,"73":1,"74":2,"75":2,"84":2,"87":5,"89":1,"91":1,"93":1,"94":2,"96":1,"98":1,"101":2,"102":7,"103":6,"105":1,"106":1,"107":7,"109":9,"110":1,"111":2,"112":1,"113":2,"114":2,"116":2,"117":2,"118":2,"119":2,"120":1,"123":3,"124":1,"125":1}}],["order",{"2":{"105":3}}],["ordering",{"2":{"22":1}}],["origin",{"2":{"74":1}}],["org",{"2":{"21":1}}],["organisation",{"2":{"15":1}}],["or",{"2":{"1":3,"2":1,"3":1,"8":1,"10":2,"11":1,"21":1,"22":9,"27":1,"28":1,"32":1,"38":1,"41":6,"43":3,"47":4,"49":1,"50":1,"51":4,"56":1,"58":1,"60":1,"68":1,"69":2,"71":1,"78":1,"83":1,"84":1,"87":1,"88":1,"89":2,"94":1,"101":1,"102":3,"103":4,"106":7,"107":3,"109":5,"110":2,"111":2,"112":5,"113":3,"114":2,"115":2,"116":2,"117":1,"118":2,"119":3,"123":2,"125":1,"128":1}}],["one",{"2":{"33":1,"34":1,"41":1,"105":2,"110":1,"111":1,"113":2}}],["once",{"2":{"23":1,"34":1,"100":1,"107":1}}],["only",{"2":{"11":1,"23":1,"83":2,"92":1,"106":1,"107":1,"110":1,"118":1,"124":2,"129":1}}],["ongoing",{"2":{"8":1}}],["on",{"2":{"1":2,"4":1,"7":1,"10":2,"11":1,"12":1,"18":1,"22":3,"31":1,"37":1,"41":4,"43":1,"48":2,"49":1,"51":1,"52":1,"58":2,"59":1,"68":2,"74":1,"83":1,"87":1,"92":2,"98":1,"103":1,"105":4,"106":1,"109":1,"119":1,"125":1,"126":3,"128":1}}],["aware",{"2":{"124":1}}],["awk",{"2":{"105":1}}],["avoid",{"2":{"101":1,"107":1}}],["available",{"0":{"81":1},"2":{"11":1,"27":2,"41":1,"45":1,"87":1,"92":1,"103":2,"105":1,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1}}],["access",{"2":{"129":1}}],["accessing",{"2":{"128":1}}],["accessed",{"2":{"87":1}}],["accept",{"2":{"109":1,"119":1}}],["actual",{"2":{"27":1,"43":1}}],["actions",{"0":{"16":1},"2":{"16":1,"92":1,"126":3}}],["action",{"0":{"126":1},"2":{"7":2,"40":1,"126":1}}],["again",{"2":{"39":1}}],["aims",{"2":{"39":1}}],["absent",{"2":{"106":1,"107":1,"109":1}}],["absence",{"2":{"28":1}}],["absolutely",{"2":{"124":1}}],["absolute",{"2":{"53":1,"55":1,"56":1}}],["aborted",{"2":{"76":1}}],["above",{"2":{"52":1,"84":1}}],["about",{"2":{"22":1,"60":1,"102":1,"110":1}}],["after",{"2":{"22":2,"47":2,"51":3,"94":2,"102":2,"120":1,"121":1}}],["affect",{"2":{"22":1}}],["aforementioned",{"2":{"14":1}}],["argument",{"2":{"109":2,"119":1}}],["arguments",{"2":{"43":1}}],["args",{"2":{"41":1,"51":1,"63":1,"115":1,"116":1}}],["arg",{"2":{"22":6,"69":6}}],["archlinux",{"2":{"21":1}}],["are",{"2":{"1":1,"2":1,"7":1,"8":1,"10":1,"13":1,"14":1,"22":16,"25":1,"27":1,"29":2,"30":1,"32":1,"33":1,"34":2,"36":1,"40":1,"41":1,"48":1,"49":1,"51":2,"60":1,"66":1,"67":1,"70":1,"74":1,"76":1,"87":3,"89":2,"90":1,"99":1,"100":1,"103":2,"105":4,"109":1,"117":1,"123":1,"125":1}}],["augments",{"2":{"37":1}}],["aur",{"2":{"21":2,"22":1,"52":1,"68":1}}],["authentication",{"2":{"128":1,"129":1}}],["authorization",{"2":{"128":1}}],["authors",{"2":{"95":1,"123":1}}],["authored",{"2":{"15":1}}],["autoremove",{"2":{"69":1}}],["auto",{"2":{"44":1,"50":1,"59":1}}],["autocompletions",{"2":{"22":1}}],["autoload",{"2":{"22":1,"69":1}}],["automatically",{"2":{"7":1,"18":1,"22":8,"88":1,"93":1}}],["automated",{"2":{"1":1,"7":1,"12":1,"128":1}}],["api",{"0":{"128":1,"129":1},"1":{"129":1},"2":{"33":1,"70":1,"128":3,"129":1}}],["applies",{"2":{"118":1}}],["applied",{"2":{"105":1}}],["appropriate",{"2":{"117":1}}],["approach",{"2":{"39":1}}],["appear",{"2":{"92":1}}],["append",{"2":{"22":4}}],["apps",{"2":{"8":1}}],["apt",{"2":{"18":1,"25":1}}],["aptitude",{"2":{"18":1}}],["alternatively",{"2":{"83":1}}],["also",{"2":{"43":1,"87":1,"120":1,"121":1,"122":1,"124":1}}],["already",{"2":{"29":1,"49":1,"105":1,"107":1,"110":1}}],["almalinux",{"2":{"25":1}}],["always",{"0":{"47":1},"2":{"15":1,"44":1,"59":1,"119":1}}],["alpine",{"2":{"8":1}}],["allows",{"2":{"116":1,"124":1}}],["allow",{"2":{"66":1}}],["allowing",{"2":{"34":1}}],["all",{"0":{"41":1,"73":1,"81":1,"105":1},"2":{"2":1,"22":1,"27":2,"28":1,"32":1,"33":2,"36":1,"41":10,"43":1,"48":1,"49":2,"69":14,"73":1,"74":1,"75":1,"76":1,"81":4,"99":1,"102":2,"103":3,"105":7,"106":2,"109":4,"117":2,"128":1}}],["amongst",{"2":{"109":1}}],["amannn",{"2":{"7":1}}],["amp",{"0":{"7":1,"9":1,"12":1,"62":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1},"2":{"6":1,"9":1,"11":1,"18":1,"21":4,"22":24,"24":1,"28":1,"68":1,"69":14,"78":1,"92":1,"95":1,"102":1,"105":1,"109":1,"114":1,"125":2}}],["at",{"2":{"6":1,"22":1,"27":1,"41":1,"43":1,"94":1,"125":1}}],["advanced",{"2":{"4":1}}],["addition",{"2":{"124":1}}],["adding",{"2":{"22":3}}],["added",{"2":{"43":1,"102":1,"120":1}}],["add",{"0":{"71":1,"120":1},"2":{"1":4,"2":1,"10":2,"22":23,"26":1,"31":1,"41":3,"48":2,"49":2,"51":2,"71":5,"76":1,"91":1,"102":1,"120":6,"129":1,"130":3}}],["a",{"0":{"24":1,"27":1,"28":1,"99":1},"1":{"25":1,"26":1,"29":1,"30":1,"31":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1},"2":{"1":1,"2":1,"4":2,"7":5,"12":1,"13":1,"14":1,"15":1,"17":2,"18":1,"22":13,"23":2,"27":4,"28":5,"29":2,"30":1,"31":1,"33":3,"34":2,"36":1,"37":2,"38":1,"39":4,"40":5,"41":15,"43":10,"48":3,"49":2,"51":5,"52":1,"59":2,"65":2,"66":2,"67":1,"68":3,"69":1,"74":1,"75":3,"76":2,"78":2,"79":1,"80":1,"81":1,"82":1,"83":3,"87":3,"89":2,"92":2,"93":1,"99":3,"100":1,"102":10,"105":5,"106":4,"107":5,"109":8,"110":2,"111":1,"112":1,"113":2,"114":1,"116":2,"117":1,"118":2,"119":3,"120":1,"123":4,"124":1,"125":1,"126":2,"127":2,"128":2,"129":1,"130":1}}],["another",{"2":{"43":1,"127":1}}],["any",{"2":{"40":1,"43":1,"53":1,"54":1,"55":1,"56":1,"58":1,"66":1,"69":1,"87":1,"94":1,"105":1,"107":1,"110":2,"112":2,"118":1,"119":1}}],["an",{"2":{"6":1,"7":1,"8":1,"11":1,"12":1,"41":2,"43":1,"53":1,"55":1,"56":1,"59":1,"67":1,"83":3,"84":1,"93":1,"115":1,"116":1,"123":1,"124":4,"128":3}}],["analysis",{"2":{"1":1}}],["and",{"2":{"1":2,"2":4,"7":1,"8":1,"10":1,"11":1,"13":2,"14":2,"15":1,"16":1,"17":1,"22":5,"23":1,"29":1,"31":1,"33":4,"34":2,"36":3,"37":1,"38":2,"39":3,"40":3,"41":9,"42":1,"43":4,"51":1,"52":2,"54":1,"56":1,"58":1,"60":1,"65":1,"67":2,"69":10,"74":1,"76":1,"78":1,"87":4,"92":1,"94":1,"100":2,"106":3,"107":3,"109":2,"110":4,"111":3,"112":4,"113":4,"119":1}}],["assume",{"2":{"106":1,"107":1}}],["association",{"2":{"71":1}}],["associated",{"2":{"15":1,"22":2}}],["aspects",{"2":{"91":1}}],["as",{"2":{"1":1,"6":1,"8":1,"11":1,"14":1,"22":3,"25":1,"36":1,"41":1,"42":2,"59":1,"60":1,"67":1,"69":2,"71":1,"75":1,"76":1,"84":1,"87":1,"89":1,"99":1,"100":1,"105":3,"106":2,"109":1,"110":1,"117":1,"123":7,"124":3}}],["asdfrc",{"0":{"44":1},"1":{"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1},"2":{"31":1,"42":1,"44":2,"53":3,"59":8,"69":14,"76":1,"118":1}}],["asdf~",{"2":{"22":6,"69":6}}],["asdf",{"0":{"0":1,"19":1,"22":1,"40":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"76":1,"88":1,"123":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"20":1,"21":1},"2":{"0":1,"1":13,"2":1,"3":2,"4":1,"7":1,"8":3,"10":8,"11":1,"12":1,"15":7,"16":1,"17":3,"18":1,"20":3,"21":3,"22":112,"23":2,"24":1,"25":1,"26":2,"27":4,"28":3,"29":2,"31":3,"32":5,"33":2,"34":2,"36":2,"37":3,"38":1,"39":2,"40":3,"41":43,"42":1,"43":6,"44":2,"46":1,"47":1,"48":4,"49":6,"50":1,"51":4,"52":3,"53":2,"54":1,"55":4,"56":5,"57":3,"58":6,"59":13,"60":3,"61":1,"65":1,"66":1,"67":3,"68":6,"69":118,"70":1,"71":3,"72":5,"74":1,"75":1,"76":4,"78":1,"79":2,"80":2,"81":2,"82":2,"83":8,"84":2,"85":3,"86":1,"87":11,"88":2,"89":7,"90":1,"91":1,"93":4,"94":3,"95":1,"99":3,"100":4,"101":2,"102":1,"103":11,"105":5,"106":15,"107":18,"109":17,"110":11,"111":9,"112":9,"113":9,"114":15,"115":9,"116":11,"117":3,"118":6,"119":3,"120":9,"121":10,"122":8,"123":12,"124":3,"125":10,"126":4,"127":6,"130":5}}],["great",{"2":{"123":1}}],["go",{"2":{"119":1}}],["golangs",{"2":{"119":1}}],["golden",{"0":{"101":1}}],["goes",{"2":{"14":1}}],["gives",{"2":{"93":1}}],["given",{"2":{"41":1,"79":1,"80":1,"81":1,"82":1}}],["gitref",{"2":{"125":2}}],["gitlens",{"2":{"4":2}}],["gitignore",{"0":{"3":1},"2":{"3":3}}],["git",{"0":{"4":1},"2":{"1":8,"4":6,"10":5,"18":7,"20":1,"21":3,"22":8,"26":1,"30":1,"33":1,"41":6,"48":1,"49":1,"52":1,"59":1,"68":2,"69":5,"71":3,"72":2,"99":1,"103":3,"105":2,"106":1,"107":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"118":1,"121":3,"125":3,"127":2,"130":3}}],["github",{"0":{"16":1,"126":1,"129":1},"2":{"1":7,"7":1,"10":5,"15":1,"20":1,"26":1,"41":2,"43":1,"71":1,"72":2,"89":2,"92":1,"98":1,"113":1,"125":1,"126":3,"127":1,"129":1,"130":1}}],["g",{"2":{"33":1,"66":1,"93":1,"117":1}}],["gnupg2",{"2":{"25":1}}],["gawk",{"2":{"25":3}}],["gpg",{"2":{"25":2}}],["general",{"2":{"102":1,"110":1}}],["generally",{"2":{"52":1}}],["generator",{"2":{"11":1}}],["generated",{"2":{"100":1}}],["generate",{"2":{"7":1,"100":1}}],["get",{"2":{"25":1,"100":1,"116":2}}],["getting",{"0":{"17":1},"1":{"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1},"2":{"32":1,"62":1}}],["gt",{"2":{"6":1,"7":2,"12":1,"43":1,"48":3,"49":4,"51":5,"58":1,"66":2,"76":1,"84":1,"99":3,"100":2,"105":2,"106":2,"107":3,"109":5,"110":2,"111":2,"112":2,"113":5,"114":3,"115":3,"116":3,"117":2,"120":1,"121":2,"122":1,"125":7}}],["global",{"0":{"29":1},"2":{"3":1,"17":1,"29":3,"41":4,"43":2,"66":1,"83":5,"84":1,"87":1,"109":2,"117":1}}],["guidelines",{"2":{"16":1}}],["guide",{"0":{"32":1},"2":{"0":1,"9":1,"12":1,"23":1,"29":1,"32":1,"62":1,"69":2}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexzh-hans.BveK1egn.js b/assets/chunks/@localSearchIndexzh-hans.BveK1egn.js new file mode 100644 index 00000000..a9a59937 --- /dev/null +++ b/assets/chunks/@localSearchIndexzh-hans.BveK1egn.js @@ -0,0 +1 @@ +const t='{"documentCount":112,"nextId":112,"documentIds":{"0":"/zh-hans/contribute/core.html#asdf","1":"/zh-hans/contribute/core.html#初始化安装","2":"/zh-hans/contribute/core.html#开发","3":"/zh-hans/contribute/core.html#bats-测试","4":"/zh-hans/contribute/core.html#拉取请求、发布以及约定式提交","5":"/zh-hans/contribute/core.html#docker-镜像","6":"/zh-hans/contribute/documentation.html#文档-网站","7":"/zh-hans/contribute/documentation.html#初始化设置","8":"/zh-hans/contribute/documentation.html#开发","9":"/zh-hans/contribute/documentation.html#拉取请求、发布以及约定式提交","10":"/zh-hans/contribute/documentation.html#vuepress","11":"/zh-hans/contribute/documentation.html#i18n-国际化","12":"/zh-hans/contribute/first-party-plugins.html#官方插件","13":"/zh-hans/contribute/github-actions.html#github-actions","14":"/zh-hans/guide/getting-started.html#快速入门","15":"/zh-hans/guide/getting-started.html#_1-安装依赖","16":"/zh-hans/guide/getting-started.html#_2-下载-asdf","17":"/zh-hans/guide/getting-started.html#official-download","18":"/zh-hans/guide/getting-started.html#community-supported-download-methods","19":"/zh-hans/guide/getting-started.html#_3-安装-asdf","20":"/zh-hans/guide/getting-started.html#核心安装完成","21":"/zh-hans/guide/getting-started.html#_4-安装插件","22":"/zh-hans/guide/getting-started.html#插件依赖","23":"/zh-hans/guide/getting-started.html#安装插件","24":"/zh-hans/guide/getting-started.html#_5-安装指定版本","25":"/zh-hans/guide/getting-started.html#_6-设置默认版本","26":"/zh-hans/guide/getting-started.html#全局","27":"/zh-hans/guide/getting-started.html#本地","28":"/zh-hans/guide/getting-started.html#使用现有工具版本文件","29":"/zh-hans/guide/getting-started.html#完成指南","30":"/zh-hans/guide/introduction.html#项目简介","31":"/zh-hans/guide/introduction.html#它是如何工作的","32":"/zh-hans/guide/introduction.html#相关项目","33":"/zh-hans/guide/introduction.html#nvm-n-rbenv-等","34":"/zh-hans/guide/introduction.html#direnv","35":"/zh-hans/guide/introduction.html#homebrew","36":"/zh-hans/guide/introduction.html#nixos","37":"/zh-hans/guide/introduction.html#为什么使用-asdf","38":"/zh-hans/manage/commands.html#所有命令","39":"/zh-hans/manage/configuration.html#配置","40":"/zh-hans/manage/configuration.html#tool-versions","41":"/zh-hans/manage/configuration.html#home-asdfrc","42":"/zh-hans/manage/configuration.html#legacy-version-file","43":"/zh-hans/manage/configuration.html#use-release-candidates","44":"/zh-hans/manage/configuration.html#always-keep-download","45":"/zh-hans/manage/configuration.html#plugin-repository-last-check-duration","46":"/zh-hans/manage/configuration.html#环境变量","47":"/zh-hans/manage/configuration.html#内部配置","48":"/zh-hans/manage/core.html#核心","49":"/zh-hans/manage/core.html#安装和配置","50":"/zh-hans/manage/core.html#exec","51":"/zh-hans/manage/core.html#env","52":"/zh-hans/manage/core.html#info","53":"/zh-hans/manage/core.html#reshim","54":"/zh-hans/manage/core.html#shim-versions","55":"/zh-hans/manage/core.html#更新","56":"/zh-hans/manage/core.html#卸载","57":"/zh-hans/manage/plugins.html#插件","58":"/zh-hans/manage/plugins.html#添加","59":"/zh-hans/manage/plugins.html#列举已安装","60":"/zh-hans/manage/plugins.html#列举缩写存储库中的所有插件","61":"/zh-hans/manage/plugins.html#更新","62":"/zh-hans/manage/plugins.html#移除","63":"/zh-hans/manage/plugins.html#同步缩写存储库","64":"/zh-hans/manage/versions.html#版本","65":"/zh-hans/manage/versions.html#安装版本","66":"/zh-hans/manage/versions.html#安装最新稳定版本","67":"/zh-hans/manage/versions.html#列举已安装版本","68":"/zh-hans/manage/versions.html#列举所有可用版本","69":"/zh-hans/manage/versions.html#显示最新稳定版本","70":"/zh-hans/manage/versions.html#设置当前版本","71":"/zh-hans/manage/versions.html#回退到系统版本","72":"/zh-hans/manage/versions.html#显示当前版本","73":"/zh-hans/manage/versions.html#卸载版本","74":"/zh-hans/manage/versions.html#垫片-shims","75":"/zh-hans/manage/versions.html#绕过-asdf-垫片","76":"/zh-hans/more/community-projects.html#community-projects","77":"/zh-hans/more/faq.html#faq","78":"/zh-hans/more/faq.html#支持-wsl1-吗","79":"/zh-hans/more/faq.html#支持-wsl2-吗","80":"/zh-hans/more/faq.html#新安装的可执行程序无法运行","81":"/zh-hans/more/faq.html#shell-没有检测到新安装的垫片","82":"/zh-hans/plugins/create.html#创建插件","83":"/zh-hans/plugins/create.html#插件里有什么","84":"/zh-hans/plugins/create.html#必要的脚本","85":"/zh-hans/plugins/create.html#环境变量","86":"/zh-hans/plugins/create.html#bin-list-all","87":"/zh-hans/plugins/create.html#bin-download","88":"/zh-hans/plugins/create.html#bin-install","89":"/zh-hans/plugins/create.html#可选脚本","90":"/zh-hans/plugins/create.html#bin-help-脚本","91":"/zh-hans/plugins/create.html#bin-latest-stable","92":"/zh-hans/plugins/create.html#bin-list-bin-paths","93":"/zh-hans/plugins/create.html#bin-exec-env","94":"/zh-hans/plugins/create.html#bin-exec-path","95":"/zh-hans/plugins/create.html#bin-uninstall","96":"/zh-hans/plugins/create.html#bin-list-legacy-filenames","97":"/zh-hans/plugins/create.html#bin-parse-legacy-file","98":"/zh-hans/plugins/create.html#bin-post-plugin-add","99":"/zh-hans/plugins/create.html#bin-post-plugin-update","100":"/zh-hans/plugins/create.html#bin-pre-plugin-remove","101":"/zh-hans/plugins/create.html#asdf-命令行的扩展命令","102":"/zh-hans/plugins/create.html#自定义垫片模板","103":"/zh-hans/plugins/create.html#测试插件","104":"/zh-hans/plugins/create.html#github-action-示例","105":"/zh-hans/plugins/create.html#travisci-配置示例","106":"/zh-hans/plugins/create.html#github-api-频率限制","107":"/zh-hans/plugins/create.html#向官方插件存储库提交插件","108":"/zh-hans/more/thanks.html#致谢","109":"/zh-hans/more/thanks.html#作者","110":"/zh-hans/more/thanks.html#维护者","111":"/zh-hans/more/thanks.html#贡献者"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,3],"1":[1,1,59],"2":[1,1,42],"3":[2,1,39],"4":[2,1,69],"5":[2,1,9],"6":[3,1,4],"7":[1,3,50],"8":[1,3,33],"9":[2,3,17],"10":[1,3,27],"11":[2,3,50],"12":[1,1,24],"13":[2,1,8],"14":[1,1,15],"15":[2,1,59],"16":[3,1,1],"17":[2,4,14],"18":[4,4,32],"19":[3,1,177],"20":[2,1,8],"21":[2,1,8],"22":[1,3,25],"23":[1,3,11],"24":[2,1,23],"25":[2,1,17],"26":[1,3,24],"27":[1,3,20],"28":[1,3,29],"29":[2,1,19],"30":[1,1,22],"31":[1,1,17],"32":[1,1,1],"33":[4,2,18],"34":[1,2,13],"35":[1,2,15],"36":[1,2,19],"37":[3,1,15],"38":[1,1,144],"39":[1,1,9],"40":[3,1,74],"41":[2,1,30],"42":[3,3,21],"43":[3,3,12],"44":[3,3,11],"45":[5,3,31],"46":[1,1,48],"47":[1,1,20],"48":[1,1,5],"49":[1,1,4],"50":[1,1,7],"51":[1,1,6],"52":[1,1,11],"53":[1,1,31],"54":[2,1,29],"55":[1,1,26],"56":[1,1,110],"57":[1,1,14],"58":[1,1,25],"59":[1,1,14],"60":[1,1,8],"61":[1,1,18],"62":[1,1,11],"63":[1,1,31],"64":[1,1,1],"65":[1,1,19],"66":[1,1,11],"67":[1,1,10],"68":[1,1,11],"69":[1,1,10],"70":[1,1,48],"71":[1,1,23],"72":[1,1,22],"73":[1,1,10],"74":[3,1,66],"75":[3,4,12],"76":[2,1,48],"77":[1,1,4],"78":[4,1,12],"79":[4,1,25],"80":[2,1,25],"81":[3,1,26],"82":[1,1,1],"83":[1,1,14],"84":[1,1,9],"85":[1,1,41],"86":[3,2,36],"87":[2,2,28],"88":[2,2,51],"89":[1,1,1],"90":[3,2,65],"91":[3,2,36],"92":[3,2,21],"93":[3,2,2],"94":[3,2,25],"95":[2,2,2],"96":[4,2,15],"97":[4,2,11],"98":[4,2,19],"99":[4,2,22],"100":[4,2,15],"101":[2,1,64],"102":[1,1,24],"103":[1,1,58],"104":[3,2,28],"105":[2,2,37],"106":[3,1,46],"107":[1,1,21],"108":[1,1,3],"109":[1,1,11],"110":[1,1,6],"111":[1,1,7]},"averageFieldLength":[1.8125,1.5089285714285716,25.785714285714285],"storedFields":{"0":{"title":"asdf","titles":[]},"1":{"title":"初始化安装","titles":["asdf"]},"2":{"title":"开发","titles":["asdf"]},"3":{"title":"Bats 测试","titles":["asdf"]},"4":{"title":"拉取请求、发布以及约定式提交","titles":["asdf"]},"5":{"title":"Docker 镜像","titles":["asdf"]},"6":{"title":"文档 & 网站","titles":[]},"7":{"title":"初始化设置","titles":["文档 & 网站"]},"8":{"title":"开发","titles":["文档 & 网站"]},"9":{"title":"拉取请求、发布以及约定式提交","titles":["文档 & 网站"]},"10":{"title":"Vuepress","titles":["文档 & 网站"]},"11":{"title":"I18n 国际化","titles":["文档 & 网站"]},"12":{"title":"官方插件","titles":[]},"13":{"title":"GitHub Actions","titles":[]},"14":{"title":"快速入门","titles":[]},"15":{"title":"1. 安装依赖","titles":["快速入门"]},"16":{"title":"2. 下载 asdf","titles":["快速入门"]},"17":{"title":"Official Download","titles":["快速入门","2. 下载 asdf"]},"18":{"title":"Community Supported Download Methods","titles":["快速入门","2. 下载 asdf"]},"19":{"title":"3. 安装 asdf","titles":["快速入门"]},"20":{"title":"核心安装完成!","titles":["快速入门"]},"21":{"title":"4. 安装插件","titles":["快速入门"]},"22":{"title":"插件依赖","titles":["快速入门","4. 安装插件"]},"23":{"title":"安装插件","titles":["快速入门","4. 安装插件"]},"24":{"title":"5. 安装指定版本","titles":["快速入门"]},"25":{"title":"6. 设置默认版本","titles":["快速入门"]},"26":{"title":"全局","titles":["快速入门","6. 设置默认版本"]},"27":{"title":"本地","titles":["快速入门","6. 设置默认版本"]},"28":{"title":"使用现有工具版本文件","titles":["快速入门","6. 设置默认版本"]},"29":{"title":"完成指南!","titles":["快速入门"]},"30":{"title":"项目简介","titles":[]},"31":{"title":"它是如何工作的","titles":["项目简介"]},"32":{"title":"相关项目","titles":["项目简介"]},"33":{"title":"nvm / n / rbenv 等","titles":["项目简介","相关项目"]},"34":{"title":"direnv","titles":["项目简介","相关项目"]},"35":{"title":"Homebrew","titles":["项目简介","相关项目"]},"36":{"title":"NixOS","titles":["项目简介","相关项目"]},"37":{"title":"为什么使用 asdf?","titles":["项目简介"]},"38":{"title":"所有命令","titles":[]},"39":{"title":"配置","titles":[]},"40":{"title":".tool-versions","titles":["配置"]},"41":{"title":"$HOME/.asdfrc","titles":["配置"]},"42":{"title":"legacy_version_file","titles":["配置","$HOME/.asdfrc"]},"43":{"title":"use_release_candidates","titles":["配置","$HOME/.asdfrc"]},"44":{"title":"always_keep_download","titles":["配置","$HOME/.asdfrc"]},"45":{"title":"plugin_repository_last_check_duration","titles":["配置","$HOME/.asdfrc"]},"46":{"title":"环境变量","titles":["配置"]},"47":{"title":"内部配置","titles":["配置"]},"48":{"title":"核心","titles":[]},"49":{"title":"安装和配置","titles":["核心"]},"50":{"title":"Exec","titles":["核心"]},"51":{"title":"Env","titles":["核心"]},"52":{"title":"Info","titles":["核心"]},"53":{"title":"Reshim","titles":["核心"]},"54":{"title":"Shim-versions","titles":["核心"]},"55":{"title":"更新","titles":["核心"]},"56":{"title":"卸载","titles":["核心"]},"57":{"title":"插件","titles":[]},"58":{"title":"添加","titles":["插件"]},"59":{"title":"列举已安装","titles":["插件"]},"60":{"title":"列举缩写存储库中的所有插件","titles":["插件"]},"61":{"title":"更新","titles":["插件"]},"62":{"title":"移除","titles":["插件"]},"63":{"title":"同步缩写存储库","titles":["插件"]},"64":{"title":"版本","titles":[]},"65":{"title":"安装版本","titles":["版本"]},"66":{"title":"安装最新稳定版本","titles":["版本"]},"67":{"title":"列举已安装版本","titles":["版本"]},"68":{"title":"列举所有可用版本","titles":["版本"]},"69":{"title":"显示最新稳定版本","titles":["版本"]},"70":{"title":"设置当前版本","titles":["版本"]},"71":{"title":"回退到系统版本","titles":["版本"]},"72":{"title":"显示当前版本","titles":["版本"]},"73":{"title":"卸载版本","titles":["版本"]},"74":{"title":"垫片(Shims)","titles":["版本"]},"75":{"title":"绕过 asdf 垫片","titles":["版本","垫片(Shims)"]},"76":{"title":"Community Projects","titles":[]},"77":{"title":"FAQ","titles":[]},"78":{"title":"支持 WSL1 吗?","titles":["FAQ"]},"79":{"title":"支持 WSL2 吗?","titles":["FAQ"]},"80":{"title":"新安装的可执行程序无法运行?","titles":["FAQ"]},"81":{"title":"Shell 没有检测到新安装的垫片?","titles":["FAQ"]},"82":{"title":"创建插件","titles":[]},"83":{"title":"插件里有什么","titles":["创建插件"]},"84":{"title":"必要的脚本","titles":["创建插件"]},"85":{"title":"环境变量","titles":["创建插件"]},"86":{"title":"bin/list-all","titles":["创建插件","环境变量"]},"87":{"title":"bin/download","titles":["创建插件","环境变量"]},"88":{"title":"bin/install","titles":["创建插件","环境变量"]},"89":{"title":"可选脚本","titles":["创建插件"]},"90":{"title":"bin/help 脚本","titles":["创建插件","可选脚本"]},"91":{"title":"bin/latest-stable","titles":["创建插件","可选脚本"]},"92":{"title":"bin/list-bin-paths","titles":["创建插件","可选脚本"]},"93":{"title":"bin/exec-env","titles":["创建插件","可选脚本"]},"94":{"title":"bin/exec-path","titles":["创建插件","可选脚本"]},"95":{"title":"bin/uninstall","titles":["创建插件","可选脚本"]},"96":{"title":"bin/list-legacy-filenames","titles":["创建插件","可选脚本"]},"97":{"title":"bin/parse-legacy-file","titles":["创建插件","可选脚本"]},"98":{"title":"bin/post-plugin-add","titles":["创建插件","可选脚本"]},"99":{"title":"bin/post-plugin-update","titles":["创建插件","可选脚本"]},"100":{"title":"bin/pre-plugin-remove","titles":["创建插件","可选脚本"]},"101":{"title":"asdf 命令行的扩展命令","titles":["创建插件"]},"102":{"title":"自定义垫片模板","titles":["创建插件"]},"103":{"title":"测试插件","titles":["创建插件"]},"104":{"title":"GitHub Action 示例","titles":["创建插件","测试插件"]},"105":{"title":"TravisCI 配置示例","titles":["创建插件","测试插件"]},"106":{"title":"GitHub API 频率限制","titles":["创建插件"]},"107":{"title":"向官方插件存储库提交插件","titles":["创建插件"]},"108":{"title":"致谢","titles":[]},"109":{"title":"作者","titles":["致谢"]},"110":{"title":"维护者","titles":["致谢"]},"111":{"title":"贡献者","titles":["致谢"]}},"dirtCount":0,"index":[["🙏",{"2":{"111":1}}],["贡献者名单",{"2":{"111":1}}],["贡献者",{"0":{"111":1}}],["维护者",{"0":{"110":1}}],["直到时间尽头",{"2":{"109":1}}],["版权",{"2":{"109":1}}],["版本已经按照正确的顺序排列",{"2":{"86":1}}],["版本格式与",{"2":{"70":1}}],["版本化的插件和更新正在开发中",{"2":{"61":1}}],["版本下的",{"2":{"53":1}}],["版本号可以有如下格式",{"2":{"40":1}}],["版本文件",{"2":{"33":1}}],["版本了",{"2":{"29":1}}],["版本参考部分",{"2":{"26":1}}],["版本",{"0":{"64":1},"1":{"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1},"2":{"24":1,"29":1,"91":1}}],["版本并生成",{"2":{"4":1}}],["咳嗽",{"2":{"109":1}}],["感冒",{"2":{"109":1}}],["感谢你的关注",{"2":{"13":1}}],["高烧",{"2":{"109":1}}],["作者",{"0":{"109":1}}],["作者和贡献者的感谢页",{"2":{"108":1}}],["致谢",{"0":{"108":1},"1":{"109":1,"110":1,"111":1}}],["轻松安装插件",{"2":{"107":1}}],["向官方插件存储库提交插件",{"0":{"107":1}}],["向其传递插件的名称和垫片正在包装的已安装包中的可执行程序的路径",{"2":{"74":1}}],["绝对不要",{"2":{"106":1}}],["安全",{"2":{"106":1}}],["安装或编译该工具所需的任何环境变量或其他标志",{"2":{"90":1}}],["安装脚本应以",{"2":{"88":1}}],["安装成功时",{"2":{"88":1}}],["安装到的目录",{"2":{"85":2}}],["安装到了其他目录",{"2":{"46":1}}],["安装一个包时",{"2":{"74":1}}],["安装给定字符串开头的最新稳定版本",{"2":{"66":1}}],["安装最新稳定版本",{"0":{"66":1}}],["安装版本",{"0":{"65":1}}],["安装和配置",{"0":{"49":1}}],["安装和管理的工具了",{"2":{"26":1}}],["安装的可执行程序会为每个可执行程序创建",{"2":{"31":1}}],["安装指定版本",{"0":{"24":1},"2":{"84":1}}],["安装插件",{"0":{"21":1,"23":1},"1":{"22":1,"23":1},"2":{"46":1}}],["安装工具",{"2":{"14":1}}],["安装",{"0":{"19":1},"2":{"14":1}}],["安装依赖",{"0":{"15":1},"2":{"14":1,"22":1}}],["安装过程包括",{"2":{"14":1}}],["构建设置中添加一个名为",{"2":{"106":1}}],["然后",{"2":{"106":1}}],["权限的",{"2":{"106":1}}],["频率限制",{"0":{"106":1}}],["示例文件",{"2":{"105":1}}],["示例",{"0":{"104":1}}],["示例输出如下所示",{"2":{"86":1,"92":1}}],["环境中测试你的插件",{"2":{"103":1}}],["环境变量包含的路径",{"2":{"87":1}}],["环境变量",{"0":{"46":1,"85":1},"1":{"86":1,"87":1,"88":1},"2":{"88":1,"106":1}}],["环境变量等等",{"2":{"30":1}}],["要测试",{"2":{"103":1}}],["要使用工具",{"2":{"71":1}}],["要使用的工具的自定义编译版本的路径",{"2":{"40":1}}],["剩下的参数被视为要执行的命令",{"2":{"103":1}}],["只有前两个参数是必须的",{"2":{"103":1}}],["只有当前工作目录是",{"2":{"79":1}}],["还被读作为",{"2":{"102":1}}],["还有更多命令需要熟悉",{"2":{"29":1}}],["允许自定义垫片模板",{"2":{"102":1}}],["允许全局安装可执行程序",{"2":{"53":1}}],["解析所获取文件的完整路径",{"2":{"101":1}}],["解析器",{"2":{"1":1}}],["且具有来自",{"2":{"101":1}}],["假设一个",{"2":{"101":1}}],["其他请参考相关钩子",{"2":{"98":1,"99":1,"100":1}}],["其中包含用于演示的默认值",{"2":{"41":1}}],["其中",{"2":{"10":1,"65":1}}],["该脚本可以访问安装插件的路径",{"2":{"100":1}}],["该脚本可以访问插件的安装路径",{"2":{"98":1,"99":1}}],["该标题成为默认分支上的提交消息格式",{"2":{"4":1}}],["后运行任何安装后操作",{"2":{"98":1}}],["未实现",{"2":{"97":1}}],["找到的传统文件",{"2":{"97":1}}],["获取工具的指定版本的可执行程序路径",{"2":{"94":1}}],["路径必须相对于传递的安装路径",{"2":{"92":1}}],["字符串调用",{"2":{"91":1}}],["过滤器",{"2":{"91":1}}],["帮助回调脚本不得输出核心",{"2":{"90":1}}],["行的格式可以是",{"2":{"90":1}}],["尽可能针对当前操作系统量身定制",{"2":{"90":1}}],["尽可能针对用户的操作系统",{"2":{"90":1}}],["尽管我们试图保持依赖关系列表很小",{"2":{"35":1}}],["输出",{"2":{"94":1}}],["输出可以是自由格式的文本",{"2":{"90":2}}],["输出将使你能够在测试执行期间打印带有特殊文件描述符",{"2":{"3":1}}],["及更高版本",{"2":{"88":1}}],["及更早版本和",{"2":{"88":1}}],["即使它还未完全安装",{"2":{"88":1}}],["扩展命令",{"2":{"101":1}}],["扩展",{"2":{"88":1}}],["检查",{"2":{"88":1}}],["检查和测试你的代码",{"2":{"2":1}}],["才将文件放在",{"2":{"88":1}}],["才能",{"2":{"79":1}}],["本身的新命令扩展的插件",{"2":{"101":1}}],["本脚本应在",{"2":{"88":1}}],["本地版本被定义在",{"2":{"27":1}}],["本地",{"0":{"27":1}}],["状态退出",{"2":{"87":1,"88":1}}],["此外",{"2":{"101":1}}],["此回调使用单个",{"2":{"91":1}}],["此脚本应该打印对插件和工具可能有用的任何必需或可选配置",{"2":{"90":1}}],["此脚本应该输出为操作系统量身定制的依赖项列表",{"2":{"90":1}}],["此脚本应该输出有关插件和所管理工具的一般描述",{"2":{"90":1}}],["此脚本必须下载源代码或者二进制文件到",{"2":{"87":1}}],["此关键字会导致",{"2":{"40":1}}],["非常有用",{"2":{"85":1}}],["非常相似",{"2":{"33":1}}],["编译源代码时使用的内核数",{"2":{"85":1}}],["应该",{"2":{"85":1}}],["应该作为你选择的",{"2":{"79":1}}],["必须明智地使用这一点",{"2":{"102":1}}],["必须打印具有相对可执行程序路径的字符串",{"2":{"94":1}}],["必须打印一个带有空格分隔的文件名列表的字符串",{"2":{"96":1}}],["必须打印一个带有空格分隔的包含可执行文件的目录路径列表的字符串",{"2":{"92":1}}],["必须打印一个带有空格分隔的版本列表的字符串",{"2":{"86":1}}],["必须使用自动补全完成配置",{"2":{"19":1}}],["必要的脚本",{"0":{"84":1}}],["那么",{"2":{"102":1}}],["那么早期版本可能会不在屏幕上",{"2":{"86":1}}],["那么这将是版本号",{"2":{"85":1}}],["那么很有可能是在",{"2":{"81":1}}],["那样配置了",{"2":{"56":2}}],["没有解决你的问题",{"2":{"81":1}}],["没有检测到新安装的垫片",{"0":{"81":1}}],["创建一个仅具有",{"2":{"106":1}}],["创建一个垫片即可",{"2":{"80":1}}],["创建垫片的需要",{"2":{"80":1}}],["创建插件",{"0":{"82":1},"1":{"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1},"2":{"57":1}}],["我",{"2":{"109":1}}],["我执行了",{"2":{"80":1}}],["我们强烈建议你在",{"2":{"103":1}}],["我们可以运行",{"2":{"103":1}}],["我们打算在",{"2":{"79":1}}],["我们不打算添加对",{"2":{"78":1}}],["我们推荐的安装方法",{"2":{"55":1}}],["我们将只安装最新可用的",{"2":{"24":1}}],["我们将通过",{"2":{"21":1}}],["我们通过",{"2":{"24":1}}],["我们应该提前安装这些依赖",{"2":{"22":1}}],["新个人令牌",{"2":{"106":1}}],["新安装的可执行程序无法运行",{"0":{"80":1}}],["新特性需要进行测试",{"2":{"2":1}}],["驱动器时",{"2":{"79":1}}],["驱动器而不是绑定的",{"2":{"79":1}}],["重要的是",{"2":{"79":1}}],["重点是",{"2":{"8":1}}],["发行版来使用本设置和依赖说明",{"2":{"79":1}}],["发布以及约定式提交",{"0":{"4":1,"9":1}}],["不得出现一般的",{"2":{"90":1}}],["不应该打印任何标题",{"2":{"90":1}}],["不受官方支持",{"2":{"78":1}}],["不管理上游依赖",{"2":{"35":1,"36":1}}],["不管理环境变量",{"2":{"34":1}}],["吗",{"0":{"78":1,"79":1}}],["quality",{"2":{"76":1}}],["绕过",{"0":{"75":1}}],["返回软件包安装目录的路径",{"2":{"74":1}}],["返回当前版本中主要可执行程序的路径",{"2":{"74":1}}],["两个",{"2":{"74":1}}],["两者特性集合大致相同",{"2":{"8":1}}],["生效而不是执行的脚本都需要直接访问",{"2":{"74":1}}],["生效位置的下方",{"2":{"19":1}}],["调用时",{"2":{"101":1}}],["调用",{"2":{"74":1}}],["调试信息的辅助命令",{"2":{"52":1}}],["调试有时可能很困难",{"2":{"3":1}}],["回调打印的是",{"2":{"91":1}}],["回调打印的最新版本",{"2":{"91":1}}],["回调打印同一工具的不同变体并且最新版本不是你希望默认使用的变体的最新稳定版本时",{"2":{"91":1}}],["回调来操作",{"2":{"74":1}}],["回退到系统版本",{"0":{"71":1}}],["回退到",{"2":{"40":1}}],["软件包安装目录中的可执行程序的最终路径",{"2":{"74":1}}],["辅助程序确定要使用的软件包版本",{"2":{"74":1}}],["kim",{"2":{"72":3}}],["keep",{"0":{"44":1},"2":{"41":1}}],["会话或者在特定工具版本下执行一条命令",{"2":{"70":1}}],["会话将版本设置为一个名为",{"2":{"70":1}}],["可执行文件期望找到相对于可执行目录的动态链接库的问题",{"2":{"101":1}}],["可能指向存储库的一个标签",{"2":{"85":1}}],["可选脚本",{"0":{"89":1},"1":{"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1}}],["可选",{"2":{"70":1}}],["可以通过指定插件存储库",{"2":{"107":1}}],["可以通过可选的",{"2":{"88":1}}],["可以通过返回已安装软件包的路径来帮助解决这个问题",{"2":{"74":1}}],["可以被设置在上一节提到的生效",{"2":{"46":1}}],["可以被设置在任何位置",{"2":{"46":1}}],["可以是任何有效的文件名",{"2":{"46":1}}],["可以直接编辑这个文件或者使用",{"2":{"40":1}}],["可以用来集成",{"2":{"34":1}}],["可以用最少的配置编写",{"2":{"8":1}}],["可以看到所有可用的版本或者通过",{"2":{"24":1}}],["可以使用以下脚本",{"2":{"2":1}}],["可以将以下行的内容添加到",{"2":{"40":1}}],["可以将",{"2":{"2":1}}],["设置环境变量以运行包中的二进制文件",{"2":{"93":1}}],["设置变量时",{"2":{"90":1}}],["设置系统",{"2":{"71":1}}],["设置当前版本",{"0":{"70":1},"2":{"71":1}}],["设置默认版本",{"0":{"25":1},"1":{"26":1,"27":1,"28":1}}],["显示当前版本",{"0":{"72":1}}],["显示以给定字符串开头的最新稳定版本",{"2":{"69":1}}],["显示最新稳定版本",{"0":{"69":1}}],["筛选出以给定字符串开头的版本",{"2":{"67":1,"68":1}}],["分钟内没有同步",{"2":{"63":1}}],["分支",{"2":{"85":1,"103":1}}],["分支上的最新提交",{"2":{"55":1}}],["分支从",{"2":{"40":1}}],["同步缩写存储库",{"0":{"63":1}}],["同样",{"2":{"36":1,"90":1}}],["修剪工具的许多未使用版本的简单方法",{"2":{"62":1}}],["916",{"2":{"61":1}}],["999999999",{"2":{"45":1}}],["源代码或二进制文件应该下载到的路径",{"2":{"85":1}}],["源代码",{"2":{"61":1}}],["列举指定工具版本的可执行程序",{"2":{"92":1}}],["列举所有可安装的版本",{"2":{"84":1}}],["列举所有可用版本",{"0":{"68":1}}],["列举缩写存储库中的所有插件",{"0":{"60":1}}],["列举已安装版本",{"0":{"67":1}}],["列举已安装",{"0":{"59":1}}],["列举为命令提供垫片的插件和版本",{"2":{"54":1}}],["推荐独立于缩写存储库的",{"2":{"58":1}}],["建议尽可能不对版本进行排序",{"2":{"86":1}}],["建议",{"2":{"58":1}}],["地址添加插件",{"2":{"58":1}}],["添加如下内容到",{"2":{"106":1}}],["添加",{"0":{"58":1}}],["模块",{"2":{"56":3}}],["模块的行",{"2":{"56":3}}],["指南进行操作",{"2":{"56":1}}],["指定标签",{"2":{"40":1}}],["已经",{"2":{"85":1}}],["已经变成了",{"2":{"56":1}}],["已经被修改为",{"2":{"19":2}}],["因此请按照他们的指南找出要删除的内容",{"2":{"56":2}}],["因为一个可执行程序除了是可执行程序文件之外",{"2":{"102":1}}],["因为它是唯一的参数",{"2":{"91":1}}],["因为它描述了对包管理器和集成者有用的",{"2":{"47":1}}],["因为必须存在才能为脚本显示任何帮助输出",{"2":{"90":1}}],["因为",{"2":{"86":2,"90":1}}],["因为此系统使用",{"2":{"74":1}}],["因为这个可执行程序不是通过插件生命周期安装的",{"2":{"53":1}}],["因为有些插件有",{"2":{"22":1}}],["因为我们希望在用户没有可用或未启用",{"2":{"8":1}}],["因为你可能需要打破某些可能会影响到你的开发工具链的功能",{"2":{"1":1}}],["移除一个插件将会移除该插件安装的所有工具",{"2":{"62":1}}],["移除",{"0":{"62":1},"2":{"56":9}}],["卸载某个工具的指定版本",{"2":{"95":1}}],["卸载版本",{"0":{"73":1}}],["卸载该版本时",{"2":{"65":1}}],["卸载",{"0":{"56":1}}],["方法",{"2":{"55":1,"58":1}}],["8",{"2":{"54":2,"88":1}}],["8837",{"2":{"19":2}}],["执行",{"2":{"74":1,"101":1}}],["执行以下命令移除",{"2":{"56":14}}],["执行shim",{"2":{"54":1}}],["执行当前版本的命令垫片",{"2":{"50":1}}],["附带了两个可执行程序",{"2":{"54":1}}],["类似",{"2":{"53":1}}],["时",{"2":{"105":1}}],["时需要共享这些信息",{"2":{"52":1}}],["时支持仅依靠",{"2":{"8":1}}],["快速上手",{"2":{"49":1}}],["快速入门",{"0":{"14":1},"1":{"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1}}],["但最后",{"2":{"91":1}}],["但理想情况下只有一个短段落",{"2":{"90":1}}],["但可以通过在",{"2":{"63":1}}],["但可以促进很多工作流",{"2":{"48":1}}],["但是之后不能运行",{"2":{"80":1}}],["但是有一个插件",{"2":{"34":1}}],["但是",{"2":{"19":1}}],["像",{"2":{"47":1,"86":1}}],["用户现在可以执行",{"2":{"101":1}}],["用户可以选择传入",{"2":{"91":1}}],["用户不必担心本节",{"2":{"47":1}}],["用包管理器卸载",{"2":{"56":9}}],["用于支持对某种语言或工具进行版本控制",{"2":{"83":1}}],["用于打印操作系统",{"2":{"52":1}}],["用于单元测试",{"2":{"1":1}}],["内容无关",{"2":{"47":1}}],["内容必须位于与根配置文件中",{"2":{"11":1}}],["内部配置",{"0":{"47":1}}],["之外对以下环境变量有权限进行操作",{"2":{"85":1}}],["之间的任何位置",{"2":{"46":1}}],["之后推断出最新版本",{"2":{"91":1}}],["之后再生效",{"2":{"81":1}}],["之后和生效你的框架",{"2":{"81":1}}],["之后和已经生效的框架",{"2":{"19":1}}],["之后的位置生效",{"2":{"19":1}}],["否则你的测试可能会因频率限制而失败",{"2":{"106":1}}],["否则返回垫片指定的默认路径",{"2":{"94":1}}],["否则它将传递为",{"2":{"85":1}}],["否则不应该覆盖默认值",{"2":{"46":1}}],["否则请遵循",{"2":{"19":2}}],["忽略",{"2":{"46":1}}],["存储工具名称和版本的文件名",{"2":{"46":1}}],["存储库为托管在",{"2":{"104":1}}],["存储库中以便于和团队其他成员共享",{"2":{"30":1}}],["存储库",{"2":{"27":1,"83":1}}],["触发器事件发生时同步",{"2":{"45":1}}],["到",{"2":{"45":1}}],["则插件将检查提交",{"2":{"103":1}}],["则该工具将随指定版本一起安装",{"2":{"103":1}}],["则只是执行它们并替换",{"2":{"101":1}}],["则只有未压缩的源代码或二进制文件会放置在",{"2":{"87":1}}],["则它们将作为",{"2":{"101":1}}],["则必须存在此脚本",{"2":{"90":1}}],["则假设",{"2":{"88":1}}],["则在安装过程中在其他终端中运行的其他",{"2":{"88":1}}],["则不应将任何文件放在目录中",{"2":{"87":1}}],["则不能依赖",{"2":{"86":1}}],["则",{"2":{"75":1}}],["则可能位于",{"2":{"56":1}}],["则应按照该方法的步骤操作",{"2":{"55":1}}],["则应设置该变量为",{"2":{"46":1}}],["则进行同步",{"2":{"45":1,"63":1}}],["则会出现错误",{"2":{"25":1}}],["候选版本被使用",{"2":{"43":1}}],["语义版本被使用",{"2":{"43":1}}],["而是一组回调脚本",{"2":{"90":1}}],["而通过",{"2":{"80":1}}],["而不是尝试自行判断",{"2":{"91":1}}],["而不是通过垫片包装器进行访问",{"2":{"74":1}}],["而不是最新的语义版本",{"2":{"43":1}}],["而且每个管理器都有其不同的",{"2":{"30":1}}],["从不同步",{"2":{"45":1}}],["从传统版本文件读取版本",{"2":{"42":1}}],["从",{"2":{"42":1,"45":1}}],["从而允许",{"2":{"31":1}}],["从而确保每个人都使用完全相同的工具版本",{"2":{"30":1}}],["从而简化调试",{"2":{"3":1}}],["描述",{"2":{"42":1,"43":1,"44":1,"45":1}}],["选项的用户",{"2":{"96":1}}],["选项来进行配置",{"2":{"63":1}}],["选项",{"2":{"42":1,"43":1,"44":1,"45":1}}],["读取其他版本管理器使用的版本文件",{"2":{"42":1}}],["下面列出了可能的回调脚本",{"2":{"90":1}}],["下面的示例在版本为",{"2":{"70":1}}],["下面的文件展示了所需的格式",{"2":{"41":1}}],["下载更新的插件后运行任何插件更新后操作",{"2":{"99":1}}],["下载成功后脚本必须以",{"2":{"87":1}}],["下载指定版本的源代码或二进制文件",{"2":{"84":1}}],["下载一个新的",{"2":{"55":1}}],["下载并编译",{"2":{"40":1}}],["下载",{"0":{"16":1},"1":{"17":1,"18":1},"2":{"14":1}}],["给你的家目录添加一个",{"2":{"41":1}}],["最终将删除对传统插件的支持",{"2":{"87":1}}],["最后",{"2":{"106":1}}],["最后完成执行",{"2":{"74":1}}],["最后回退到",{"2":{"40":1}}],["最新的稳定版本应该是",{"2":{"91":1}}],["最新版本应列在最后",{"2":{"86":1}}],["最新提交",{"2":{"61":1}}],["最新稳定版本",{"2":{"55":1}}],["最好在提交或推送到远程之前",{"2":{"2":1}}],["7",{"2":{"40":4,"88":1}}],["多版本可以通过空格将它们分隔开来",{"2":{"40":1}}],["传递系统上未由",{"2":{"40":1}}],["传统工作方式需要多个命令行版本管理器",{"2":{"30":1}}],["实际的版本号",{"2":{"40":1}}],["出现在目录中",{"2":{"40":1}}],["出于演示目的",{"2":{"21":1}}],["无论何时",{"2":{"40":1}}],["无法做到的",{"2":{"36":1}}],["无法做到这一点",{"2":{"8":1}}],["也由插件",{"2":{"74":1}}],["也包括用户特定的自定义",{"2":{"39":1}}],["也就是",{"2":{"11":1}}],["`$asdf",{"2":{"101":5}}],["`env`",{"2":{"38":1}}],["`asdf",{"2":{"38":1}}],["仅在没有此脚本的情况下才能支持传统插件",{"2":{"87":1}}],["仅在你安装插件",{"2":{"20":1}}],["仅为当前",{"2":{"70":1}}],["仅仅因为你可以为任何工具创建插件并使用",{"2":{"37":1}}],["简单性和熟悉性",{"2":{"37":1}}],["确保团队可以使用完全相同的工具版本",{"2":{"37":1}}],["个包的包集合来实现这一点",{"2":{"36":1}}],["许多命令行工具和超过",{"2":{"36":1}}],["旨在通过管理每个工具的整个依赖关系树中软件包的确切版本来构建真正可重复的环境",{"2":{"36":1}}],["管理工具安装过的可执行程序则需要通知",{"2":{"80":1}}],["管理版本",{"2":{"71":1}}],["管理的工具版本",{"2":{"40":1}}],["管理的工具时实时发生",{"2":{"25":1}}],["管理其版本",{"2":{"37":1}}],["管理你的软件包及其上游依赖",{"2":{"35":1}}],["目前还未提供",{"2":{"79":1}}],["目的是在工具",{"2":{"33":1}}],["目录并为这些脚本创建垫片",{"2":{"92":1}}],["目录的",{"2":{"88":1}}],["目录的所有",{"2":{"25":1}}],["目录中的任意文件创建垫片",{"2":{"88":1}}],["目录中",{"2":{"87":1,"88":1}}],["目录",{"2":{"56":9,"74":1,"88":1}}],["目录下",{"2":{"11":1}}],["目录添加到你的路径中",{"2":{"2":1}}],["等同于运行",{"2":{"101":5}}],["等包管理器使用它来确保个性化安装的正确的更新方法",{"2":{"47":1}}],["等工具都是用",{"2":{"33":1}}],["等",{"0":{"33":1},"2":{"57":1}}],["等等实现",{"2":{"74":1}}],["等等",{"2":{"19":1,"81":2}}],["相关的一些常见问题",{"2":{"77":1}}],["相关项目",{"0":{"32":1},"1":{"33":1,"34":1,"35":1,"36":1}}],["相应的配置也会不同",{"2":{"19":1}}],["识别",{"2":{"31":1}}],["一种可以替代的排序功能是",{"2":{"86":1}}],["一些工具像",{"2":{"53":1}}],["一个辅助程序",{"2":{"74":1}}],["一个",{"2":{"40":1}}],["一个用于长期维护",{"2":{"12":1}}],["一旦",{"2":{"31":1}}],["提交",{"2":{"40":1,"85":1}}],["提供单个交互方式和配置文件来简化开发工作流程",{"2":{"30":1}}],["提示",{"2":{"2":1,"4":1,"40":1}}],["垫片本身是非常简单的包装器",{"2":{"74":1}}],["垫片是在某个工具安装的过程中由插件创建",{"2":{"53":1}}],["垫片和安装器的位置",{"2":{"46":1}}],["垫片",{"0":{"74":1,"75":1},"1":{"75":1},"2":{"30":1,"31":1,"75":1,"80":1,"102":1}}],["操作",{"2":{"30":1}}],["操作系统不支持",{"2":{"86":1}}],["操作系统",{"2":{"22":1}}],["操作系统和安装方法的组合不同",{"2":{"19":1}}],["项目上运行测试",{"2":{"70":1}}],["项目简介",{"0":{"30":1},"1":{"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1}}],["项目正在努力提供一些",{"2":{"5":1}}],["恭喜你完成了",{"2":{"29":1,"56":1}}],["完成指南",{"0":{"29":1}}],["完成配置",{"2":{"19":1}}],["参考页面可以了解更多配置选项",{"2":{"28":1}}],["yml",{"2":{"105":1}}],["yamllanguage",{"2":{"105":1}}],["yamlsteps",{"2":{"104":1}}],["yarn",{"2":{"53":3,"80":3}}],["yes",{"2":{"28":1,"42":1,"43":1,"44":1}}],["your",{"2":{"15":2,"18":1}}],["中的说明了解更多",{"2":{"107":1}}],["中的文件创建垫片",{"2":{"92":1}}],["中删除插件之前运行任何预删除操作",{"2":{"100":1}}],["中安装版本",{"2":{"88":1}}],["中为该包中的每个可执行程序创建垫片",{"2":{"74":1}}],["中所有可用命令的列表",{"2":{"38":1}}],["中",{"2":{"30":1,"34":1,"40":1,"56":1,"74":1,"87":1}}],["中加入以下内容",{"2":{"28":1}}],["中使用",{"2":{"7":1}}],["当你的插件的",{"2":{"91":1}}],["当你尝试运行其中一个可执行程序时",{"2":{"31":1}}],["当",{"2":{"74":1,"79":1}}],["当使用其他",{"2":{"105":1}}],["当使用",{"2":{"54":1}}],["当此文件存在时",{"2":{"47":1}}],["当通过插件安装工具时",{"2":{"31":1}}],["当在你想要的目录执行",{"2":{"27":1}}],["当前工作目录",{"2":{"27":1}}],["当为文档更改创建",{"2":{"9":1}}],["你还可以选择将相对路径传递给",{"2":{"105":1}}],["你将需要确认哪些变量映射到存储库路径",{"2":{"105":1}}],["你希望绕过",{"2":{"75":1}}],["你也需要使用相同的名称和引用",{"2":{"65":1}}],["你也可以包含注释在里面",{"2":{"40":1}}],["你可以像下面这样使用它",{"2":{"103":1}}],["你可以设定或取消设定环境变量",{"2":{"83":1}}],["你可以设置一个类似",{"2":{"70":1}}],["你可以将插件添加到官方插件存储库中",{"2":{"107":1}}],["你可以将工具的版本设置为",{"2":{"71":1}}],["你可以将配置文件放在项目的",{"2":{"30":1}}],["你可以指定",{"2":{"65":1}}],["你可以安装插件来管理特定的工具",{"2":{"31":1}}],["你可以通过运行",{"2":{"29":1}}],["你可以使用这些容器镜像作为开发服务器的基础镜像",{"2":{"5":1}}],["你现在可以管理你的项目的",{"2":{"29":1}}],["你需要告诉",{"2":{"26":1}}],["就是一个常见的例子",{"2":{"26":1}}],["某些操作系统已经有一些由系统而非",{"2":{"26":1}}],["000",{"2":{"36":1}}],["0",{"2":{"26":1,"27":1,"40":4,"45":1,"54":4,"70":2,"86":3,"87":1,"88":3,"94":1}}],["全局默认配置将设置在文件$home",{"2":{"40":1}}],["全局默认配置在",{"2":{"26":1}}],["全局",{"0":{"26":1}}],["查找在执行",{"2":{"25":1}}],["查看版本子集",{"2":{"24":1}}],["查看",{"2":{"2":1}}],["60",{"2":{"36":1,"41":1,"45":1,"63":1}}],["6",{"0":{"25":1},"1":{"26":1,"27":1,"28":1},"2":{"72":1}}],["是",{"2":{"85":1}}],["是特定的分支",{"2":{"65":1}}],["是一种特殊情况",{"2":{"90":1}}],["是一种采用独特方法进行软件包管理和系统配置的工具",{"2":{"36":1}}],["是一个工具版本管理器",{"2":{"30":1}}],["是一个通过",{"2":{"24":1}}],["是我们用来构建",{"2":{"8":1}}],["注意",{"2":{"24":1,"37":1,"40":1,"74":1,"96":1,"105":1}}],["现在我们已经有了",{"2":{"24":1}}],["钩子",{"2":{"22":1}}],["来测试插件的可能",{"2":{"104":1}}],["来修复",{"2":{"101":1}}],["来管理可执行程序",{"2":{"80":1}}],["来管理工具",{"2":{"1":1}}],["来更新工具版本",{"2":{"40":1}}],["来查看它们",{"2":{"29":1}}],["来解析到执行时刻的实际版本号的辅助工具",{"2":{"24":1}}],["来说",{"2":{"22":1}}],["所以软件包中的任何脚本如果要由",{"2":{"74":1}}],["所以还没有对应的垫片存在",{"2":{"53":1}}],["所以我们可以开始安装某个版本了",{"2":{"24":1}}],["所以我们需要确认应该列举了这些依赖的插件源码",{"2":{"22":1}}],["所有其他的帮助回调脚本都是可选的",{"2":{"90":1}}],["所有插件都必须包含此脚本",{"2":{"87":1}}],["所有脚本除了",{"2":{"85":1}}],["所有配置文件",{"2":{"56":14}}],["所有命令",{"0":{"38":1}}],["所有的工具版本定义都包含在一个文件",{"2":{"30":1}}],["所有案例",{"2":{"2":1}}],["每行一个链接",{"2":{"90":1}}],["每行一个依赖项",{"2":{"90":1}}],["每个脚本将打印不同的文档到",{"2":{"90":1}}],["每个触发器事件发生时同步",{"2":{"45":1}}],["每个管理工具的不同命令以及存储库中不同的",{"2":{"33":1}}],["每个插件都有依赖",{"2":{"22":1}}],["每种语言的",{"2":{"11":1}}],["4",{"0":{"21":1},"1":{"22":1,"23":1},"2":{"70":3,"86":1}}],["工具的",{"2":{"29":1}}],["工具的容器化镜像",{"2":{"5":1}}],["工具和管理它们的版本时才开始真正发挥作用",{"2":{"20":1}}],["🎉",{"2":{"20":1,"29":1,"56":1}}],["更好的选择",{"2":{"86":1}}],["更长的",{"2":{"58":1}}],["更新前的",{"2":{"99":1}}],["更新",{"0":{"55":1,"61":1}}],["更改即时生效",{"2":{"19":1}}],["更大的",{"2":{"10":1}}],["让",{"2":{"19":1}}],["通常情况下",{"2":{"103":1}}],["通常",{"2":{"27":1,"46":1,"86":1}}],["通常打开一个新的终端标签页来重启你的",{"2":{"19":1}}],["通过查看由",{"2":{"91":1}}],["通过插件系统支持很多工具",{"2":{"37":1}}],["通过",{"2":{"14":1,"47":1,"58":1,"74":2}}],["+",{"2":{"19":2}}],["|",{"2":{"19":11}}],["正常工作",{"2":{"79":1}}],["正确地使用最新的",{"2":{"19":2}}],["正在使用依赖",{"2":{"9":1}}],["正在使用一个名为",{"2":{"4":1}}],["有一个依赖于",{"2":{"55":1}}],["有一流的国际化支持",{"2":{"11":1}}],["有些是",{"2":{"36":1}}],["有关的",{"2":{"19":2}}],["警告",{"2":{"19":1,"25":1}}],["插件中",{"2":{"102":1}}],["插件作者可以使用此功能来提供与其工具相关的实用命令",{"2":{"101":1}}],["插件有以下文件",{"2":{"101":1}}],["插件可以通过提供",{"2":{"101":1}}],["插件可能会有所帮助",{"2":{"75":1}}],["插件是一个包含几个可执行脚本的",{"2":{"83":1}}],["插件里有什么",{"0":{"83":1}}],["插件所安装的那些命令会自动创建垫片",{"2":{"80":1}}],["插件缩写索引",{"2":{"60":1}}],["插件告诉",{"2":{"57":1}}],["插件存储库同步到下一次存储库同步的持续时间",{"2":{"45":1}}],["插件",{"0":{"57":1},"1":{"58":1,"59":1,"60":1,"61":1,"62":1,"63":1},"2":{"24":1,"29":1,"42":1,"103":1}}],["插件依赖",{"0":{"22":1}}],["插件来安装和设置",{"2":{"21":1}}],["插件还在更新中",{"2":{"19":2}}],["插件或许需要更新才能通过",{"2":{"19":2}}],["插件或者通过在",{"2":{"19":1}}],["插件的缩写列表",{"2":{"12":1}}],["插件的协作",{"2":{"12":1}}],["框架",{"2":{"19":5}}],["框架插件",{"2":{"19":2,"56":1}}],["比如在",{"2":{"74":1}}],["比如使用",{"2":{"53":1}}],["比如",{"2":{"19":3,"28":1,"30":1,"40":1,"42":1,"46":1,"107":2}}],["=s",{"2":{"56":2}}],["=",{"2":{"19":9,"28":1,"41":6,"56":6}}],["包",{"2":{"90":1}}],["包管理器自动配置完成",{"2":{"19":1}}],["包含了开发所需的脚本",{"2":{"8":1}}],["包含",{"2":{"1":1,"103":1}}],["很友好的位置",{"2":{"19":1}}],["很友好",{"2":{"19":1}}],["处理",{"2":{"19":1}}],["按照",{"2":{"19":3}}],["按语言类型分隔开并单独导出",{"2":{"11":1}}],["加入到",{"2":{"19":12}}],["除非你知道你希望",{"2":{"46":1}}],["除非修改回",{"2":{"19":2}}],["除此之外",{"2":{"8":1}}],["zdotdir",{"2":{"19":1}}],["zshrc",{"2":{"19":5,"56":4,"81":1}}],["zsh",{"2":{"19":24,"56":6,"81":1}}],["zypper",{"2":{"15":2}}],["默认值是插件仓库的默认分支",{"2":{"103":1}}],["默认返回为",{"2":{"103":1}}],["默认是",{"2":{"63":1}}],["默认分支",{"2":{"61":1}}],["默认情况下",{"2":{"53":1,"88":1}}],["默认为",{"2":{"46":3,"74":1}}],["默认的",{"2":{"19":2,"56":1}}],["默认主题参考",{"2":{"10":1}}],["补全功能可能已经如",{"2":{"56":2}}],["补全功能可以被",{"2":{"19":1}}],["补全功能",{"2":{"19":2}}],["补全功能会被放在一个对",{"2":{"19":1}}],["补全功能会被",{"2":{"19":1}}],["补全功能将会自动配置",{"2":{"19":6}}],["补全功能将会在安装过程中由",{"2":{"19":1}}],["补全功能将需要",{"2":{"19":2}}],["补全功能必须按照以下命令手动配置完成",{"2":{"19":1}}],["补全功能必须在",{"2":{"19":2}}],["补丁",{"2":{"4":1}}],["$releases",{"2":{"106":1}}],["$cmd",{"2":{"106":2}}],["$github",{"2":{"106":2}}],["$travis",{"2":{"105":1}}],["$e",{"2":{"56":4}}],["$env",{"2":{"19":2}}],["$pwd",{"2":{"27":2,"70":1}}],["$path",{"2":{"19":1,"30":1,"74":1,"81":1}}],["$nu",{"2":{"19":3}}],["$fpath",{"2":{"19":1,"56":1}}],["$",{"2":{"19":16,"38":1,"56":17,"70":2,"74":6,"98":4,"99":5,"100":3,"101":4,"104":1}}],["$home",{"0":{"41":1},"1":{"42":1,"43":1,"44":1,"45":1},"2":{"19":8,"25":1,"26":2,"28":1,"56":49,"70":1}}],["$asdf",{"2":{"2":1,"47":1,"56":2,"74":1,"88":1,"101":2}}],["展开以下与你的系统最匹配的选项",{"2":{"19":1}}],["~",{"2":{"17":1,"19":49,"40":1,"46":3,"56":23,"74":1,"94":2,"96":1}}],["2014",{"2":{"109":1}}],["2",{"0":{"16":1},"1":{"17":1,"18":1},"2":{"40":7,"70":1,"79":1,"86":1}}],["overview",{"2":{"90":2}}],["own",{"2":{"76":1}}],["output",{"2":{"38":1}}],["ohmyzsh",{"2":{"19":4}}],["oh",{"2":{"19":5,"81":1}}],["opt",{"2":{"19":9,"46":1,"56":3}}],["optionally",{"2":{"38":3}}],["optional",{"2":{"4":2,"38":1}}],["or",{"2":{"18":1,"38":6,"76":2}}],["org",{"2":{"18":1}}],["one",{"2":{"38":1}}],["on",{"2":{"15":1,"38":4}}],["osx",{"2":{"86":1,"103":1,"105":1}}],["os",{"2":{"15":1,"38":1,"105":1}}],["official",{"0":{"17":1},"2":{"18":1}}],["of",{"2":{"15":1,"38":9,"76":1}}],["h",{"2":{"106":1}}],["hashnuke",{"2":{"109":1,"110":1}}],["haxe",{"2":{"101":3}}],["halcyon",{"2":{"59":1}}],["home",{"2":{"19":2}}],["homebrew",{"0":{"35":1},"2":{"15":1,"18":1,"19":12,"35":2,"47":1,"55":1,"56":7}}],["head",{"2":{"38":1,"55":2}}],["help",{"0":{"90":1},"2":{"29":1,"38":2,"90":5,"101":3,"103":1}}],["helper",{"2":{"18":1,"55":1}}],["here",{"2":{"15":1,"76":2}}],["highly",{"2":{"18":1}}],["html",{"2":{"8":1}}],["https",{"2":{"1":5,"7":3,"17":1,"18":1,"23":1,"38":2,"58":1,"59":2,"103":1,"105":1,"107":1}}],["11",{"2":{"72":1}}],["17",{"2":{"54":2,"65":1,"66":1,"67":1,"68":1,"69":1,"72":2,"73":1}}],["15",{"2":{"40":5}}],["10",{"2":{"40":3}}],["16",{"2":{"26":1,"27":1,"54":2}}],["14",{"2":{"17":1,"24":1,"54":4}}],["1",{"0":{"15":1},"2":{"17":1,"45":1,"70":2,"78":1,"86":4,"94":1}}],["配置示例",{"0":{"105":1}}],["配置部分",{"2":{"70":1}}],["配置文档",{"2":{"63":1}}],["配置文件中启用了",{"2":{"96":1}}],["配置文件中移除使用",{"2":{"56":3}}],["配置文件中移除生效",{"2":{"56":11}}],["配置文件和实现方式",{"2":{"30":1}}],["配置文件",{"2":{"28":1,"81":1}}],["配置文件设置全局和项目版本",{"2":{"14":1}}],["配置自上次",{"2":{"45":1}}],["配置既包括可共享的",{"2":{"39":1}}],["配置中包含的单个",{"2":{"37":1}}],["配置中设置好之后",{"2":{"31":1}}],["配置和",{"2":{"19":1}}],["配置",{"0":{"39":1},"1":{"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1},"2":{"19":1,"28":1,"43":1,"44":1}}],["配置已经被提取并按照语言类型分隔开来",{"2":{"10":1}}],["为此",{"2":{"106":1}}],["为此插件注册其他设置器文件",{"2":{"96":1}}],["为你的插件提供帮助信息",{"2":{"90":1}}],["为",{"2":{"45":1,"80":1,"92":1}}],["为什么使用",{"0":{"37":1}}],["为了使你的用户更轻松",{"2":{"107":1}}],["为了安装",{"2":{"40":2}}],["为了启用此功能",{"2":{"28":1}}],["为了让补全功能正常工作需要安装",{"2":{"19":1}}],["为了简化根配置文件",{"2":{"10":1}}],["为每一个你想要管理的工具",{"2":{"14":1}}],["了解插件的完整缩写列表",{"2":{"60":1}}],["了解用于支持更多工具的插件",{"2":{"57":1}}],["了解现有的问题",{"2":{"13":1}}],["了解更多详情",{"2":{"10":1,"11":1,"49":1}}],["了解更多",{"2":{"2":1,"19":2,"34":1,"35":1,"36":1,"63":1,"80":1,"111":1}}],["主题搜索",{"2":{"12":1}}],["缩写存储库将同步到你的本地计算机并定期刷新",{"2":{"63":1}}],["缩写存储库",{"2":{"12":1}}],["社区驱动的项目",{"2":{"12":1}}],["组织",{"2":{"12":1}}],["execution",{"2":{"38":1}}],["executes",{"2":{"38":1}}],["executable",{"2":{"38":1,"94":1}}],["exec",{"0":{"50":1,"93":1,"94":1},"2":{"38":1,"50":1,"74":6,"94":2}}],["exhaustive",{"2":{"15":1}}],["edit",{"2":{"19":3,"56":3}}],["echo",{"2":{"19":7}}],["elm",{"2":{"58":2}}],["else",{"2":{"56":2}}],["elv",{"2":{"19":18,"56":6}}],["elvish",{"2":{"19":18,"46":1,"56":9}}],["elixir",{"2":{"12":1,"40":1,"57":1,"70":4,"102":2}}],["etc",{"2":{"19":2,"56":2}}],["e",{"2":{"19":9}}],["erlang",{"2":{"12":1,"58":1,"61":1,"62":1,"65":1,"66":2,"67":2,"68":2,"69":2,"72":2,"73":1}}],["environment",{"2":{"38":1}}],["env",{"0":{"51":1,"93":1},"2":{"38":1,"51":1,"74":1,"104":1}}],["en",{"2":{"11":2}}],["english",{"2":{"11":1}}],["随时欢迎大家维护和改进这些插件",{"2":{"12":1}}],["官方插件",{"0":{"12":1}}],["└─",{"2":{"11":4}}],["│",{"2":{"11":1}}],["├─",{"2":{"11":5}}],["如发布候选版本",{"2":{"91":1}}],["如上面的",{"2":{"71":1}}],["如上所述默认为",{"2":{"46":1}}],["如",{"2":{"57":1}}],["如何处理不同的工具",{"2":{"57":1}}],["如果指定了",{"2":{"103":2}}],["如果扩展命令未设置其可执行位",{"2":{"101":1}}],["如果未指定此脚本",{"2":{"92":1}}],["如果未设置",{"2":{"88":1}}],["如果实现了此回调",{"2":{"91":1}}],["如果设置了可执行位",{"2":{"101":1}}],["如果设置",{"2":{"88":1}}],["如果在存储库目录中运行测试脚本",{"2":{"105":1}}],["如果在安装过程开始时填充了",{"2":{"88":1}}],["如果在过去的",{"2":{"63":1}}],["如果安装失败",{"2":{"88":1}}],["如果此脚本不存在",{"2":{"87":1}}],["如果可能",{"2":{"87":1,"88":1}}],["如果可行的话",{"2":{"42":1}}],["如果下载失败",{"2":{"87":2}}],["如果下载的源代码或者二进制文件是压缩的",{"2":{"87":1}}],["如果必须手动对版本进行排序",{"2":{"86":1}}],["如果从网站上的发布页面拉取版本",{"2":{"86":1}}],["如果有一个",{"2":{"102":1}}],["如果有很多版本",{"2":{"86":1}}],["如果有的话",{"2":{"81":1,"98":1}}],["如果有需要也会创建此文件",{"2":{"70":1}}],["如果",{"2":{"81":1,"85":1,"97":1}}],["如果由于某种原因",{"2":{"75":1}}],["如果一个插件支持从源代码下载和编译",{"2":{"65":1}}],["如果用了的话",{"2":{"56":1}}],["如果通过",{"2":{"46":1}}],["如果已过自上次同步的持续时间",{"2":{"45":1}}],["如果持续时间已过",{"2":{"45":1}}],["如果没有为工具找到指定的版本",{"2":{"25":1}}],["如果你的插件的",{"2":{"106":1}}],["如果你的插件提供了",{"2":{"101":1}}],["如果你希望",{"2":{"90":1}}],["如果你希望你的插件使用",{"2":{"88":1}}],["如果你只是想为当前",{"2":{"70":1}}],["如果你在",{"2":{"56":1}}],["如果你使用了其他方法安装",{"2":{"55":1}}],["如果你把",{"2":{"46":1}}],["如果你正在使用自定义的",{"2":{"19":2}}],["如果你正在使用",{"2":{"19":4,"56":1}}],["如果你想要更新特定的包",{"2":{"61":1}}],["如果你想要在不更改已安装的",{"2":{"2":1}}],["如果你想要使用",{"2":{"1":1}}],["如下所示",{"2":{"11":1,"61":1}}],["将复制这个文件替代使用标准垫片模板",{"2":{"102":1}}],["将在安装中查找",{"2":{"92":1}}],["将使用它来确定工具的最新稳定版本",{"2":{"91":1}}],["将打印标题",{"2":{"90":1}}],["将为",{"2":{"88":1}}],["将下载并安装该版本",{"2":{"87":1}}],["将假设存在",{"2":{"87":1}}],["将版本写到",{"2":{"70":2}}],["将运行垫片",{"2":{"31":1}}],["将管理权还给系统",{"2":{"26":1}}],["将显示当前目录中的工具和版本解析结果",{"2":{"25":1}}],["将会简单读取文件来确定版本",{"2":{"97":1}}],["将会触发同步",{"2":{"63":1}}],["将会触发持续时间的检查",{"2":{"45":1}}],["将会被禁用",{"2":{"47":1}}],["将会使用这个文件所指定的配置",{"2":{"41":1}}],["将会使脚本生效并安装补全功能",{"2":{"19":2}}],["将会引导你",{"2":{"26":1}}],["将会创建一个新的",{"2":{"4":3}}],["将要求",{"2":{"11":1}}],["键同名的目录位置",{"2":{"11":1}}],["侧边栏配置在上述配置文件中捕获",{"2":{"11":1}}],["侧边栏配置引用",{"2":{"11":1}}],["导航栏",{"2":{"11":1}}],["导航栏和侧边栏",{"2":{"10":1}}],["定义了支持的语言类型及其",{"2":{"11":1}}],["定义了拉取请求标题的格式",{"2":{"4":1}}],["根配置文件",{"2":{"11":1}}],["根据以下步骤卸载",{"2":{"56":1}}],["根据",{"2":{"7":1,"19":1}}],["国际化官方文档",{"2":{"11":1}}],["国际化",{"0":{"11":1}}],["if",{"2":{"38":1,"106":1}}],["information",{"2":{"38":1}}],["info",{"0":{"52":1},"2":{"38":1,"52":1}}],["inside",{"2":{"38":1}}],["installs",{"2":{"94":1}}],["installed",{"2":{"38":5}}],["install",{"0":{"88":1},"2":{"1":1,"7":2,"15":6,"18":1,"22":3,"24":1,"38":10,"40":2,"44":1,"53":1,"65":2,"66":4,"80":1,"83":1,"84":1,"85":6,"87":1,"88":6,"90":2,"92":3,"94":1}}],["into",{"2":{"19":2}}],["initialise",{"2":{"19":1}}],["in",{"2":{"15":1,"38":3,"76":1}}],["is",{"2":{"15":1}}],["i18n",{"0":{"11":1},"2":{"11":1}}],["它需要带",{"2":{"103":1}}],["它仅仅被使用在了",{"2":{"102":1}}],["它提供了",{"2":{"101":1}}],["它",{"2":{"74":1}}],["它会在",{"2":{"74":1}}],["它所声明的工具版本将会被用于该目录和任意子目录",{"2":{"40":1}}],["它是一个工具版本管理器",{"2":{"37":1}}],["它是如何工作的",{"0":{"31":1}}],["它不是包管理器",{"2":{"35":1}}],["它消除了每个工具",{"2":{"33":1}}],["它们是可选的",{"2":{"90":1}}],["它们是",{"2":{"10":1,"22":1}}],["它被选中来取代",{"2":{"8":1}}],["对于目前的",{"2":{"102":1}}],["对于名为",{"2":{"102":1}}],["对于配置",{"2":{"85":1}}],["对于项目中的其他工具类型可以执行类似步骤即可",{"2":{"29":1}}],["对于",{"2":{"22":1,"46":1,"91":1}}],["对于社区插件",{"2":{"12":1}}],["对话和贡献指南",{"2":{"13":1}}],["对象表示",{"2":{"10":1}}],["对象用于表示配置",{"2":{"10":1}}],["对你有帮助",{"2":{"1":1}}],["以列出你的插件并使用较短的命令轻松安装",{"2":{"107":1}}],["以确保安装的工具正常工作",{"2":{"103":1}}],["以确认是否安装了该工具版本",{"2":{"88":1}}],["以选择",{"2":{"91":1}}],["以便它看起来更接近用户的提示",{"2":{"86":1}}],["以便你可以观察哪些工具将无法执行",{"2":{"25":1}}],["以下是",{"2":{"77":1}}],["以下是所需工具的原始列表",{"2":{"1":1}}],["以及要在其中执行的环境",{"2":{"74":1}}],["以及使用以下命令卸载",{"2":{"56":3}}],["以及使用以下命令移除补全功能",{"2":{"56":1}}],["以及更新版本",{"2":{"56":1}}],["以及作为",{"2":{"37":1}}],["以及",{"2":{"9":1}}],["具体的文档可以查看",{"2":{"9":1}}],["标签",{"2":{"103":1}}],["标签或者提交",{"2":{"65":1}}],["标题使用了约定式提交类型",{"2":{"9":1}}],["标题中的约定式提交的自动化发布流水线",{"2":{"9":1}}],["标识的",{"2":{"3":1}}],["rvmrc",{"2":{"96":1}}],["rm",{"2":{"56":4}}],["rs",{"2":{"56":4}}],["rf",{"2":{"56":26}}],["rbenv",{"0":{"33":1},"2":{"28":1,"33":1,"42":1}}],["rc",{"2":{"19":9,"56":3}}],["ruby",{"2":{"12":1,"28":1,"40":2,"42":3,"57":1,"91":3,"96":1}}],["runs",{"2":{"38":1}}],["run",{"2":{"8":2,"15":1}}],["relate",{"2":{"76":1}}],["related",{"2":{"76":1}}],["release",{"0":{"43":1},"2":{"4":1,"38":1,"41":1}}],["responsible",{"2":{"76":1}}],["resources",{"2":{"38":1}}],["reshim",{"0":{"53":1},"2":{"38":1,"53":2,"80":1,"81":1}}],["recreate",{"2":{"38":1}}],["recommend",{"2":{"18":1}}],["returned",{"2":{"38":1}}],["remove",{"0":{"100":1},"2":{"38":3,"62":2,"100":4}}],["registered",{"2":{"38":1}}],["ref>",{"2":{"38":1,"103":1}}],["ref",{"2":{"38":2,"40":2,"65":1,"85":2,"99":4,"103":1}}],["refs",{"2":{"38":1}}],["refactor",{"2":{"4":1}}],["required",{"2":{"15":1}}],["requires",{"2":{"15":1}}],["request",{"2":{"4":1}}],["repository",{"0":{"45":1},"2":{"38":1,"41":2,"63":1}}],["repo",{"2":{"13":1,"38":3,"106":1}}],["readme",{"2":{"11":4,"75":1,"101":1}}],["revert",{"2":{"4":1}}],["启动本地开发服务器",{"2":{"8":1}}],["5",{"0":{"24":1},"2":{"8":1,"26":1,"27":1,"40":2,"54":2,"72":1}}],["依赖于访问",{"2":{"106":1}}],["依赖脚本可以将依赖项输出为必须安装的",{"2":{"90":1}}],["依赖",{"2":{"7":1}}],["运行环境对管理工具的需求",{"2":{"33":1}}],["运行环境版本管理领域竞争",{"2":{"33":1}}],["运行环境的一个版本",{"2":{"14":1}}],["运行环境安装插件",{"2":{"14":1}}],["运行环境",{"2":{"7":1}}],["jthegedus",{"2":{"110":1}}],["jruby",{"2":{"91":2}}],["j",{"2":{"85":1}}],["java",{"2":{"59":3}}],["javascript",{"2":{"7":1,"8":1,"10":1}}],["join",{"2":{"19":4,"56":2}}],["json",{"2":{"7":1,"8":2}}],["js",{"2":{"7":2,"8":1,"10":5,"11":2,"12":1,"21":1,"24":1,"54":1,"57":1}}],["引擎的",{"2":{"7":1}}],["基于",{"2":{"7":1}}],["进行安装",{"2":{"46":1}}],["进行管理",{"2":{"7":1}}],["进一步相关文档请查看",{"2":{"3":1}}],["初始化设置",{"0":{"7":1}}],["初始化安装",{"0":{"1":1}}],["网站的根配置文件",{"2":{"10":1}}],["网站的配置包含在几个",{"2":{"10":1}}],["网站贡献指南",{"2":{"6":1}}],["网站",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1,"11":1}}],["镜像",{"0":{"5":1}}],["大版本",{"2":{"4":1}}],["mri",{"2":{"91":1}}],["my",{"2":{"19":5,"81":1,"104":1,"107":3}}],["method",{"2":{"18":2}}],["methods",{"0":{"18":1}}],["mit",{"2":{"109":1}}],["mix",{"2":{"70":1}}],["might",{"2":{"15":1}}],["minor",{"2":{"4":1}}],["md",{"2":{"11":6}}],["man",{"2":{"101":3}}],["managed",{"2":{"76":1}}],["manage",{"2":{"38":1}}],["manager",{"2":{"15":2}}],["make",{"2":{"85":1}}],["makepkg",{"2":{"18":1}}],["maintenance",{"2":{"76":1}}],["master",{"2":{"38":1,"55":1}}],["may",{"2":{"15":1}}],["macos",{"2":{"15":2,"19":4,"22":1,"35":1,"56":3}}],["markdown",{"2":{"8":1,"11":2}}],["major",{"2":{"4":1}}],["小版本",{"2":{"4":1}}],["表示重大更改",{"2":{"4":1}}],["wsl",{"2":{"79":1}}],["wsl2",{"0":{"79":1},"2":{"79":4}}],["wsl1",{"0":{"78":1},"2":{"78":2}}],["which",{"2":{"38":1,"74":2}}],["where",{"2":{"38":1,"74":2}}],["we",{"2":{"18":1}}],["website",{"2":{"4":2}}],["windows",{"2":{"78":1,"79":2}}],["with",{"2":{"4":1,"19":1,"38":3,"104":1}}],["will",{"2":{"3":2}}],["unix",{"2":{"79":1}}],["uninstall",{"0":{"95":1},"2":{"38":1,"56":5,"73":2,"83":1}}],["upgrade",{"2":{"55":2}}],["updates",{"2":{"47":1}}],["update",{"0":{"99":1},"2":{"4":1,"38":8,"43":1,"47":1,"55":2,"61":3,"99":4}}],["util",{"2":{"38":2,"51":1}}],["utils",{"2":{"38":1,"101":1}}],["uz",{"2":{"19":1,"56":1}}],["uses",{"2":{"104":1}}],["user",{"2":{"107":1}}],["users",{"2":{"72":3}}],["user>",{"2":{"1":1,"7":1}}],["used",{"2":{"38":3}}],["use",{"0":{"43":1},"2":{"18":1,"19":3,"41":1,"46":1}}],["using",{"2":{"18":1}}],["us",{"2":{"11":1}}],["urls",{"2":{"38":3,"59":1}}],["url>",{"2":{"38":1,"58":1,"103":1}}],["url",{"2":{"11":1,"38":1,"58":2,"98":2,"107":1}}],["ubuntu",{"2":{"5":1,"90":1}}],["faq",{"0":{"77":1},"1":{"78":1,"79":1,"80":1,"81":1}}],["f",{"2":{"56":3}}],["fetch",{"2":{"55":1}}],["feature",{"2":{"4":2}}],["feat",{"2":{"4":4}}],["from",{"2":{"38":1}}],["fpath=",{"2":{"19":1,"56":1}}],["fpath",{"2":{"19":3}}],["fi",{"2":{"106":1}}],["filter",{"2":{"38":2}}],["filenames",{"0":{"96":1}}],["filename",{"2":{"46":1}}],["file",{"0":{"42":1,"97":1},"2":{"28":1,"38":2,"41":1,"46":1,"96":1,"97":1,"101":1}}],["fish",{"2":{"19":19,"46":1,"56":17,"74":1,"81":2}}],["fix",{"2":{"4":4}}],["foox",{"2":{"94":1}}],["foo",{"2":{"11":2,"65":2,"94":4,"101":11,"102":2}}],["force",{"2":{"56":5}}],["format",{"2":{"8":1}}],["for",{"2":{"4":1,"15":1,"19":2,"38":7,"76":2,"78":1,"79":1}}],["fork",{"2":{"1":2,"7":2}}],["例子调用",{"2":{"94":1}}],["例子",{"2":{"4":1}}],["例如对于",{"2":{"91":1}}],["例如",{"2":{"3":1,"54":1,"90":1,"91":1,"101":1,"103":1,"105":1}}],["强制使用准确的版本",{"2":{"24":1}}],["强制执行的",{"2":{"4":1}}],["强烈建议在编写测试之前检查现有的测试套件和",{"2":{"3":1}}],["这对于在该插件的",{"2":{"103":1}}],["这使得无法使用标准的",{"2":{"102":1}}],["这可用于在从",{"2":{"100":1}}],["这可用于在",{"2":{"99":1}}],["这可用于在插件添加到",{"2":{"98":1}}],["这可用于进一步解析",{"2":{"97":1}}],["这可以在插件中通过",{"2":{"74":1}}],["这可以当作是清理",{"2":{"62":1}}],["这可以设置在",{"2":{"46":1}}],["这仅适用于在",{"2":{"96":1}}],["这允许插件有条件地覆盖垫片指定的可执行程序路径",{"2":{"94":1}}],["这应该用于过滤所有最新稳定版本",{"2":{"91":1}}],["这应该是与插件和工具相关的链接列表",{"2":{"90":1}}],["这不是一个回调脚本",{"2":{"90":1}}],["这样的插件",{"2":{"101":1}}],["这样的东西就足够了",{"2":{"86":1}}],["这样就完成了",{"2":{"20":1}}],["这很有帮助",{"2":{"86":1}}],["这需要你在设置你的",{"2":{"81":1}}],["这种默认行为是不可取的",{"2":{"91":1}}],["这种更新方式将会获取插件存储库的",{"2":{"61":1}}],["这种方式供语言开发者等使用",{"2":{"40":1}}],["这将指示",{"2":{"92":1}}],["这将为某个包的当前版本重新创建垫片",{"2":{"53":1}}],["这将会是一个项目的",{"2":{"27":1}}],["这是一个",{"2":{"105":1}}],["这是一个注释",{"2":{"40":1}}],["这是为什么",{"2":{"80":1}}],["这是另一个注释",{"2":{"40":1}}],["这是通过",{"2":{"4":1}}],["这个功能的一个很好的例子是像",{"2":{"101":1}}],["这个位于",{"2":{"74":1}}],["这个周期由以下方法确定",{"2":{"63":1}}],["这个工具将会安装",{"2":{"40":1}}],["这个列表就是",{"2":{"38":1}}],["这个责任取决于用户",{"2":{"35":1}}],["这个信息是通过读取自上次发布以来的提交历史记录来确定的",{"2":{"4":1}}],["这在每个插件中都原生支持",{"2":{"28":1}}],["这些附加的环境变量将可用于",{"2":{"85":2}}],["这些脚本或可执行程序将使用插件名称作为",{"2":{"101":1}}],["这些脚本的每一个都应根据当前操作系统调整其输出",{"2":{"90":1}}],["这些脚本在执行",{"2":{"83":1}}],["这些脚本能为工具安装的可执行程序创建垫片",{"2":{"33":1}}],["这些插件所对应的存储库链接如下所示",{"2":{"12":1}}],["这些配置的官方文档位于",{"2":{"10":1}}],["约定式提交遵循以下格式",{"2":{"4":1}}],["约定式提交",{"2":{"4":1}}],["变更日志",{"2":{"4":1}}],["变量设置为克隆存储库的路径",{"2":{"2":1}}],["拉取请求标题必须遵循这种格式",{"2":{"4":1}}],["拉取请求",{"0":{"4":1,"9":1}}],["部分所述",{"2":{"71":1}}],["部分",{"2":{"3":1}}],["x",{"2":{"63":2}}],["x26",{"2":{"3":1,"19":2,"56":2}}],["x3c",{"2":{"1":1,"4":3,"7":1,"38":38,"50":1,"51":1,"53":2,"54":1,"58":3,"61":1,"62":1,"65":2,"66":3,"67":3,"68":3,"69":3,"70":13,"71":1,"72":1,"73":2,"94":3,"103":4}}],[">>",{"2":{"19":15}}],[">",{"2":{"3":1,"4":1}}],["danhper",{"2":{"110":1}}],["data",{"2":{"46":1,"56":11,"74":1,"101":5}}],["dylibs",{"2":{"101":1}}],["driven",{"2":{"76":1}}],["duration",{"0":{"45":1},"2":{"41":1,"63":1}}],["during",{"2":{"3":2}}],["disabled",{"2":{"47":1}}],["disable",{"2":{"41":1}}],["display",{"2":{"38":4}}],["direnv",{"0":{"34":1},"2":{"34":3,"75":1}}],["dirmngr",{"2":{"22":1}}],["dir=",{"2":{"19":3}}],["dir",{"2":{"2":1,"19":4,"46":2,"47":1,"56":12,"74":1,"101":6,"105":1}}],["d",{"2":{"19":2,"56":2}}],["downlaod",{"2":{"88":1}}],["download",{"0":{"17":1,"18":1,"44":1,"87":1},"2":{"41":1,"84":1,"85":4,"87":3,"88":1}}],["do",{"2":{"76":1}}],["docker",{"0":{"5":1}}],["documentation",{"2":{"4":1,"38":1}}],["docsify",{"2":{"8":2}}],["docs",{"2":{"4":3,"7":2,"9":2,"10":3,"11":2,"38":1}}],["dnf",{"2":{"15":2}}],["deps",{"2":{"90":1}}],["depending",{"2":{"15":1}}],["debug",{"2":{"38":1}}],["debian",{"2":{"22":1}}],["default",{"2":{"38":3,"46":1}}],["description",{"2":{"9":1}}],["description>",{"2":{"4":1}}],["dev",{"2":{"8":1,"76":2}}],["npm",{"2":{"53":2,"54":2,"80":1}}],["name",{"2":{"38":1,"40":1,"41":1,"45":1,"63":1,"71":1,"98":2,"99":2,"100":2,"103":1,"104":1}}],["name>",{"2":{"38":19,"53":1,"58":2,"61":1,"62":1,"65":1,"66":2,"67":2,"68":2,"69":2,"70":5,"71":1,"72":1,"73":1,"103":1}}],["navbar",{"2":{"10":1,"11":4}}],["nix",{"2":{"36":1}}],["nixos",{"0":{"36":1},"2":{"36":3}}],["nvm",{"0":{"33":1},"2":{"33":1}}],["nvmrc",{"2":{"28":1}}],["n$env",{"2":{"19":3}}],["nu",{"2":{"19":9}}],["nushell",{"2":{"19":6}}],["nsource",{"2":{"19":1}}],["neko",{"2":{"101":1}}],["never",{"2":{"45":1}}],["nexport",{"2":{"19":1}}],["nested",{"2":{"11":2}}],["new",{"2":{"4":1}}],["no",{"2":{"41":4,"42":1,"43":1,"44":1}}],["non",{"2":{"15":1}}],["node",{"2":{"7":2,"12":1,"21":1,"24":1,"28":1,"54":3,"57":1,"72":1,"103":1,"105":2}}],["nodejs插件安装了这些工具的很多版本时",{"2":{"54":1}}],["nodejs",{"2":{"7":2,"21":1,"22":1,"23":2,"24":3,"26":2,"27":2,"28":1,"29":1,"40":2,"53":2,"54":6,"59":3,"72":1,"103":3,"105":2}}],["note",{"2":{"15":1,"76":1}}],["not",{"2":{"3":1,"76":2}}],["n",{"0":{"33":1},"2":{"3":2,"19":16,"33":1,"106":1}}],["39cb398vb39",{"2":{"40":1}}],["3",{"0":{"19":1},"2":{"3":2,"8":1,"40":4,"54":2,"65":1,"72":2,"73":1,"86":1}}],["g",{"2":{"53":1,"80":1}}],["given",{"2":{"38":1}}],["gitref",{"2":{"103":1}}],["git",{"2":{"1":8,"7":5,"15":7,"17":1,"18":3,"19":8,"23":1,"27":1,"30":1,"38":6,"55":2,"56":5,"58":3,"59":2,"83":1,"85":1,"99":2,"103":3,"105":2,"107":1}}],["github",{"0":{"13":1,"104":1,"106":1},"2":{"1":7,"4":1,"7":5,"12":1,"17":1,"23":1,"38":2,"40":1,"58":1,"59":2,"76":2,"79":2,"103":1,"104":4,"105":1,"106":2,"107":1,"111":1}}],["global",{"2":{"26":1,"38":4,"40":1,"70":5,"71":1,"74":1}}],["gawk",{"2":{"22":2}}],["gpg",{"2":{"22":2}}],["get",{"2":{"22":1,"90":1}}],["gt",{"2":{"3":1,"4":2,"9":1,"40":1,"45":1,"53":1,"63":1,"71":1,"90":3,"92":3,"103":1}}],["使用信息",{"2":{"90":1}}],["使用自己的编程语言",{"2":{"36":1}}],["使用可以根据当前目录加载和卸载环境变量的新功能增强现有",{"2":{"34":1}}],["使用现有工具版本文件",{"0":{"28":1}}],["使用",{"2":{"19":2,"40":1,"71":1,"80":1}}],["使用以下命令可以设置一个全局版本",{"2":{"26":1}}],["使用以下命令将",{"2":{"19":12}}],["使用以下命令安装工具版本",{"2":{"7":1}}],["使用以下命令安装这些版本来开发",{"2":{"1":1}}],["使用以下命令添加插件",{"2":{"7":1}}],["使用带有",{"2":{"3":1}}],["文件支持的版本格式相同",{"2":{"70":1}}],["文件了解更多详情",{"2":{"70":1,"75":1}}],["文件读取版本",{"2":{"42":1}}],["文件然后",{"2":{"41":1}}],["文件所指定的版本",{"2":{"40":1}}],["文件的目录中运行",{"2":{"40":1}}],["文件的目录中不带其他参数执行",{"2":{"40":1}}],["文件的同一集合位于",{"2":{"11":1}}],["文件示例如下所示",{"2":{"40":1}}],["文件进行迁移",{"2":{"28":1}}],["文件内容将会如下所示",{"2":{"26":1,"27":1}}],["文件",{"2":{"8":1,"28":1,"39":1,"42":1,"46":2,"102":1}}],["文件安装",{"2":{"7":1}}],["文件中提及",{"2":{"101":1}}],["文件中指定",{"2":{"74":1}}],["文件中配置",{"2":{"63":1}}],["文件中找不到任何配置",{"2":{"56":1}}],["文件中定义的某个工具",{"2":{"40":1}}],["文件中定义的所有工具",{"2":{"40":1}}],["文件中设置的工具版本并执行该版本",{"2":{"31":1}}],["文件中进行管理",{"2":{"26":1}}],["文件中进行工具的版本查找",{"2":{"25":1}}],["文件中使用以下内容手动配置完成",{"2":{"19":1}}],["文件中加入以下内容自动配置",{"2":{"19":1}}],["文件中加入以下内容来配置完成",{"2":{"19":1}}],["文件中加入以下内容",{"2":{"19":11}}],["文件中",{"2":{"1":1,"10":1,"19":12,"27":1,"40":1,"70":2}}],["文档中已涵盖的任何信息",{"2":{"90":1}}],["文档网站的静态站点生成器",{"2":{"8":1}}],["文档网站开发所需的工具都在文件",{"2":{"7":1}}],["文档",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1,"11":1},"2":{"2":1,"3":1,"6":1,"10":1,"34":1,"35":1,"36":1}}],["请根据你的需要进行自定义",{"2":{"105":1}}],["请仅在真的需要时才使用此功能",{"2":{"102":1}}],["请务必在插件的",{"2":{"101":1}}],["请务必查看其",{"2":{"75":1}}],["请检查是否存在",{"2":{"88":1}}],["请注意",{"2":{"86":1,"90":1}}],["请按照",{"2":{"56":1}}],["请设置该变量到那个目录",{"2":{"46":1}}],["请在",{"2":{"28":1,"88":1}}],["请在创建拉取请求之前覆盖新的代码路径",{"2":{"2":1}}],["请继续阅读下面的指南来了解这些是如何做到的",{"2":{"20":1}}],["请参考",{"2":{"12":1,"13":1,"57":1,"60":1}}],["请参考以下文件",{"2":{"10":1}}],["请查看插件存储库",{"2":{"107":1}}],["请查看",{"2":{"10":1,"11":1,"19":2,"28":1,"34":1,"35":1,"36":1,"49":1,"63":1,"70":1,"80":1,"111":1}}],["请确保在访问时提供授权令牌",{"2":{"106":1}}],["请确保",{"2":{"9":1,"19":2}}],["请求时",{"2":{"9":1}}],["请使用约定式提交信息格式作为拉取请求标题",{"2":{"4":1}}],["请使用以下命令添加这些插件",{"2":{"1":1}}],["增加测试",{"2":{"2":1}}],["特定命令",{"2":{"2":1}}],["测试插件",{"0":{"103":1},"1":{"104":1,"105":1}}],["测试",{"0":{"3":1},"2":{"2":2}}],["格式化",{"2":{"2":1}}],["格式化器和解释器",{"2":{"1":1}}],["src",{"2":{"40":1}}],["specific",{"2":{"38":2}}],["specified",{"2":{"38":1}}],["specifying",{"2":{"38":1}}],["spack",{"2":{"15":2}}],["save",{"2":{"19":3}}],["sort",{"2":{"86":1}}],["source",{"2":{"19":3,"74":2,"98":1}}],["some",{"2":{"3":3,"4":3,"15":1,"76":1}}],["si",{"2":{"18":1}}],["sidebar",{"2":{"10":1,"11":4}}],["subsystem",{"2":{"78":1,"79":1}}],["supporting",{"2":{"76":1}}],["supported",{"0":{"18":1}}],["sudo",{"2":{"15":1}}],["system",{"2":{"15":1,"40":3,"71":3}}],["stdout",{"2":{"90":1}}],["stable",{"0":{"91":1},"2":{"38":5}}],["stratus3d",{"2":{"110":1}}],["string",{"2":{"19":2,"38":1,"56":2}}],["str",{"2":{"19":2}}],["steps",{"2":{"15":1}}],["style",{"2":{"4":1}}],["secrets",{"2":{"104":1}}],["security",{"2":{"76":1}}],["set",{"2":{"19":3,"38":7,"56":3,"72":3}}],["selectlanguagename",{"2":{"11":2}}],["semantic",{"2":{"4":1}}],["semver",{"2":{"4":4}}],["ssg",{"2":{"8":1}}],["script",{"2":{"74":2,"105":2}}],["scripts",{"2":{"2":2}}],["scope",{"2":{"4":1}}],["s",{"2":{"3":2,"15":1,"19":5,"106":1}}],["short",{"2":{"41":1}}],["show",{"2":{"38":3}}],["shim",{"0":{"54":1},"2":{"38":3,"54":3}}],["shims",{"0":{"74":1},"1":{"75":1},"2":{"2":1,"38":1,"74":2,"102":1}}],["sh",{"2":{"19":17,"46":1,"56":16,"74":3,"81":1,"105":1}}],["shfmt",{"2":{"1":4,"2":1}}],["shellcmd=",{"2":{"106":1}}],["shellcheck",{"2":{"1":3,"2":1}}],["shell$",{"2":{"101":1}}],["shellfoo",{"2":{"101":1}}],["shell用法",{"2":{"94":1}}],["shellbin",{"2":{"92":1}}],["shellbrew",{"2":{"56":5}}],["shell1",{"2":{"86":1}}],["shellif",{"2":{"56":2}}],["shelluse",{"2":{"56":3}}],["shellpacman",{"2":{"56":4}}],["shellrm",{"2":{"56":25}}],["shell➜",{"2":{"54":2}}],["shellexport",{"2":{"19":2}}],["shellecho",{"2":{"19":8}}],["shellmkdir",{"2":{"19":4}}],["shellsource",{"2":{"19":2,"56":3}}],["shellgit",{"2":{"17":1}}],["shelldocs",{"2":{"11":1}}],["shellnpm",{"2":{"7":1,"8":2}}],["shellasdf",{"2":{"1":2,"7":2,"23":1,"24":1,"26":1,"27":1,"50":1,"51":1,"52":1,"53":1,"54":1,"58":2,"59":2,"60":1,"61":2,"65":1,"66":2,"67":2,"68":2,"69":2,"70":2,"71":1,"72":1,"73":1,"103":2}}],["shell",{"0":{"81":1},"2":{"1":3,"2":1,"3":1,"7":1,"19":21,"31":1,"33":1,"34":1,"37":2,"38":3,"52":1,"56":9,"70":4,"71":1,"74":2,"81":1,"96":1}}],["脚本获取",{"2":{"101":1}}],["脚本或者可执行程序来定义新的",{"2":{"101":1}}],["脚本将传递文件路径作为其第一个参数",{"2":{"97":1}}],["脚本还应该根据设置变量",{"2":{"90":1}}],["脚本已经下载源代码",{"2":{"88":1}}],["脚本回调时下载源代码",{"2":{"88":1}}],["脚本应仅在安装脚本认为工具的生成和安装成功后",{"2":{"88":1}}],["脚本应以任何非零退出状态退出",{"2":{"88":1}}],["脚本应该仅将文件放在",{"2":{"87":1}}],["脚本自定义",{"2":{"88":1}}],["脚本必须以任何非零退出状态退出",{"2":{"87":1}}],["脚本下载源代码或二进制文件的路径",{"2":{"85":1}}],["脚本执行情况下",{"2":{"85":1}}],["脚本提供",{"2":{"74":1}}],["脚本的位置",{"2":{"46":1}}],["脚本的",{"2":{"37":1}}],["脚本的静态分析工具",{"2":{"1":1}}],["脚本写的",{"2":{"33":1}}],["脚本需要在设置好的",{"2":{"19":1}}],["脚本",{"0":{"90":1},"2":{"19":1,"85":2,"87":1}}],["脚本检查",{"2":{"2":1}}],["命令用于测试插件",{"2":{"103":1}}],["命令的子命令进行调用",{"2":{"101":1}}],["命令的打印内容",{"2":{"38":1}}],["命令可能会认为该工具版本已经安装",{"2":{"88":1}}],["命令会在自己的行打印每个版本",{"2":{"86":1}}],["命令会返回",{"2":{"54":1}}],["命令时被执行",{"2":{"83":1}}],["命令文档",{"2":{"80":1}}],["命令选择",{"2":{"74":1}}],["命令将会强制重新计算任何新可执行程序的垫片",{"2":{"53":1}}],["命令安装",{"2":{"53":1}}],["命令行的扩展命令",{"0":{"101":1}}],["命令行",{"2":{"53":1}}],["命令列表很小",{"2":{"48":1}}],["命令进行的更新",{"2":{"47":1}}],["命令以保留或删除下载的源代码或二进制文件",{"2":{"44":1}}],["命令以升级到最新的候选版本",{"2":{"43":1}}],["命令主要分为三类",{"2":{"29":1}}],["命令",{"2":{"2":1,"40":2,"45":1,"63":1,"74":1,"80":2,"101":1}}],["long",{"2":{"76":1}}],["local",{"2":{"27":1,"38":4,"40":1,"70":3,"71":3,"74":1}}],["locales",{"2":{"11":1}}],["locale",{"2":{"11":1}}],["last",{"0":{"45":1},"2":{"41":1,"63":1}}],["lang",{"2":{"38":1,"70":1}}],["latest",{"0":{"91":1},"2":{"24":3,"26":1,"27":1,"38":15,"66":4,"69":4,"70":3,"91":1,"103":1}}],["later",{"2":{"15":1}}],["legacy",{"0":{"42":1,"96":1,"97":1},"2":{"28":1,"96":1,"97":1}}],["ln",{"2":{"19":4}}],["lt",{"2":{"4":2,"9":1,"40":1,"45":1,"53":1,"63":1,"71":1,"90":3,"92":3,"103":1}}],["license",{"2":{"109":1}}],["lib",{"2":{"19":6,"56":3,"101":8}}],["libexec",{"2":{"19":10,"56":4}}],["link",{"2":{"90":2,"101":1}}],["links",{"2":{"90":1}}],["linux",{"2":{"15":4,"22":1,"35":1,"78":1,"79":1,"103":1,"105":1}}],["lint",{"2":{"2":1}}],["listed",{"2":{"38":1,"76":1}}],["list",{"0":{"86":1,"92":1,"96":1},"2":{"2":1,"15":1,"24":2,"38":9,"45":1,"59":4,"60":1,"63":1,"67":4,"68":4,"83":1,"84":1,"85":1,"86":1,"88":1,"91":3,"106":2}}],["luizm",{"2":{"1":2}}],["和更新后的",{"2":{"99":1}}],["和源",{"2":{"98":1}}],["和补全功能的行",{"2":{"56":6}}],["和环境变量",{"2":{"39":1}}],["和",{"2":{"2":1,"5":1,"28":1,"33":1,"52":1,"54":1,"74":1,"90":1,"92":1,"103":1}}],["bug",{"2":{"52":1}}],["build",{"2":{"4":1,"105":1}}],["by",{"2":{"38":1,"72":3}}],["branch",{"2":{"17":1,"38":3}}],["brazilian",{"2":{"11":1}}],["brew",{"2":{"15":1,"18":1,"19":12,"22":1,"55":2,"56":7}}],["breaking",{"2":{"4":1}}],["br",{"2":{"11":6}}],["before",{"2":{"105":1}}],["begins",{"2":{"38":1}}],["being",{"2":{"38":2}}],["be",{"2":{"3":2,"15":1}}],["bin",{"0":{"86":1,"87":1,"88":1,"90":1,"91":1,"92":2,"93":1,"94":1,"95":1,"96":1,"97":1,"98":1,"99":1,"100":1},"2":{"2":1,"74":1,"84":3,"85":5,"87":1,"88":5,"90":5,"92":2,"94":4,"106":1}}],["baz`",{"2":{"101":1}}],["baz",{"2":{"101":1}}],["bar`",{"2":{"101":1}}],["bar",{"2":{"101":1}}],["bat",{"2":{"101":6}}],["bats",{"0":{"3":1},"2":{"1":3,"2":3,"3":8}}],["bash`",{"2":{"101":3}}],["bashasdf",{"2":{"62":1}}],["bashrc",{"2":{"19":6,"56":3}}],["bash",{"2":{"1":3,"2":3,"19":19,"56":14,"81":1,"101":9,"102":1}}],["并确保它可以在",{"2":{"103":1}}],["并执行设置工具环境所需的任何操作",{"2":{"83":1}}],["并不总是被设置",{"2":{"90":1}}],["并不意味着这是这个特定工具的最佳实践方案",{"2":{"37":1}}],["并不打算成为一个系统包管理器",{"2":{"37":1}}],["并可通过简单的插件接口扩展到所有工具和运行环境",{"2":{"30":1}}],["并加快错误修复的审查速度",{"2":{"2":1}}],["并临时将目录的",{"2":{"2":1}}],["并且重新编译",{"2":{"55":1}}],["并且它不是一个包管理器",{"2":{"36":1}}],["并且",{"2":{"1":1,"7":1,"106":1}}],["开发",{"0":{"2":1,"8":1}}],["支持下载二进制文件的插件将会下载二进制文件",{"2":{"40":1}}],["支持从",{"2":{"28":1}}],["支持从其他版本管理器的现有版本文件中迁移过来",{"2":{"28":1}}],["支持",{"0":{"78":1,"79":1},"2":{"1":1,"42":1,"79":1}}],["兼容脚本",{"2":{"1":1}}],["public",{"2":{"106":1}}],["pull",{"2":{"4":1}}],["pkgbuild",{"2":{"55":1}}],["python",{"2":{"26":1,"40":4,"71":1}}],["ps1",{"2":{"19":8}}],["p",{"2":{"19":4}}],["post",{"0":{"98":1,"99":1},"2":{"22":1,"98":2,"99":3,"100":2}}],["posix",{"2":{"1":1,"19":3}}],["powershell",{"2":{"19":7}}],["portuguese",{"2":{"11":1}}],["pt",{"2":{"11":6}}],["prev",{"2":{"99":1}}],["pre",{"0":{"100":1},"2":{"98":2,"99":2,"100":2}}],["prefix",{"2":{"19":12,"56":6}}],["preferred",{"2":{"18":1}}],["projects",{"0":{"76":1},"2":{"76":2}}],["project",{"2":{"72":1,"76":1}}],["provide",{"2":{"38":1}}],["provided",{"2":{"38":2}}],["profile",{"2":{"19":14,"56":3,"81":1}}],["primarily",{"2":{"15":1}}],["print",{"2":{"38":2}}],["printing",{"2":{"3":1}}],["printed",{"2":{"3":2}}],["printf",{"2":{"3":2}}],["pr",{"2":{"9":3}}],["parse",{"0":{"97":1},"2":{"97":1}}],["particular",{"2":{"38":1}}],["path>",{"2":{"94":2}}],["paths",{"0":{"92":1},"2":{"88":1}}],["path",{"0":{"94":1},"2":{"19":8,"38":2,"40":1,"74":1,"85":3,"87":3,"88":6,"92":3,"94":2,"98":1,"99":1,"100":1,"106":1}}],["patch",{"2":{"4":1}}],["pacman",{"2":{"15":2,"18":1,"19":7,"47":1,"55":1,"56":4}}],["packages",{"2":{"38":3}}],["package",{"2":{"7":1,"8":1,"15":2,"38":15}}],["perf",{"2":{"4":1}}],["please",{"2":{"4":1}}],["plugins",{"2":{"12":1,"38":6,"76":1,"94":1,"101":5,"107":1}}],["plugin",{"0":{"45":1,"98":1,"99":1,"100":1},"2":{"1":3,"7":1,"12":1,"23":1,"38":12,"41":2,"45":2,"58":4,"59":4,"60":1,"61":3,"62":2,"63":3,"74":3,"94":1,"98":8,"99":9,"100":7,"103":7,"104":2,"105":3,"107":5}}],["自动提供",{"2":{"104":1}}],["自动化测试系统",{"2":{"1":1}}],["自定义垫片模板",{"0":{"102":1}}],["自身来管理它",{"2":{"1":1}}],["或只是",{"2":{"90":1}}],["或",{"2":{"1":1,"85":1}}],["或许",{"2":{"1":1}}],["或者可以创建",{"2":{"101":1}}],["或者以相反的顺序排列",{"2":{"86":1}}],["或者希望在进入项目目录时自动设置环境变量",{"2":{"75":1}}],["或者通过插件存储库中的缩写添加插件",{"2":{"58":1}}],["或者不存在",{"2":{"25":1}}],["或者",{"2":{"19":3,"29":1,"35":1,"40":2,"45":1,"46":1,"47":1,"56":1,"63":1,"71":1,"74":1,"81":1,"83":1,"85":1,"103":1}}],["或者执行以下命令",{"2":{"19":2}}],["或者更新的版本",{"2":{"19":2}}],["或者运行生产应用",{"2":{"5":1}}],["或者直接克隆",{"2":{"1":1,"7":1}}],["或者使用你习惯的",{"2":{"55":1}}],["或者使用",{"2":{"1":1,"7":1}}],["travis",{"2":{"105":1,"106":1}}],["travisci",{"0":{"105":1}}],["truffleruby",{"2":{"91":1}}],["trim",{"2":{"19":2}}],["title",{"2":{"90":1}}],["timgluz",{"2":{"1":1}}],["tac",{"2":{"86":1}}],["tap",{"2":{"3":1}}],["txtlegacy",{"2":{"41":1}}],["txtmanage",{"2":{"38":1}}],["those",{"2":{"76":1}}],["that",{"2":{"38":2}}],["then",{"2":{"106":1}}],["their",{"2":{"76":1}}],["they",{"2":{"38":1,"76":1}}],["these",{"2":{"15":1,"76":1}}],["themeconfig",{"2":{"11":1}}],["the",{"2":{"3":1,"4":1,"18":1,"38":28,"76":1}}],["type",{"2":{"4":1,"85":2,"90":1}}],["types",{"2":{"4":1}}],["type>",{"2":{"4":1}}],["term",{"2":{"76":1}}],["terminal",{"2":{"3":1}}],["tests",{"2":{"3":3}}],["test",{"2":{"2":2,"3":3,"4":1,"70":1,"103":4,"104":2,"105":3}}],["token",{"2":{"104":2,"106":5}}],["to",{"2":{"3":1,"15":1,"19":1,"38":8,"76":2}}],["tools",{"2":{"15":1,"76":1,"92":2}}],["tool",{"0":{"40":1},"2":{"1":1,"7":1,"14":1,"25":1,"26":2,"27":2,"30":1,"31":1,"38":4,"39":1,"40":9,"42":1,"46":3,"56":14,"70":5,"72":3,"74":1,"103":1,"104":1}}],["t",{"2":{"3":2}}],["afaik",{"2":{"102":1}}],["an",{"2":{"38":2}}],["and",{"2":{"19":1,"38":9}}],["at",{"2":{"38":1}}],["as",{"2":{"38":1,"76":1}}],["asdfrc",{"0":{"41":1},"1":{"42":1,"43":1,"44":1,"45":1},"2":{"28":1,"39":1,"41":1,"46":1,"56":14,"63":1,"96":1}}],["asdf~",{"2":{"19":6,"56":6}}],["asdf",{"0":{"0":1,"16":1,"19":1,"37":1,"75":1,"101":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"17":1,"18":1},"2":{"0":1,"1":14,"2":1,"4":1,"5":3,"7":9,"8":1,"9":1,"12":7,"13":1,"14":3,"15":1,"17":3,"18":3,"19":110,"20":2,"21":1,"22":1,"23":2,"24":4,"25":3,"26":2,"28":3,"29":5,"30":2,"31":2,"33":2,"34":3,"35":1,"36":2,"37":3,"38":43,"39":1,"40":6,"41":1,"43":1,"44":1,"45":3,"46":14,"47":3,"48":1,"52":1,"53":1,"54":3,"55":6,"56":118,"57":1,"58":3,"59":5,"61":1,"62":1,"63":3,"65":1,"66":2,"67":2,"68":2,"69":2,"70":8,"71":2,"72":3,"73":1,"74":12,"75":2,"76":7,"77":1,"78":1,"80":4,"81":3,"85":7,"87":5,"88":9,"90":6,"91":2,"92":2,"94":2,"97":2,"98":7,"99":8,"100":6,"101":11,"102":2,"103":6,"104":3,"105":7,"107":5,"108":1}}],["always",{"0":{"44":1},"2":{"41":1}}],["all",{"0":{"86":1},"2":{"24":2,"38":9,"45":1,"60":1,"61":1,"63":1,"68":4,"83":1,"84":1,"85":1,"86":1,"91":3,"106":2}}],["alpine",{"2":{"5":1}}],["api",{"0":{"106":1},"2":{"30":1,"57":1,"104":1,"106":4}}],["append",{"2":{"19":4}}],["apt",{"2":{"15":1,"22":1,"90":1}}],["aptitude",{"2":{"15":1}}],["are",{"2":{"38":1,"76":2}}],["args",{"2":{"38":1,"50":1}}],["arg",{"2":{"19":6,"56":6}}],["archlinux",{"2":{"18":1}}],["authorization",{"2":{"106":1}}],["autoremove",{"2":{"56":1}}],["auto",{"2":{"41":1}}],["autoload",{"2":{"19":1,"56":1}}],["automatically",{"2":{"15":1}}],["aur",{"2":{"18":2,"19":1,"46":1,"55":1}}],["a",{"2":{"4":1,"15":1,"38":15,"40":1,"76":2}}],["amannn",{"2":{"4":1}}],["amp",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1,"11":1},"2":{"3":1,"6":1,"15":1,"18":4,"19":23,"56":14}}],["actions",{"0":{"13":1},"2":{"13":1,"79":2,"104":2}}],["action",{"0":{"104":1},"2":{"4":2,"104":1}}],["add",{"0":{"98":1},"2":{"1":3,"7":1,"23":1,"38":3,"45":1,"58":4,"63":1,"98":4,"107":2}}],["veggies",{"2":{"92":2}}],["version=1",{"2":{"70":1}}],["version`",{"2":{"38":1}}],["version>",{"2":{"38":13,"53":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":8,"73":1,"103":1}}],["version",{"0":{"42":1},"2":{"28":3,"38":23,"41":1,"42":1,"53":1,"70":2,"85":3,"90":1,"96":2,"103":4,"104":1,"105":2}}],["versions`",{"2":{"54":1}}],["versions",{"0":{"40":1,"54":1},"2":{"1":1,"7":1,"14":1,"25":1,"26":2,"27":2,"30":1,"31":1,"38":10,"39":1,"40":9,"42":2,"46":3,"53":1,"54":3,"56":14,"70":4,"72":3,"74":1}}],["v",{"2":{"86":1}}],["vic",{"2":{"58":1,"110":1}}],["v1",{"2":{"40":1,"104":1}}],["var",{"2":{"19":3,"56":3}}],["v0",{"2":{"17":1}}],["v2",{"2":{"8":1}}],["vuepress",{"0":{"10":1},"2":{"8":2,"10":4,"11":3}}],["v8",{"2":{"7":1}}],["vm",{"2":{"1":1,"7":2,"17":1,"18":2,"19":9,"23":1,"38":2,"46":1,"56":7,"59":1,"90":1,"103":1,"104":2,"105":1,"107":1}}],["核心在",{"2":{"31":1}}],["核心的安装",{"2":{"20":1}}],["核心安装完成",{"0":{"20":1}}],["核心",{"0":{"48":1},"1":{"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1},"2":{"14":1,"29":1,"48":1}}],["核心用于查找流行的",{"2":{"12":1}}],["核心团队已经开发了一些与他们日常工作相关的插件",{"2":{"12":1}}],["核心开发所需的工具都列举在这个存储库的",{"2":{"1":1}}],["核心贡献指南",{"2":{"0":1,"9":1}}],["c",{"2":{"105":1}}],["cmd=",{"2":{"106":2}}],["cmd",{"2":{"101":1}}],["candidates",{"0":{"43":1},"2":{"41":1}}],["catalina",{"2":{"19":2,"56":1}}],["currently",{"2":{"38":1}}],["current",{"2":{"25":1,"38":7,"72":4,"74":1}}],["curl",{"2":{"15":7,"22":1,"106":1}}],["cd",{"2":{"18":1}}],["check",{"0":{"45":1},"2":{"41":1,"63":1}}],["chrome",{"2":{"7":1}}],["chore",{"2":{"4":1}}],["change",{"2":{"4":2}}],["ci",{"2":{"4":1,"103":2,"105":1,"106":1}}],["collaborative",{"2":{"76":1}}],["cool",{"2":{"72":1}}],["container",{"2":{"76":2}}],["concurrency",{"2":{"41":1,"85":1}}],["configuration",{"2":{"15":1}}],["config",{"2":{"10":1,"11":1,"19":38,"46":1,"56":13,"81":1,"90":1}}],["codespaces",{"2":{"76":1}}],["code",{"2":{"8":1,"76":1}}],["coreutils",{"2":{"15":2}}],["core",{"2":{"1":1,"2":1,"3":2,"19":3,"76":2}}],["compinit",{"2":{"19":7,"56":2}}],["completer~",{"2":{"19":3,"56":3}}],["completer",{"2":{"19":3,"56":3}}],["completion",{"2":{"19":6,"56":5}}],["completions",{"2":{"19":8,"56":4}}],["commit",{"2":{"38":2}}],["command>",{"2":{"38":4,"50":1,"51":1,"54":1,"94":1}}],["command",{"2":{"15":1,"18":1,"38":3,"101":10,"103":1,"104":1}}],["commands",{"2":{"2":1,"15":1,"101":7}}],["community",{"0":{"18":1,"76":1},"2":{"12":1,"76":3}}],["com",{"2":{"1":5,"7":3,"17":1,"23":1,"38":2,"58":1,"59":2,"103":1,"105":1,"107":1}}],["clone",{"2":{"1":2,"7":2,"17":1,"18":1,"105":1}}],["的项目提供了使用",{"2":{"104":1}}],["的文件在插件中",{"2":{"102":1}}],["的可执行程序",{"2":{"102":1}}],["的所有可用功能",{"2":{"101":1}}],["的所有类型包含",{"2":{"4":1}}],["的最新稳定版本",{"2":{"91":1}}],["的常规实现",{"2":{"91":1}}],["的值",{"2":{"90":1}}],["的下方",{"2":{"81":1}}],["的生效不在你的",{"2":{"81":1}}],["的官方支持",{"2":{"78":1}}],["的某些方面可能无法正常工作",{"2":{"78":1}}],["的目录是已安装程序在环境中可用的方式",{"2":{"74":1}}],["的系统版本而非",{"2":{"71":1}}],["的环境变量",{"2":{"70":2}}],["的行",{"2":{"56":5}}],["的指南",{"2":{"56":2}}],["的指引",{"2":{"19":1}}],["的内置命令用于更新",{"2":{"55":1}}],["的内部配置",{"2":{"47":1}}],["的数字",{"2":{"45":1}}],["的特性到",{"2":{"34":1}}],["的区别之处在于它的插件系统",{"2":{"33":1}}],["的快速上手",{"2":{"29":1}}],["的补全功能可以交给",{"2":{"19":1}}],["的说明完成配置",{"2":{"19":2}}],["的说明",{"2":{"19":2}}],["的格式",{"2":{"9":1}}],["的自动发布工具来自动碰撞",{"2":{"4":1}}],["的输出",{"2":{"3":1}}],["的情况下尝试应用你的更改",{"2":{"2":1}}],["的",{"2":{"1":2,"3":1,"7":2,"28":1,"42":2,"53":1,"61":2,"70":2,"85":1,"106":1}}],["克隆你",{"2":{"1":1,"7":1}}],["克隆默认分支",{"2":{"1":1,"7":1}}],["上的",{"2":{"111":1}}],["上运行",{"2":{"103":1}}],["上运行测试套件",{"2":{"79":1}}],["上测试拉取请求非常有用",{"2":{"103":1}}],["上提供主机运行器支持时",{"2":{"79":1}}],["上面",{"2":{"46":1}}],["上缺失包的管理器",{"2":{"35":1}}],["上",{"2":{"1":1,"7":1,"90":1}}],["在你的代码中公布你的",{"2":{"106":1}}],["在从输出中排除了几种类型的版本",{"2":{"91":1}}],["在从当前工作目录一直到",{"2":{"25":1}}],["在这个例子中",{"2":{"80":1}}],["在这种情况下",{"2":{"56":1,"86":1}}],["在报告",{"2":{"52":1}}],["在成功安装后保留源代码或二进制文件",{"2":{"44":1}}],["在成功安装后删除源代码或二进制文件",{"2":{"44":1}}],["在包含",{"2":{"40":2}}],["在框架生效位置的下方",{"2":{"19":1}}],["在选择下拉菜单中的标题以及导航栏",{"2":{"11":1}}],["在提交之前格式化代码",{"2":{"8":1}}],["在本地做好格式化",{"2":{"2":1}}],["在本地机器的开发过程中不使用",{"2":{"1":1}}],["在",{"2":{"1":1,"7":1,"19":12,"56":14,"90":1,"106":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/VPLocalSearchBox.DzFCX21k.js b/assets/chunks/VPLocalSearchBox.DzFCX21k.js new file mode 100644 index 00000000..6d400b1d --- /dev/null +++ b/assets/chunks/VPLocalSearchBox.DzFCX21k.js @@ -0,0 +1,7 @@ +var Ft=Object.defineProperty;var Ot=(a,e,t)=>e in a?Ft(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ot(a,typeof e!="symbol"?e+"":e,t);import{V as ye,p as se,h as pe,ah as et,ai as Rt,aj as Ct,q as Ve,ak as Mt,d as At,D as we,al as tt,am as Lt,an as Dt,s as Pt,ao as zt,v as Me,P as ue,O as xe,ap as jt,aq as Vt,W as $t,R as Bt,$ as Wt,o as q,b as Kt,j as _,a0 as Jt,k as D,ar as Ut,as as qt,at as Gt,c as Y,n as st,e as _e,C as nt,F as it,a as de,t as he,au as Ht,av as rt,aw as Qt,a6 as Yt,ac as Zt,ax as Xt,_ as es}from"./framework.C9NVOr0y.js";import{u as ts,c as ss}from"./theme.BQKOjM6g.js";const ns={root:()=>ye(()=>import("./@localSearchIndexroot.C13dwPVu.js"),[]),"ja-jp":()=>ye(()=>import("./@localSearchIndexja-jp.CBrievQI.js"),[]),"pt-br":()=>ye(()=>import("./@localSearchIndexpt-br.DTBAfdU-.js"),[]),"zh-hans":()=>ye(()=>import("./@localSearchIndexzh-hans.BveK1egn.js"),[])};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var mt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ke=mt.join(","),gt=typeof Element>"u",ie=gt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!gt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Fe=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},is=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},bt=function(e,t,s){if(Fe(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(ke));return t&&ie.call(e,ke)&&n.unshift(e),n=n.filter(s),n},yt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Fe(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=ie.call(i,ke);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var v=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),p=!Fe(v,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(v&&p){var b=a(v===!0?i.children:v.children,!0,s);s.flatten?n.push.apply(n,b):n.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return n},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ne=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||is(e))&&!wt(e)?0:e.tabIndex},rs=function(e,t){var s=ne(e);return s<0&&t&&!wt(e)?0:s},as=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},os=function(e){return xt(e)&&e.type==="hidden"},ls=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},cs=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(ie.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=Ne(e);if(l&&!l.shadowRoot&&n(l)===!0)return at(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(fs(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return at(e);return!1},vs=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},gs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=rs(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(as).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},bs=function(e,t){t=t||{};var s;return t.getShadowRoot?s=yt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ms}):s=bt(e,t.includeContainer,$e.bind(null,t)),gs(s)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=yt([e],t.includeContainer,{filter:Oe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=bt(e,t.includeContainer,Oe.bind(null,t)),s},re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,ke)===!1?!1:$e(t,e)},ws=mt.concat("iframe").join(","),Ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,ws)===!1?!1:Oe(t,e)};/*! +* focus-trap 7.6.0 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function xs(a,e,t){return(e=Ss(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function ot(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function lt(a){for(var e=1;e0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Es=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Is=function(e){return ve(e)&&!e.shiftKey},ks=function(e){return ve(e)&&e.shiftKey},ut=function(e){return setTimeout(e,0)},dt=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},fe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1?g-1:0),E=1;E=0)d=s.activeElement;else{var u=i.tabbableGroups[0],g=u&&u.firstTabbableNode;d=g||h("fallbackFocus")}if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},p=function(){if(i.containerGroups=i.containers.map(function(d){var u=bs(d,r.tabbableOptions),g=ys(d,r.tabbableOptions),S=u.length>0?u[0]:void 0,E=u.length>0?u[u.length-1]:void 0,N=g.find(function(f){return re(f)}),F=g.slice().reverse().find(function(f){return re(f)}),m=!!u.find(function(f){return ne(f)>0});return{container:d,tabbableNodes:u,focusableNodes:g,posTabIndexesFound:m,firstTabbableNode:S,lastTabbableNode:E,firstDomTabbableNode:N,lastDomTabbableNode:F,nextTabbableNode:function(T){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=u.indexOf(T);return C<0?A?g.slice(g.indexOf(T)+1).find(function(M){return re(M)}):g.slice(0,g.indexOf(T)).reverse().find(function(M){return re(M)}):u[C+(A?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(d){return d.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},b=function(d){var u=d.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?b(u.shadowRoot):u},y=function(d){if(d!==!1&&d!==b(document)){if(!d||!d.focus){y(v());return}d.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=d,Es(d)&&d.select()}},x=function(d){var u=h("setReturnFocus",d);return u||(u===!1?!1:d)},w=function(d){var u=d.target,g=d.event,S=d.isBackward,E=S===void 0?!1:S;u=u||Se(g),p();var N=null;if(i.tabbableGroups.length>0){var F=c(u,g),m=F>=0?i.containerGroups[F]:void 0;if(F<0)E?N=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:N=i.tabbableGroups[0].firstTabbableNode;else if(E){var f=dt(i.tabbableGroups,function(L){var j=L.firstTabbableNode;return u===j});if(f<0&&(m.container===u||Ae(u,r.tabbableOptions)&&!re(u,r.tabbableOptions)&&!m.nextTabbableNode(u,!1))&&(f=F),f>=0){var T=f===0?i.tabbableGroups.length-1:f-1,A=i.tabbableGroups[T];N=ne(u)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else ve(g)||(N=m.nextTabbableNode(u,!1))}else{var C=dt(i.tabbableGroups,function(L){var j=L.lastTabbableNode;return u===j});if(C<0&&(m.container===u||Ae(u,r.tabbableOptions)&&!re(u,r.tabbableOptions)&&!m.nextTabbableNode(u))&&(C=F),C>=0){var M=C===i.tabbableGroups.length-1?0:C+1,I=i.tabbableGroups[M];N=ne(u)>=0?I.firstTabbableNode:I.firstDomTabbableNode}else ve(g)||(N=m.nextTabbableNode(u))}}else N=h("fallbackFocus");return N},O=function(d){var u=Se(d);if(!(c(u,d)>=0)){if(fe(r.clickOutsideDeactivates,d)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}fe(r.allowOutsideClick,d)||d.preventDefault()}},R=function(d){var u=Se(d),g=c(u,d)>=0;if(g||u instanceof Document)g&&(i.mostRecentlyFocusedNode=u);else{d.stopImmediatePropagation();var S,E=!0;if(i.mostRecentlyFocusedNode)if(ne(i.mostRecentlyFocusedNode)>0){var N=c(i.mostRecentlyFocusedNode),F=i.containerGroups[N].tabbableNodes;if(F.length>0){var m=F.findIndex(function(f){return f===i.mostRecentlyFocusedNode});m>=0&&(r.isKeyForward(i.recentNavEvent)?m+1=0&&(S=F[m-1],E=!1))}}else i.containerGroups.some(function(f){return f.tabbableNodes.some(function(T){return ne(T)>0})})||(E=!1);else E=!1;E&&(S=w({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y(S||i.mostRecentlyFocusedNode||v())}i.recentNavEvent=void 0},K=function(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var g=w({event:d,isBackward:u});g&&(ve(d)&&d.preventDefault(),y(g))},G=function(d){(r.isKeyForward(d)||r.isKeyBackward(d))&&K(d,r.isKeyBackward(d))},W=function(d){Ts(d)&&fe(r.escapeDeactivates,d)!==!1&&(d.preventDefault(),o.deactivate())},V=function(d){var u=Se(d);c(u,d)>=0||fe(r.clickOutsideDeactivates,d)||fe(r.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},$=function(){if(i.active)return ct.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ut(function(){y(v())}):y(v()),s.addEventListener("focusin",R,!0),s.addEventListener("mousedown",O,{capture:!0,passive:!1}),s.addEventListener("touchstart",O,{capture:!0,passive:!1}),s.addEventListener("click",V,{capture:!0,passive:!1}),s.addEventListener("keydown",G,{capture:!0,passive:!1}),s.addEventListener("keydown",W),o},me=function(){if(i.active)return s.removeEventListener("focusin",R,!0),s.removeEventListener("mousedown",O,!0),s.removeEventListener("touchstart",O,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",G,!0),s.removeEventListener("keydown",W),o},z=function(d){var u=d.some(function(g){var S=Array.from(g.removedNodes);return S.some(function(E){return E===i.mostRecentlyFocusedNode})});u&&y(v())},H=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(z):void 0,J=function(){H&&(H.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){H.observe(d,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var u=l(d,"onActivate"),g=l(d,"onPostActivate"),S=l(d,"checkCanFocusTrap");S||p(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,u==null||u();var E=function(){S&&p(),$(),J(),g==null||g()};return S?(S(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(d){if(!i.active)return this;var u=lt({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,me(),i.active=!1,i.paused=!1,J(),ct.deactivateTrap(n,o);var g=l(u,"onDeactivate"),S=l(u,"onPostDeactivate"),E=l(u,"checkCanReturnFocus"),N=l(u,"returnFocus","returnFocusOnDeactivate");g==null||g();var F=function(){ut(function(){N&&y(x(i.nodeFocusedBeforeActivation)),S==null||S()})};return N&&E?(E(x(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(d){if(i.paused||!i.active)return this;var u=l(d,"onPause"),g=l(d,"onPostPause");return i.paused=!0,u==null||u(),me(),J(),g==null||g(),this},unpause:function(d){if(!i.paused||!i.active)return this;var u=l(d,"onUnpause"),g=l(d,"onPostUnpause");return i.paused=!1,u==null||u(),p(),$(),J(),g==null||g(),this},updateContainerElements:function(d){var u=[].concat(d).filter(Boolean);return i.containers=u.map(function(g){return typeof g=="string"?s.querySelector(g):g}),i.active&&p(),J(),this}},o.updateContainerElements(e),o};function Os(a,e={}){let t;const{immediate:s,...n}=e,r=se(!1),i=se(!1),o=p=>t&&t.activate(p),l=p=>t&&t.deactivate(p),c=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)},v=pe(()=>{const p=et(a);return(Array.isArray(p)?p:[p]).map(b=>{const y=et(b);return typeof y=="string"?y:Rt(y)}).filter(Ct)});return Ve(v,p=>{p.length&&(t=Fs(p,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Mt(()=>l()),{hasFocus:r,isPaused:i,activate:o,deactivate:l,pause:c,unpause:h}}class oe{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const l=()=>{--i<=0&&n(o)};i||l(),r.forEach(c=>{oe.matches(c,this.exclude)?l():this.onIframeReady(c,h=>{t(c)&&(o++,s(h)),l()},l)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new oe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,l)=>{o.val===s&&(r=l,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],l=[],c,h,v=()=>({prevNode:h,node:c}=this.getIteratorNode(i),c);for(;v();)this.iframes&&this.forEachIframe(t,p=>this.checkIframeFilter(c,h,p,o),p=>{this.createInstanceOnIframe(p).forEachNode(e,b=>l.push(b),n)}),l.push(c);l.forEach(p=>{s(p)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const l=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,l):l()})}}let Rs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new oe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,l=parseInt(e.start,10)-o;return l=l>i?i:l,n=l+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||n-l<0||l>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(l,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return oe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!n(i.node))return!1;const c=t-i.start,h=(s>i.end?i.end:s)-i.start,v=e.value.substr(0,i.start),p=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,h),e.value=v+p,e.nodes.forEach((b,y)=>{y>=o&&(e.nodes[y].start>0&&y!==o&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(l=>{l=l.node;let c;for(;(c=e.exec(l.textContent))!==null&&c[i]!=="";){if(!s(c[i],l))continue;let h=c.index;if(i!==0)for(let v=1;v{let l;for(;(l=e.exec(o.value))!==null&&l[i]!=="";){let c=l.index;if(i!==0)for(let v=1;vs(l[i],v),(v,p)=>{e.lastIndex=p,n(v)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,l)=>{let{start:c,end:h,valid:v}=this.checkWhitespaceRanges(o,i,r.value);v&&this.wrapRangeInMappedTextNode(r,c,h,p=>t(p,o,r.value.substring(c,h),l),p=>{s(p,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",l=c=>{let h=new RegExp(this.createRegExp(c),`gm${o}`),v=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(p,b)=>this.opt.filter(b,c,s,v),p=>{v++,s++,this.opt.each(p)},()=>{v===0&&this.opt.noMatch(c),r[i-1]===c?this.opt.done(s):l(r[r.indexOf(c)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):l(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,l)=>this.opt.filter(r,i,o,l),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=oe.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Cs(a){const e=new Rs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Ie(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{c(s.next(h))}catch(v){i(v)}}function l(h){try{c(s.throw(h))}catch(v){i(v)}}function c(h){h.done?r(h.value):n(h.value).then(o,l)}c((s=s.apply(a,[])).next())})}const Ms="ENTRIES",_t="KEYS",St="VALUES",P="";class Le{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=ae(this._path);if(ae(t)===P)return{done:!1,value:this.result()};const s=e.get(ae(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=ae(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>ae(e)).filter(e=>e!==P).join("")}value(){return ae(this._path).node.get(P)}result(){switch(this._type){case St:return this.value();case _t:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const ae=a=>a[a.length-1],As=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o{const l=r*i;e:for(const c of a.keys())if(c===P){const h=n[l-1];h<=t&&s.set(o,[a.get(c),h])}else{let h=r;for(let v=0;vt)continue e}Et(a.get(c),e,t,s,n,h,i,o+c)}};class Z{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Re(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Je(s);for(const i of n.keys())if(i!==P&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new Z(o,e)}}return new Z(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ls(this._tree,e)}entries(){return new Le(this,Ms)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return As(this._tree,e,t)}get(e){const t=Be(this._tree,e);return t!==void 0?t.get(P):void 0}has(e){const t=Be(this._tree,e);return t!==void 0&&t.has(P)}keys(){return new Le(this,_t)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,De(this._tree,e).set(P,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);return s.set(P,t(s.get(P))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);let n=s.get(P);return n===void 0&&s.set(P,n=t()),n}values(){return new Le(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new Z;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return Z.from(Object.entries(e))}}const Re=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==P&&e.startsWith(s))return t.push([a,s]),Re(a.get(s),e.slice(s.length),t);return t.push([a,e]),Re(void 0,"",t)},Be=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==P&&e.startsWith(t))return Be(a.get(t),e.slice(t.length))},De=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Re(a,e);if(t!==void 0){if(t.delete(P),t.size===0)Tt(s);else if(t.size===1){const[n,r]=t.entries().next().value;It(s,n,r)}}},Tt=a=>{if(a.length===0)return;const[e,t]=Je(a);if(e.delete(t),e.size===0)Tt(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==P&&It(a.slice(0,-1),s,n)}},It=(a,e,t)=>{if(a.length===0)return;const[s,n]=Je(a);s.set(n+e,t),s.delete(n)},Je=a=>a[a.length-1],Ue="or",kt="and",Ds="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?je:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},ze),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},ht),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},$s),e.autoSuggestOptions||{})}),this._index=new Z,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ke,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const l=this.addDocumentId(o);this.saveStoredFields(l,e);for(const c of r){const h=t(e,c);if(h==null)continue;const v=s(h.toString(),c),p=this._fieldIds[c],b=new Set(v).size;this.addFieldLength(l,p,this._documentCount-1,b);for(const y of v){const x=n(y,c);if(Array.isArray(x))for(const w of x)this.addTerm(p,l,w);else x&&this.addTerm(p,l,x)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:l},c,h)=>(o.push(c),(h+1)%s===0?{chunk:[],promise:l.then(()=>new Promise(v=>setTimeout(v,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const l=this._idToShortId.get(o);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const c of r){const h=n(e,c);if(h==null)continue;const v=t(h.toString(),c),p=this._fieldIds[c],b=new Set(v).size;this.removeFieldLength(l,p,this._documentCount,b);for(const y of v){const x=s(y,c);if(Array.isArray(x))for(const w of x)this.removeTerm(p,l,w);else x&&this.removeTerm(p,l,x)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(o),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Z,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ke,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ie(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||We.batchSize,r=e.batchWait||We.batchWait;let i=1;for(const[o,l]of this._index){for(const[c,h]of l)for(const[v]of h)this._documentIds.has(v)||(h.size<=1?l.delete(c):h.delete(v));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(c=>setTimeout(c,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||je.minDirtCount,s=s||je.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:l}]of s){const c=o.length||1,h={id:this._documentIds.get(r),score:i*c,terms:Object.keys(l),queryTerms:o,match:l};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(pt),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),l=s.get(o);l!=null?(l.score+=r,l.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:l}]of s)n.push({suggestion:r,terms:o,score:i/l});return n.sort(pt),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Ie(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(ze.hasOwnProperty(e))return Pe(ze,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=Ee(n),l._fieldLength=Ee(r),l._storedFields=Ee(i);for(const[c,h]of l._documentIds)l._idToShortId.set(h,c);for(const[c,h]of s){const v=new Map;for(const p of Object.keys(h)){let b=h[p];o===1&&(b=b.ds),v.set(parseInt(p,10),Ee(b))}l._index.set(c,v)}return l}static loadJSAsync(e,t){return Ie(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=yield Te(n),l._fieldLength=yield Te(r),l._storedFields=yield Te(i);for(const[h,v]of l._documentIds)l._idToShortId.set(v,h);let c=0;for(const[h,v]of s){const p=new Map;for(const b of Object.keys(v)){let y=v[b];o===1&&(y=y.ds),p.set(parseInt(b,10),yield Te(y))}++c%1e3===0&&(yield Nt(0)),l._index.set(h,p)}return l})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const c=new le(t);return c._documentCount=s,c._nextId=n,c._idToShortId=new Map,c._fieldIds=r,c._avgFieldLength=i,c._dirtCount=o||0,c._index=new Z,c}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const p=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),b=e.queries.map(y=>this.executeQuery(y,p));return this.combineResults(b,p.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:l}=i,v=o(e).flatMap(p=>l(p)).filter(p=>!!p).map(Vs(i)).map(p=>this.executeQuerySpec(p,i));return this.combineResults(v,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((x,w)=>Object.assign(Object.assign({},x),{[w]:Pe(s.boost,w)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:l}=s,{fuzzy:c,prefix:h}=Object.assign(Object.assign({},ht.weights),i),v=this._index.get(e.term),p=this.termResults(e.term,e.term,1,e.termBoost,v,n,r,l);let b,y;if(e.prefix&&(b=this._index.atPrefix(e.term)),e.fuzzy){const x=e.fuzzy===!0?.2:e.fuzzy,w=x<1?Math.min(o,Math.round(e.term.length*x)):x;w&&(y=this._index.fuzzyGet(e.term,w))}if(b)for(const[x,w]of b){const O=x.length-e.term.length;if(!O)continue;y==null||y.delete(x);const R=h*x.length/(x.length+.3*O);this.termResults(e.term,x,R,e.termBoost,w,n,r,l,p)}if(y)for(const x of y.keys()){const[w,O]=y.get(x);if(!O)continue;const R=c*x.length/(x.length+O);this.termResults(e.term,x,R,e.termBoost,w,n,r,l,p)}return p}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Ue){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ps[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,l,c=new Map){if(r==null)return c;for(const h of Object.keys(i)){const v=i[h],p=this._fieldIds[h],b=r.get(p);if(b==null)continue;let y=b.size;const x=this._avgFieldLength[p];for(const w of b.keys()){if(!this._documentIds.has(w)){this.removeTerm(p,w,t),y-=1;continue}const O=o?o(this._documentIds.get(w),t,this._storedFields.get(w)):1;if(!O)continue;const R=b.get(w),K=this._fieldLength.get(w)[p],G=js(R,y,this._documentCount,K,x,l),W=s*n*v*O*G,V=c.get(w);if(V){V.score+=W,Bs(V.terms,e);const $=Pe(V.match,t);$?$.push(h):V.match[t]=[h]}else c.set(w,{score:W,terms:[e],match:{[t]:[h]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,vt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,vt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Ps={[Ue]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ft(s.terms,r)}}return a},[kt]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ft(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[Ds]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},zs={k:1.2,b:.7,d:.5},js=(a,e,t,s,n,r)=>{const{k:i,b:o,d:l}=r;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(i+1)/(a+i*(1-o+o*s/n)))},Vs=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0,i=typeof a.boostTerm=="function"?a.boostTerm(e,t,s):1;return{term:e,fuzzy:n,prefix:r,termBoost:i}},ze={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ws),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},ht={combineWith:Ue,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:zs},$s={combineWith:kt,prefix:(a,e,t)=>e===t.length-1},We={batchSize:1e3,batchWait:10},Ke={minDirtFactor:.1,minDirtCount:20},je=Object.assign(Object.assign({},We),Ke),Bs=(a,e)=>{a.includes(e)||a.push(e)},ft=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},pt=({score:a},{score:e})=>e-a,vt=()=>new Map,Ee=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Te=a=>Ie(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield Nt(0));return e}),Nt=a=>new Promise(e=>setTimeout(e,a)),Ws=/[\n\r\p{Z}\p{P}]+/u;class Ks{constructor(e=10){Ce(this,"max");Ce(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const Js=["aria-owns"],Us={class:"shell"},qs=["title"],Gs={class:"search-actions before"},Hs=["title"],Qs=["placeholder"],Ys={class:"search-actions"},Zs=["title"],Xs=["disabled","title"],en=["id","role","aria-labelledby"],tn=["aria-selected"],sn=["href","aria-label","onMouseenter","onFocusin"],nn={class:"titles"},rn=["innerHTML"],an={class:"title main"},on=["innerHTML"],ln={key:0,class:"excerpt-wrapper"},cn={key:0,class:"excerpt",inert:""},un=["innerHTML"],dn={key:0,class:"no-results"},hn={class:"search-keyboard-shortcuts"},fn=["aria-label"],pn=["aria-label"],vn=["aria-label"],mn=["aria-label"],gn=At({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var N,F;const t=e,s=we(),n=we(),r=we(ns),i=ts(),{activate:o}=Os(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=i,h=tt(async()=>{var m,f,T,A,C,M,I,L,j;return rt(le.loadJSON((T=await((f=(m=r.value)[l.value])==null?void 0:f.call(m)))==null?void 0:T.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((A=c.value.search)==null?void 0:A.provider)==="local"&&((M=(C=c.value.search.options)==null?void 0:C.miniSearch)==null?void 0:M.searchOptions)},...((I=c.value.search)==null?void 0:I.provider)==="local"&&((j=(L=c.value.search.options)==null?void 0:L.miniSearch)==null?void 0:j.options)}))}),p=pe(()=>{var m,f;return((m=c.value.search)==null?void 0:m.provider)==="local"&&((f=c.value.search.options)==null?void 0:f.disableQueryPersistence)===!0}).value?se(""):Lt("vitepress:local-search-filter",""),b=Dt("vitepress:local-search-detailed-list",((N=c.value.search)==null?void 0:N.provider)==="local"&&((F=c.value.search.options)==null?void 0:F.detailedView)===!0),y=pe(()=>{var m,f,T;return((m=c.value.search)==null?void 0:m.provider)==="local"&&(((f=c.value.search.options)==null?void 0:f.disableDetailedView)===!0||((T=c.value.search.options)==null?void 0:T.detailedView)===!1)}),x=pe(()=>{var f,T,A,C,M,I,L;const m=((f=c.value.search)==null?void 0:f.options)??c.value.algolia;return((M=(C=(A=(T=m==null?void 0:m.locales)==null?void 0:T[l.value])==null?void 0:A.translations)==null?void 0:C.button)==null?void 0:M.buttonText)||((L=(I=m==null?void 0:m.translations)==null?void 0:I.button)==null?void 0:L.buttonText)||"Search"});Pt(()=>{y.value&&(b.value=!1)});const w=we([]),O=se(!1);Ve(p,()=>{O.value=!1});const R=tt(async()=>{if(n.value)return rt(new Cs(n.value))},null),K=new Ks(16);zt(()=>[h.value,p.value,b.value],async([m,f,T],A,C)=>{var ge,qe,Ge,He;(A==null?void 0:A[0])!==m&&K.clear();let M=!1;if(C(()=>{M=!0}),!m)return;w.value=m.search(f).slice(0,16),O.value=!0;const I=T?await Promise.all(w.value.map(B=>G(B.id))):[];if(M)return;for(const{id:B,mod:X}of I){const ee=B.slice(0,B.indexOf("#"));let Q=K.get(ee);if(Q)continue;Q=new Map,K.set(ee,Q);const U=X.default??X;if(U!=null&&U.render||U!=null&&U.setup){const te=Qt(U);te.config.warnHandler=()=>{},te.provide(Yt,i),Object.defineProperties(te.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Qe=document.createElement("div");te.mount(Qe),Qe.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ce=>{var Xe;const be=(Xe=ce.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(be==null?void 0:be.startsWith("#"))&&be.slice(1);if(!Ye)return;let Ze="";for(;(ce=ce.nextElementSibling)&&!/^h[1-6]$/i.test(ce.tagName);)Ze+=ce.outerHTML;Q.set(Ye,Ze)}),te.unmount()}if(M)return}const L=new Set;if(w.value=w.value.map(B=>{const[X,ee]=B.id.split("#"),Q=K.get(X),U=(Q==null?void 0:Q.get(ee))??"";for(const te in B.match)L.add(te);return{...B,text:U}}),await ue(),M)return;await new Promise(B=>{var X;(X=R.value)==null||X.unmark({done:()=>{var ee;(ee=R.value)==null||ee.markRegExp(E(L),{done:B})}})});const j=((ge=s.value)==null?void 0:ge.querySelectorAll(".result .excerpt"))??[];for(const B of j)(qe=B.querySelector('mark[data-markjs="true"]'))==null||qe.scrollIntoView({block:"center"});(He=(Ge=n.value)==null?void 0:Ge.firstElementChild)==null||He.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function G(m){const f=Zt(m.slice(0,m.indexOf("#")));try{if(!f)throw new Error(`Cannot find file for id: ${m}`);return{id:m,mod:await import(f)}}catch(T){return console.error(T),{id:m,mod:{}}}}const W=se(),V=pe(()=>{var m;return((m=p.value)==null?void 0:m.length)<=0});function $(m=!0){var f,T;(f=W.value)==null||f.focus(),m&&((T=W.value)==null||T.select())}Me(()=>{$()});function me(m){m.pointerType==="mouse"&&$()}const z=se(-1),H=se(!1);Ve(w,m=>{z.value=m.length?0:-1,J()});function J(){ue(()=>{const m=document.querySelector(".result.selected");m==null||m.scrollIntoView({block:"nearest"})})}xe("ArrowUp",m=>{m.preventDefault(),z.value--,z.value<0&&(z.value=w.value.length-1),H.value=!0,J()}),xe("ArrowDown",m=>{m.preventDefault(),z.value++,z.value>=w.value.length&&(z.value=0),H.value=!0,J()});const k=jt();xe("Enter",m=>{if(m.isComposing||m.target instanceof HTMLButtonElement&&m.target.type!=="submit")return;const f=w.value[z.value];if(m.target instanceof HTMLInputElement&&!f){m.preventDefault();return}f&&(k.go(f.id),t("close"))}),xe("Escape",()=>{t("close")});const u=ss({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Me(()=>{window.history.pushState(null,"",null)}),Vt("popstate",m=>{m.preventDefault(),t("close")});const g=$t(Bt?document.body:null);Me(()=>{ue(()=>{g.value=!0,ue().then(()=>o())})}),Wt(()=>{g.value=!1});function S(){p.value="",ue().then(()=>$(!1))}function E(m){return new RegExp([...m].sort((f,T)=>T.length-f.length).map(f=>`(${Xt(f)})`).join("|"),"gi")}return(m,f)=>{var T,A,C,M;return q(),Kt(Ht,{to:"body"},[_("div",{ref_key:"el",ref:s,role:"button","aria-owns":(T=w.value)!=null&&T.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[_("div",{class:"backdrop",onClick:f[0]||(f[0]=I=>m.$emit("close"))}),_("div",Us,[_("form",{class:"search-bar",onPointerup:f[4]||(f[4]=I=>me(I)),onSubmit:f[5]||(f[5]=Jt(()=>{},["prevent"]))},[_("label",{title:x.value,id:"localsearch-label",for:"localsearch-input"},f[8]||(f[8]=[_("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)]),8,qs),_("div",Gs,[_("button",{class:"back-button",title:D(u)("modal.backButtonTitle"),onClick:f[1]||(f[1]=I=>m.$emit("close"))},f[9]||(f[9]=[_("span",{class:"vpi-arrow-left local-search-icon"},null,-1)]),8,Hs)]),Ut(_("input",{ref_key:"searchInput",ref:W,"onUpdate:modelValue":f[2]||(f[2]=I=>Gt(p)?p.value=I:null),placeholder:x.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,Qs),[[qt,D(p)]]),_("div",Ys,[y.value?_e("",!0):(q(),Y("button",{key:0,class:st(["toggle-layout-button",{"detailed-list":D(b)}]),type:"button",title:D(u)("modal.displayDetails"),onClick:f[3]||(f[3]=I=>z.value>-1&&(b.value=!D(b)))},f[10]||(f[10]=[_("span",{class:"vpi-layout-list local-search-icon"},null,-1)]),10,Zs)),_("button",{class:"clear-button",type:"reset",disabled:V.value,title:D(u)("modal.resetButtonTitle"),onClick:S},f[11]||(f[11]=[_("span",{class:"vpi-delete local-search-icon"},null,-1)]),8,Xs)])],32),_("ul",{ref_key:"resultsEl",ref:n,id:(A=w.value)!=null&&A.length?"localsearch-list":void 0,role:(C=w.value)!=null&&C.length?"listbox":void 0,"aria-labelledby":(M=w.value)!=null&&M.length?"localsearch-label":void 0,class:"results",onMousemove:f[7]||(f[7]=I=>H.value=!1)},[(q(!0),Y(it,null,nt(w.value,(I,L)=>(q(),Y("li",{key:I.id,role:"option","aria-selected":z.value===L?"true":"false"},[_("a",{href:I.id,class:st(["result",{selected:z.value===L}]),"aria-label":[...I.titles,I.title].join(" > "),onMouseenter:j=>!H.value&&(z.value=L),onFocusin:j=>z.value=L,onClick:f[6]||(f[6]=j=>m.$emit("close"))},[_("div",null,[_("div",nn,[f[13]||(f[13]=_("span",{class:"title-icon"},"#",-1)),(q(!0),Y(it,null,nt(I.titles,(j,ge)=>(q(),Y("span",{key:ge,class:"title"},[_("span",{class:"text",innerHTML:j},null,8,rn),f[12]||(f[12]=_("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),_("span",an,[_("span",{class:"text",innerHTML:I.title},null,8,on)])]),D(b)?(q(),Y("div",ln,[I.text?(q(),Y("div",cn,[_("div",{class:"vp-doc",innerHTML:I.text},null,8,un)])):_e("",!0),f[14]||(f[14]=_("div",{class:"excerpt-gradient-bottom"},null,-1)),f[15]||(f[15]=_("div",{class:"excerpt-gradient-top"},null,-1))])):_e("",!0)])],42,sn)],8,tn))),128)),D(p)&&!w.value.length&&O.value?(q(),Y("li",dn,[de(he(D(u)("modal.noResultsText"))+' "',1),_("strong",null,he(D(p)),1),f[16]||(f[16]=de('" '))])):_e("",!0)],40,en),_("div",hn,[_("span",null,[_("kbd",{"aria-label":D(u)("modal.footer.navigateUpKeyAriaLabel")},f[17]||(f[17]=[_("span",{class:"vpi-arrow-up navigate-icon"},null,-1)]),8,fn),_("kbd",{"aria-label":D(u)("modal.footer.navigateDownKeyAriaLabel")},f[18]||(f[18]=[_("span",{class:"vpi-arrow-down navigate-icon"},null,-1)]),8,pn),de(" "+he(D(u)("modal.footer.navigateText")),1)]),_("span",null,[_("kbd",{"aria-label":D(u)("modal.footer.selectKeyAriaLabel")},f[19]||(f[19]=[_("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)]),8,vn),de(" "+he(D(u)("modal.footer.selectText")),1)]),_("span",null,[_("kbd",{"aria-label":D(u)("modal.footer.closeKeyAriaLabel")},"esc",8,mn),de(" "+he(D(u)("modal.footer.closeText")),1)])])])],8,Js)])}}}),Sn=es(gn,[["__scopeId","data-v-40ea83c9"]]);export{Sn as default}; diff --git a/assets/chunks/framework.C9NVOr0y.js b/assets/chunks/framework.C9NVOr0y.js new file mode 100644 index 00000000..dd799845 --- /dev/null +++ b/assets/chunks/framework.C9NVOr0y.js @@ -0,0 +1,18 @@ +/** +* @vue/shared v3.5.11 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Hr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Z={},Tt=[],Ue=()=>{},Jo=()=>!1,Zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$r=e=>e.startsWith("onUpdate:"),fe=Object.assign,Dr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zo=Object.prototype.hasOwnProperty,z=(e,t)=>zo.call(e,t),K=Array.isArray,Ct=e=>Hn(e)==="[object Map]",fi=e=>Hn(e)==="[object Set]",q=e=>typeof e=="function",se=e=>typeof e=="string",rt=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",ui=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),di=Object.prototype.toString,Hn=e=>di.call(e),Qo=e=>Hn(e).slice(8,-1),hi=e=>Hn(e)==="[object Object]",jr=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Hr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zo=/-(\w)/g,Ie=$n(e=>e.replace(Zo,(t,n)=>n?n.toUpperCase():"")),el=/\B([A-Z])/g,st=$n(e=>e.replace(el,"-$1").toLowerCase()),Dn=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),wn=$n(e=>e?`on${Dn(e)}`:""),tt=(e,t)=>!Object.is(e,t),Sn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},tl=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let ds;const gi=()=>ds||(ds=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vr(e){if(K(e)){const t={};for(let n=0;n{if(n){const r=n.split(rl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ur(e){let t="";if(se(e))t=e;else if(K(e))for(let n=0;n!!(e&&e.__v_isRef===!0),cl=e=>se(e)?e:e==null?"":K(e)||ne(e)&&(e.toString===di||!q(e.toString))?yi(e)?cl(e.value):JSON.stringify(e,vi,2):String(e),vi=(e,t)=>yi(t)?vi(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[er(r,i)+" =>"]=s,n),{})}:fi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>er(n))}:rt(t)?er(t):ne(t)&&!K(t)&&!hi(t)?String(t):t,er=(e,t="")=>{var n;return rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.11 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let _e;class al{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(jt){let t=jt;for(jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Dt;){let t=Dt;for(Dt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ei(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xi(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Wr(r),ul(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Er(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ti(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ti(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Er(e)){e.flags&=-3;return}const n=te,r=Ne;te=e,Ne=!0;try{Ei(e);const s=e.fn(e._value);(t.version===0||tt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{te=n,Ne=r,xi(e),e.flags&=-3}}function Wr(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Wr(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ul(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const Ci=[];function it(){Ci.push(Ne),Ne=!1}function ot(){const e=Ci.pop();Ne=e===void 0?!0:e}function hs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Kt=0;class dl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class jn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Ne||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new dl(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,Ai(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=r)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Br();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{kr()}}}function Ai(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ai(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Rn=new WeakMap,ht=Symbol(""),xr=Symbol(""),qt=Symbol("");function ve(e,t,n){if(Ne&&te){let r=Rn.get(e);r||Rn.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new jn),s.map=r,s.key=n),s.track()}}function Ge(e,t,n,r,s,i){const o=Rn.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(Br(),t==="clear")o.forEach(l);else{const c=K(e),f=c&&jr(n);if(c&&n==="length"){const a=Number(r);o.forEach((h,g)=>{(g==="length"||g===qt||!rt(g)&&g>=a)&&l(h)})}else switch(n!==void 0&&l(o.get(n)),f&&l(o.get(qt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(ht)),Ct(e)&&l(o.get(xr)));break;case"delete":c||(l(o.get(ht)),Ct(e)&&l(o.get(xr)));break;case"set":Ct(e)&&l(o.get(ht));break}}kr()}function hl(e,t){const n=Rn.get(e);return n&&n.get(t)}function _t(e){const t=J(e);return t===e?t:(ve(t,"iterate",qt),Pe(e)?t:t.map(me))}function Vn(e){return ve(e=J(e),"iterate",qt),e}const pl={__proto__:null,[Symbol.iterator](){return nr(this,Symbol.iterator,me)},concat(...e){return _t(this).concat(...e.map(t=>K(t)?_t(t):t))},entries(){return nr(this,"entries",e=>(e[1]=me(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(me),arguments)},find(e,t){return We(this,"find",e,t,me,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,me,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return rr(this,"includes",e)},indexOf(...e){return rr(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return rr(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return ps(this,"reduce",e,t)},reduceRight(e,...t){return ps(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return nr(this,"values",me)}};function nr(e,t,n){const r=Vn(e),s=r[t]();return r!==e&&!Pe(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const gl=Array.prototype;function We(e,t,n,r,s,i){const o=Vn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==gl[t]){const h=c.apply(e,i);return l?me(h):h}let f=n;o!==e&&(l?f=function(h,g){return n.call(this,me(h),g,e)}:n.length>2&&(f=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,f,r);return l&&s?s(a):a}function ps(e,t,n,r){const s=Vn(e);let i=n;return s!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,me(l),c,e)}),s[t](i,...r)}function rr(e,t,n){const r=J(e);ve(r,"iterate",qt);const s=r[t](...n);return(s===-1||s===!1)&&Yr(n[0])?(n[0]=J(n[0]),r[t](...n)):s}function Ft(e,t,n=[]){it(),Br();const r=J(e)[t].apply(e,n);return kr(),ot(),r}const ml=Hr("__proto__,__v_isRef,__isVue"),Ri=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function yl(e){rt(e)||(e=String(e));const t=J(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Oi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Ml:Li:i?Ii:Pi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=K(t);if(!s){let c;if(o&&(c=pl[n]))return c;if(n==="hasOwnProperty")return yl}const l=Reflect.get(t,n,ae(t)?t:r);return(rt(n)?Ri.has(n):ml(n))||(s||ve(t,"get",n),i)?l:ae(l)?o&&jr(n)?l:l.value:ne(l)?s?kn(l):Bn(l):l}}class Mi extends Oi{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Pe(r)&&!vt(r)&&(i=J(i),r=J(r)),!K(t)&&ae(i)&&!ae(r))return c?!1:(i.value=r,!0)}const o=K(t)&&jr(n)?Number(n)e,Un=e=>Reflect.getPrototypeOf(e);function cn(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),i=J(t);n||(tt(t,i)&&ve(s,"get",t),ve(s,"get",i));const{has:o}=Un(s),l=r?Kr:n?Xr:me;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function an(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(tt(e,s)&&ve(r,"has",e),ve(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function fn(e,t=!1){return e=e.__v_raw,!t&&ve(J(e),"iterate",ht),Reflect.get(e,"size",e)}function gs(e,t=!1){!t&&!Pe(e)&&!vt(e)&&(e=J(e));const n=J(this);return Un(n).has.call(n,e)||(n.add(e),Ge(n,"add",e,e)),this}function ms(e,t,n=!1){!n&&!Pe(t)&&!vt(t)&&(t=J(t));const r=J(this),{has:s,get:i}=Un(r);let o=s.call(r,e);o||(e=J(e),o=s.call(r,e));const l=i.call(r,e);return r.set(e,t),o?tt(t,l)&&Ge(r,"set",e,t):Ge(r,"add",e,t),this}function ys(e){const t=J(this),{has:n,get:r}=Un(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Ge(t,"delete",e,void 0),i}function vs(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function un(e,t){return function(r,s){const i=this,o=i.__v_raw,l=J(o),c=t?Kr:e?Xr:me;return!e&&ve(l,"iterate",ht),o.forEach((f,a)=>r.call(s,c(f),c(a),i))}}function dn(e,t,n){return function(...r){const s=this.__v_raw,i=J(s),o=Ct(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=s[e](...r),a=n?Kr:t?Xr:me;return!t&&ve(i,"iterate",c?xr:ht),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function Xe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Sl(){const e={get(i){return cn(this,i)},get size(){return fn(this)},has:an,add:gs,set:ms,delete:ys,clear:vs,forEach:un(!1,!1)},t={get(i){return cn(this,i,!1,!0)},get size(){return fn(this)},has:an,add(i){return gs.call(this,i,!0)},set(i,o){return ms.call(this,i,o,!0)},delete:ys,clear:vs,forEach:un(!1,!0)},n={get(i){return cn(this,i,!0)},get size(){return fn(this,!0)},has(i){return an.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:un(!0,!1)},r={get(i){return cn(this,i,!0,!0)},get size(){return fn(this,!0)},has(i){return an.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:un(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=dn(i,!1,!1),n[i]=dn(i,!0,!1),t[i]=dn(i,!1,!0),r[i]=dn(i,!0,!0)}),[e,n,t,r]}const[El,xl,Tl,Cl]=Sl();function qr(e,t){const n=t?e?Cl:Tl:e?xl:El;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,i)}const Al={get:qr(!1,!1)},Rl={get:qr(!1,!0)},Ol={get:qr(!0,!1)};const Pi=new WeakMap,Ii=new WeakMap,Li=new WeakMap,Ml=new WeakMap;function Pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Il(e){return e.__v_skip||!Object.isExtensible(e)?0:Pl(Qo(e))}function Bn(e){return vt(e)?e:Gr(e,!1,bl,Al,Pi)}function Ll(e){return Gr(e,!1,wl,Rl,Ii)}function kn(e){return Gr(e,!0,_l,Ol,Li)}function Gr(e,t,n,r,s){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Il(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function pt(e){return vt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Yr(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function En(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&pi(e,"__v_skip",!0),e}const me=e=>ne(e)?Bn(e):e,Xr=e=>ne(e)?kn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function oe(e){return Ni(e,!1)}function Jr(e){return Ni(e,!0)}function Ni(e,t){return ae(e)?e:new Nl(e,t)}class Nl{constructor(t,n){this.dep=new jn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Pe(t)||vt(t);t=r?t:J(t),tt(t,n)&&(this._rawValue=t,this._value=r?t:me(t),this.dep.trigger())}}function Fi(e){return ae(e)?e.value:e}const Fl={get:(e,t,n)=>t==="__v_raw"?e:Fi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Hi(e){return pt(e)?e:new Proxy(e,Fl)}class Hl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new jn,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function $l(e){return new Hl(e)}class Dl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return hl(J(this._object),this._key)}}class jl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Vl(e,t,n){return ae(e)?e:q(e)?new jl(e):ne(e)&&arguments.length>1?Ul(e,t,n):oe(e)}function Ul(e,t,n){const r=e[t];return ae(r)?r:new Dl(e,t,n)}class Bl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return Si(this,!0),!0}get value(){const t=this.dep.track();return Ti(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function kl(e,t,n=!1){let r,s;return q(e)?r=e:(r=e.get,s=e.set),new Bl(r,s,n)}const hn={},On=new WeakMap;let ut;function Wl(e,t=!1,n=ut){if(n){let r=On.get(n);r||On.set(n,r=[]),r.push(e)}}function Kl(e,t,n=Z){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:c}=n,f=m=>s?m:Pe(m)||s===!1||s===0?qe(m,1):qe(m);let a,h,g,v,_=!1,S=!1;if(ae(e)?(h=()=>e.value,_=Pe(e)):pt(e)?(h=()=>f(e),_=!0):K(e)?(S=!0,_=e.some(m=>pt(m)||Pe(m)),h=()=>e.map(m=>{if(ae(m))return m.value;if(pt(m))return f(m);if(q(m))return c?c(m,2):m()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){it();try{g()}finally{ot()}}const m=ut;ut=a;try{return c?c(e,3,[v]):e(v)}finally{ut=m}}:h=Ue,t&&s){const m=h,M=s===!0?1/0:s;h=()=>qe(m(),M)}const U=bi(),N=()=>{a.stop(),U&&Dr(U.effects,a)};if(i&&t){const m=t;t=(...M)=>{m(...M),N()}}let B=S?new Array(e.length).fill(hn):hn;const p=m=>{if(!(!(a.flags&1)||!a.dirty&&!m))if(t){const M=a.run();if(s||_||(S?M.some((F,$)=>tt(F,B[$])):tt(M,B))){g&&g();const F=ut;ut=a;try{const $=[M,B===hn?void 0:S&&B[0]===hn?[]:B,v];c?c(t,3,$):t(...$),B=M}finally{ut=F}}}else a.run()};return l&&l(p),a=new _i(h),a.scheduler=o?()=>o(p,!1):p,v=m=>Wl(m,!1,a),g=a.onStop=()=>{const m=On.get(a);if(m){if(c)c(m,4);else for(const M of m)M();On.delete(a)}},t?r?p(!0):B=a.run():o?o(p.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function qe(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ae(e))qe(e.value,t,n);else if(K(e))for(let r=0;r{qe(r,t,n)});else if(hi(e)){for(const r in e)qe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&qe(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.11 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function en(e,t,n,r){try{return r?e(...r):e()}catch(s){tn(s,t,n)}}function Fe(e,t,n,r){if(q(e)){const s=en(e,t,n,r);return s&&ui(s)&&s.catch(i=>{tn(i,t,n)}),s}if(K(e)){const s=[];for(let i=0;i>>1,s=we[r],i=Gt(s);i=Gt(n)?we.push(e):we.splice(Gl(t),0,e),e.flags|=1,Di()}}function Di(){Mn||(Mn=$i.then(ji))}function Yl(e){K(e)?Rt.push(...e):Qe&&e.id===-1?Qe.splice(St+1,0,e):e.flags&1||(Rt.push(e),e.flags|=1),Di()}function bs(e,t,n=je+1){for(;nGt(n)-Gt(r));if(Rt.length=0,Qe){Qe.push(...t);return}for(Qe=t,St=0;Ste.id==null?e.flags&2?-1:1/0:e.id;function ji(e){try{for(je=0;je{r._d&&Ls(-1);const i=In(t);let o;try{o=e(...s)}finally{In(i),r._d&&Ls(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Pf(e,t){if(de===null)return e;const n=Jn(de),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),Jl=e=>e&&(e.defer||e.defer===""),_s=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ws=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Tr=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},zl={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,l,c,f){const{mc:a,pc:h,pbc:g,o:{insert:v,querySelector:_,createText:S,createComment:U}}=f,N=Vt(t.props);let{shapeFlag:B,children:p,dynamicChildren:m}=t;if(e==null){const M=t.el=S(""),F=t.anchor=S("");v(M,n,r),v(F,n,r);const $=(R,b)=>{B&16&&(s&&s.isCE&&(s.ce._teleportTarget=R),a(p,R,b,s,i,o,l,c))},j=()=>{const R=t.target=Tr(t.props,_),b=ki(R,t,S,v);R&&(o!=="svg"&&_s(R)?o="svg":o!=="mathml"&&ws(R)&&(o="mathml"),N||($(R,b),xn(t)))};N&&($(n,F),xn(t)),Jl(t.props)?Ee(j,i):j()}else{t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,F=t.target=e.target,$=t.targetAnchor=e.targetAnchor,j=Vt(e.props),R=j?n:F,b=j?M:$;if(o==="svg"||_s(F)?o="svg":(o==="mathml"||ws(F))&&(o="mathml"),m?(g(e.dynamicChildren,m,R,s,i,o,l),ns(e,t,!0)):c||h(e,t,R,b,s,i,o,l,!1),N)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):pn(t,n,M,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=Tr(t.props,_);L&&pn(t,L,null,f,0)}else j&&pn(t,F,$,f,1);xn(t)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:h,props:g}=e;if(h&&(s(f),s(a)),i&&s(c),o&16){const v=i||!Vt(g);for(let _=0;_{e.isMounted=!0}),Ji(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Wi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Ki=e=>{const t=e.subTree;return t.component?Ki(t.component):t},ec={name:"BaseTransition",props:Wi,setup(e,{slots:t}){const n=Xn(),r=Zl();return()=>{const s=t.default&&Yi(t.default(),!0);if(!s||!s.length)return;const i=qi(s),o=J(e),{mode:l}=o;if(r.isLeaving)return sr(i);const c=Ss(i);if(!c)return sr(i);let f=Cr(c,o,r,n,g=>f=g);c.type!==ye&&Yt(c,f);const a=n.subTree,h=a&&Ss(a);if(h&&h.type!==ye&&!dt(c,h)&&Ki(n).type!==ye){const g=Cr(h,o,r,n);if(Yt(h,g),l==="out-in"&&c.type!==ye)return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},sr(i);l==="in-out"&&c.type!==ye&&(g.delayLeave=(v,_,S)=>{const U=Gi(r,h);U[String(h.key)]=h,v[Ze]=()=>{_(),v[Ze]=void 0,delete f.delayedLeave},f.delayedLeave=S})}return i}}};function qi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const tc=ec;function Gi(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Cr(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:g,onLeave:v,onAfterLeave:_,onLeaveCancelled:S,onBeforeAppear:U,onAppear:N,onAfterAppear:B,onAppearCancelled:p}=t,m=String(e.key),M=Gi(n,e),F=(R,b)=>{R&&Fe(R,r,9,b)},$=(R,b)=>{const L=b[1];F(R,b),K(R)?R.every(x=>x.length<=1)&&L():R.length<=1&&L()},j={mode:o,persisted:l,beforeEnter(R){let b=c;if(!n.isMounted)if(i)b=U||c;else return;R[Ze]&&R[Ze](!0);const L=M[m];L&&dt(e,L)&&L.el[Ze]&&L.el[Ze](),F(b,[R])},enter(R){let b=f,L=a,x=h;if(!n.isMounted)if(i)b=N||f,L=B||a,x=p||h;else return;let W=!1;const re=R[gn]=ce=>{W||(W=!0,ce?F(x,[R]):F(L,[R]),j.delayedLeave&&j.delayedLeave(),R[gn]=void 0)};b?$(b,[R,re]):re()},leave(R,b){const L=String(e.key);if(R[gn]&&R[gn](!0),n.isUnmounting)return b();F(g,[R]);let x=!1;const W=R[Ze]=re=>{x||(x=!0,b(),re?F(S,[R]):F(_,[R]),R[Ze]=void 0,M[L]===e&&delete M[L])};M[L]=e,v?$(v,[R,W]):W()},clone(R){const b=Cr(R,t,n,r,s);return s&&s(b),b}};return j}function sr(e){if(nn(e))return e=nt(e),e.children=null,e}function Ss(e){if(!nn(e))return Bi(e.type)&&e.children?qi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function Yt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Yi(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iLn(_,t&&(K(t)?t[S]:t),n,r,s));return}if(gt(r)&&!s)return;const i=r.shapeFlag&4?Jn(r.component):r.el,o=s?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,h=l.setupState,g=J(h),v=h===Z?()=>!1:_=>z(g,_);if(f!=null&&f!==c&&(se(f)?(a[f]=null,v(f)&&(h[f]=null)):ae(f)&&(f.value=null)),q(c))en(c,l,12,[o,a]);else{const _=se(c),S=ae(c);if(_||S){const U=()=>{if(e.f){const N=_?v(c)?h[c]:a[c]:c.value;s?K(N)&&Dr(N,i):K(N)?N.includes(i)||N.push(i):_?(a[c]=[i],v(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else _?(a[c]=o,v(c)&&(h[c]=o)):S&&(c.value=o,e.k&&(a[e.k]=o))};o?(U.id=-1,Ee(U,n)):U()}}}let Es=!1;const wt=()=>{Es||(console.error("Hydration completed but contains mismatches."),Es=!0)},nc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",rc=e=>e.namespaceURI.includes("MathML"),mn=e=>{if(e.nodeType===1){if(nc(e))return"svg";if(rc(e))return"mathml"}},xt=e=>e.nodeType===8;function sc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),Pn(),m._vnode=p;return}h(m.firstChild,p,null,null,null),Pn(),m._vnode=p},h=(p,m,M,F,$,j=!1)=>{j=j||!!m.dynamicChildren;const R=xt(p)&&p.data==="[",b=()=>S(p,m,M,F,$,R),{type:L,ref:x,shapeFlag:W,patchFlag:re}=m;let ce=p.nodeType;m.el=p,re===-2&&(j=!1,m.dynamicChildren=null);let V=null;switch(L){case mt:ce!==3?m.children===""?(c(m.el=s(""),o(p),p),V=p):V=b():(p.data!==m.children&&(wt(),p.data=m.children),V=i(p));break;case ye:B(p)?(V=i(p),N(m.el=p.content.firstChild,p,M)):ce!==8||R?V=b():V=i(p);break;case Bt:if(R&&(p=i(p),ce=p.nodeType),ce===1||ce===3){V=p;const Y=!m.children.length;for(let D=0;D{j=j||!!m.dynamicChildren;const{type:R,props:b,patchFlag:L,shapeFlag:x,dirs:W,transition:re}=m,ce=R==="input"||R==="option";if(ce||L!==-1){W&&Ve(m,null,M,"created");let V=!1;if(B(p)){V=po(F,re)&&M&&M.vnode.props&&M.vnode.props.appear;const D=p.content.firstChild;V&&re.beforeEnter(D),N(D,p,M),m.el=p=D}if(x&16&&!(b&&(b.innerHTML||b.textContent))){let D=v(p.firstChild,m,p,M,F,$,j);for(;D;){yn(p,1)||wt();const he=D;D=D.nextSibling,l(he)}}else if(x&8){let D=m.children;D[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(D=D.slice(1)),p.textContent!==D&&(yn(p,0)||wt(),p.textContent=m.children)}if(b){if(ce||!j||L&48){const D=p.tagName.includes("-");for(const he in b)(ce&&(he.endsWith("value")||he==="indeterminate")||Zt(he)&&!At(he)||he[0]==="."||D)&&r(p,he,null,b[he],void 0,M)}else if(b.onClick)r(p,"onClick",null,b.onClick,void 0,M);else if(L&4&&pt(b.style))for(const D in b.style)b.style[D]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Oe(Y,M,m),W&&Ve(m,null,M,"beforeMount"),((Y=b&&b.onVnodeMounted)||W||V)&&bo(()=>{Y&&Oe(Y,M,m),V&&re.enter(p),W&&Ve(m,null,M,"mounted")},F)}return p.nextSibling},v=(p,m,M,F,$,j,R)=>{R=R||!!m.dynamicChildren;const b=m.children,L=b.length;for(let x=0;x{const{slotScopeIds:R}=m;R&&($=$?$.concat(R):R);const b=o(p),L=v(i(p),m,b,M,F,$,j);return L&&xt(L)&&L.data==="]"?i(m.anchor=L):(wt(),c(m.anchor=f("]"),b,L),L)},S=(p,m,M,F,$,j)=>{if(yn(p.parentElement,1)||wt(),m.el=null,j){const L=U(p);for(;;){const x=i(p);if(x&&x!==L)l(x);else break}}const R=i(p),b=o(p);return l(p),n(null,m,b,R,M,F,mn(b),$),R},U=(p,m="[",M="]")=>{let F=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===m&&F++,p.data===M)){if(F===0)return i(p);F--}return p},N=(p,m,M)=>{const F=m.parentNode;F&&F.replaceChild(p,m);let $=M;for(;$;)$.vnode.el===m&&($.vnode.el=$.subTree.el=p),$=$.parent},B=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const xs="data-allow-mismatch",ic={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function yn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(xs);)e=e.parentElement;const n=e&&e.getAttribute(xs);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(ic[t])}}function oc(e,t){if(xt(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(xt(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const gt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Lf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,h=0;const g=()=>(h++,f=null,v()),v=()=>{let _;return f||(_=f=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),c)return new Promise((U,N)=>{c(S,()=>U(g()),()=>N(S),h+1)});throw S}).then(S=>_!==f&&f?f:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),a=S,S)))};return Qr({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(_,S,U){const N=i?()=>{const B=i(U,p=>oc(_,p));B&&(S.bum||(S.bum=[])).push(B)}:U;a?N():v().then(()=>!S.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const _=ue;if(Zr(_),a)return()=>ir(a,_);const S=p=>{f=null,tn(p,_,13,!r)};if(l&&_.suspense||sn)return v().then(p=>()=>ir(p,_)).catch(p=>(S(p),()=>r?le(r,{error:p}):null));const U=oe(!1),N=oe(),B=oe(!!s);return s&&setTimeout(()=>{B.value=!1},s),o!=null&&setTimeout(()=>{if(!U.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);S(p),N.value=p}},o),v().then(()=>{U.value=!0,_.parent&&nn(_.parent.vnode)&&_.parent.update()}).catch(p=>{S(p),N.value=p}),()=>{if(U.value&&a)return ir(a,_);if(N.value&&r)return le(r,{error:N.value});if(n&&!B.value)return le(n)}}})}function ir(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=le(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const nn=e=>e.type.__isKeepAlive;function lc(e,t){Xi(e,"a",t)}function cc(e,t){Xi(e,"da",t)}function Xi(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Kn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)nn(s.parent.vnode)&&ac(r,t,n,s),s=s.parent}}function ac(e,t,n,r){const s=Kn(t,e,r,!0);qn(()=>{Dr(r[t],s)},n)}function Kn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=rn(n),c=Fe(t,n,e,o);return l(),ot(),c});return r?s.unshift(i):s.push(i),i}}const Ye=e=>(t,n=ue)=>{(!sn||e==="sp")&&Kn(e,(...r)=>t(...r),n)},fc=Ye("bm"),It=Ye("m"),uc=Ye("bu"),dc=Ye("u"),Ji=Ye("bum"),qn=Ye("um"),hc=Ye("sp"),pc=Ye("rtg"),gc=Ye("rtc");function mc(e,t=ue){Kn("ec",e,t)}const zi="components";function Nf(e,t){return Zi(zi,e,!0,t)||e}const Qi=Symbol.for("v-ndc");function Ff(e){return se(e)?Zi(zi,e,!1)||e:e||Qi}function Zi(e,t,n=!0,r=!1){const s=de||ue;if(s){const i=s.type;{const l=ta(i,!1);if(l&&(l===t||l===Ie(t)||l===Dn(Ie(t))))return i}const o=Ts(s[e]||i[e],t)||Ts(s.appContext[e],t);return!o&&r?i:o}}function Ts(e,t){return e&&(e[t]||e[Ie(t)]||e[Dn(Ie(t))])}function Hf(e,t,n,r){let s;const i=n,o=K(e);if(o||se(e)){const l=o&&pt(e);let c=!1;l&&(c=!Pe(e),e=Vn(e)),s=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,f=l.length;cJt(t)?!(t.type===ye||t.type===Se&&!eo(t.children)):!0)?e:null}function Df(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:wn(r)]=e[r];return n}const Ar=e=>e?xo(e)?Jn(e):Ar(e.parent):null,Ut=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ar(e.parent),$root:e=>Ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>es(e),$forceUpdate:e=>e.f||(e.f=()=>{zr(e.update)}),$nextTick:e=>e.n||(e.n=Wn.bind(e.proxy)),$watch:e=>Dc.bind(e)}),or=(e,t)=>e!==Z&&!e.__isScriptSetup&&z(e,t),yc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(or(r,t))return o[t]=1,r[t];if(s!==Z&&z(s,t))return o[t]=2,s[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==Z&&z(n,t))return o[t]=4,n[t];Rr&&(o[t]=0)}}const a=Ut[t];let h,g;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Z&&z(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,z(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return or(s,t)?(s[t]=n,!0):r!==Z&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==Z&&z(e,o)||or(t,o)||(l=i[0])&&z(l,o)||z(r,o)||z(Ut,o)||z(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function jf(){return vc().slots}function vc(){const e=Xn();return e.setupContext||(e.setupContext=Co(e))}function Cs(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Rr=!0;function bc(e){const t=es(e),n=e.proxy,r=e.ctx;Rr=!1,t.beforeCreate&&As(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:g,beforeUpdate:v,updated:_,activated:S,deactivated:U,beforeDestroy:N,beforeUnmount:B,destroyed:p,unmounted:m,render:M,renderTracked:F,renderTriggered:$,errorCaptured:j,serverPrefetch:R,expose:b,inheritAttrs:L,components:x,directives:W,filters:re}=t;if(f&&_c(f,r,null),o)for(const Y in o){const D=o[Y];q(D)&&(r[Y]=D.bind(n))}if(s){const Y=s.call(n,n);ne(Y)&&(e.data=Bn(Y))}if(Rr=!0,i)for(const Y in i){const D=i[Y],he=q(D)?D.bind(n,n):q(D.get)?D.get.bind(n,n):Ue,on=!q(D)&&q(D.set)?D.set.bind(n):Ue,lt=ie({get:he,set:on});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>lt.value,set:$e=>lt.value=$e})}if(l)for(const Y in l)to(l[Y],r,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(D=>{Cc(D,Y[D])})}a&&As(a,e,"c");function V(Y,D){K(D)?D.forEach(he=>Y(he.bind(n))):D&&Y(D.bind(n))}if(V(fc,h),V(It,g),V(uc,v),V(dc,_),V(lc,S),V(cc,U),V(mc,j),V(gc,F),V(pc,$),V(Ji,B),V(qn,m),V(hc,R),K(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach(D=>{Object.defineProperty(Y,D,{get:()=>n[D],set:he=>n[D]=he})})}else e.exposed||(e.exposed={});M&&e.render===Ue&&(e.render=M),L!=null&&(e.inheritAttrs=L),x&&(e.components=x),W&&(e.directives=W),R&&Zr(e)}function _c(e,t,n=Ue){K(e)&&(e=Or(e));for(const r in e){const s=e[r];let i;ne(s)?"default"in s?i=Mt(s.from||r,s.default,!0):i=Mt(s.from||r):i=Mt(s),ae(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function As(e,t,n){Fe(K(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function to(e,t,n,r){let s=r.includes(".")?mo(n,r):()=>n[r];if(se(e)){const i=t[e];q(i)&&Be(s,i)}else if(q(e))Be(s,e.bind(n));else if(ne(e))if(K(e))e.forEach(i=>to(i,t,n,r));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Be(s,i,e)}}function es(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(f=>Nn(c,f,o,!0)),Nn(c,t,o)),ne(t)&&i.set(t,c),c}function Nn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Nn(e,i,n,!0),s&&s.forEach(o=>Nn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=wc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const wc={data:Rs,props:Os,emits:Os,methods:$t,computed:$t,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:$t,directives:$t,watch:Ec,provide:Rs,inject:Sc};function Rs(e,t){return t?e?function(){return fe(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function Sc(e,t){return $t(Or(e),Or(t))}function Or(e){if(K(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(r&&r.proxy):t}}const ro={},so=()=>Object.create(ro),io=e=>Object.getPrototypeOf(e)===ro;function Ac(e,t,n,r=!1){const s={},i=so();e.propsDefaults=Object.create(null),oo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Ll(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Rc(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=J(s),[c]=e.propsOptions;let f=!1;if((r||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,v]=lo(h,t,!0);fe(o,g),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&r.set(e,Tt),Tt;if(K(i))for(let a=0;ae[0]==="_"||e==="$stable",ts=e=>K(e)?e.map(Me):[Me(e)],Mc=(e,t,n)=>{if(t._n)return t;const r=Xl((...s)=>ts(t(...s)),n);return r._c=!1,r},ao=(e,t,n)=>{const r=e._ctx;for(const s in e){if(co(s))continue;const i=e[s];if(q(i))t[s]=Mc(s,i,r);else if(i!=null){const o=ts(i);t[s]=()=>o}}},fo=(e,t)=>{const n=ts(t);e.slots.default=()=>n},uo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Pc=(e,t,n)=>{const r=e.slots=so();if(e.vnode.shapeFlag&32){const s=t._;s?(uo(r,t,n),n&&pi(r,"_",s,!0)):ao(t,r)}else t&&fo(e,t)},Ic=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=Z;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:uo(s,t,n):(i=!t.$stable,ao(t,s)),o=t}else t&&(fo(e,t),o={default:1});if(i)for(const l in s)!co(l)&&o[l]==null&&delete s[l]},Ee=bo;function Lc(e){return ho(e)}function Nc(e){return ho(e,sc)}function ho(e,t){const n=gi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:g,setScopeId:v=Ue,insertStaticContent:_}=e,S=(u,d,y,T=null,w=null,E=null,P=void 0,O=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!dt(u,d)&&(T=ln(u),$e(u,w,E,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:k,shapeFlag:I}=d;switch(C){case mt:U(u,d,y,T);break;case ye:N(u,d,y,T);break;case Bt:u==null&&B(d,y,T,P);break;case Se:x(u,d,y,T,w,E,P,O,A);break;default:I&1?M(u,d,y,T,w,E,P,O,A):I&6?W(u,d,y,T,w,E,P,O,A):(I&64||I&128)&&C.process(u,d,y,T,w,E,P,O,A,bt)}k!=null&&w&&Ln(k,u&&u.ref,E,d||u,!d)},U=(u,d,y,T)=>{if(u==null)r(d.el=l(d.children),y,T);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},N=(u,d,y,T)=>{u==null?r(d.el=c(d.children||""),y,T):d.el=u.el},B=(u,d,y,T)=>{[u.el,u.anchor]=_(u.children,d,y,T,u.el,u.anchor)},p=({el:u,anchor:d},y,T)=>{let w;for(;u&&u!==d;)w=g(u),r(u,y,T),u=w;r(d,y,T)},m=({el:u,anchor:d})=>{let y;for(;u&&u!==d;)y=g(u),s(u),u=y;s(d)},M=(u,d,y,T,w,E,P,O,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),u==null?F(d,y,T,w,E,P,O,A):R(u,d,w,E,P,O,A)},F=(u,d,y,T,w,E,P,O)=>{let A,C;const{props:k,shapeFlag:I,transition:H,dirs:G}=u;if(A=u.el=o(u.type,E,k&&k.is,k),I&8?a(A,u.children):I&16&&j(u.children,A,null,T,w,lr(u,E),P,O),G&&Ve(u,null,T,"created"),$(A,u,u.scopeId,P,T),k){for(const ee in k)ee!=="value"&&!At(ee)&&i(A,ee,null,k[ee],E,T);"value"in k&&i(A,"value",null,k.value,E),(C=k.onVnodeBeforeMount)&&Oe(C,T,u)}G&&Ve(u,null,T,"beforeMount");const X=po(w,H);X&&H.beforeEnter(A),r(A,d,y),((C=k&&k.onVnodeMounted)||X||G)&&Ee(()=>{C&&Oe(C,T,u),X&&H.enter(A),G&&Ve(u,null,T,"mounted")},w)},$=(u,d,y,T,w)=>{if(y&&v(u,y),T)for(let E=0;E{for(let C=A;C{const O=d.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:k}=d;A|=u.patchFlag&16;const I=u.props||Z,H=d.props||Z;let G;if(y&&ct(y,!1),(G=H.onVnodeBeforeUpdate)&&Oe(G,y,d,u),k&&Ve(d,u,y,"beforeUpdate"),y&&ct(y,!0),(I.innerHTML&&H.innerHTML==null||I.textContent&&H.textContent==null)&&a(O,""),C?b(u.dynamicChildren,C,O,y,T,lr(d,w),E):P||D(u,d,O,null,y,T,lr(d,w),E,!1),A>0){if(A&16)L(O,I,H,y,w);else if(A&2&&I.class!==H.class&&i(O,"class",null,H.class,w),A&4&&i(O,"style",I.style,H.style,w),A&8){const X=d.dynamicProps;for(let ee=0;ee{G&&Oe(G,y,d,u),k&&Ve(d,u,y,"updated")},T)},b=(u,d,y,T,w,E,P)=>{for(let O=0;O{if(d!==y){if(d!==Z)for(const E in d)!At(E)&&!(E in y)&&i(u,E,d[E],null,w,T);for(const E in y){if(At(E))continue;const P=y[E],O=d[E];P!==O&&E!=="value"&&i(u,E,O,P,w,T)}"value"in y&&i(u,"value",d.value,y.value,w)}},x=(u,d,y,T,w,E,P,O,A)=>{const C=d.el=u?u.el:l(""),k=d.anchor=u?u.anchor:l("");let{patchFlag:I,dynamicChildren:H,slotScopeIds:G}=d;G&&(O=O?O.concat(G):G),u==null?(r(C,y,T),r(k,y,T),j(d.children||[],y,k,w,E,P,O,A)):I>0&&I&64&&H&&u.dynamicChildren?(b(u.dynamicChildren,H,y,w,E,P,O),(d.key!=null||w&&d===w.subTree)&&ns(u,d,!0)):D(u,d,y,k,w,E,P,O,A)},W=(u,d,y,T,w,E,P,O,A)=>{d.slotScopeIds=O,u==null?d.shapeFlag&512?w.ctx.activate(d,y,T,P,A):re(d,y,T,w,E,P,A):ce(u,d,A)},re=(u,d,y,T,w,E,P)=>{const O=u.component=zc(u,T,w);if(nn(u)&&(O.ctx.renderer=bt),Qc(O,!1,P),O.asyncDep){if(w&&w.registerDep(O,V,P),!u.el){const A=O.subTree=le(ye);N(null,A,d,y)}}else V(O,u,d,y,w,E,P)},ce=(u,d,y)=>{const T=d.component=u.component;if(kc(u,d,y))if(T.asyncDep&&!T.asyncResolved){Y(T,d,y);return}else T.next=d,T.update();else d.el=u.el,T.vnode=d},V=(u,d,y,T,w,E,P)=>{const O=()=>{if(u.isMounted){let{next:I,bu:H,u:G,parent:X,vnode:ee}=u;{const Te=go(u);if(Te){I&&(I.el=ee.el,Y(u,I,P)),Te.asyncDep.then(()=>{u.isUnmounted||O()});return}}let Q=I,xe;ct(u,!1),I?(I.el=ee.el,Y(u,I,P)):I=ee,H&&Sn(H),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Oe(xe,X,I,ee),ct(u,!0);const pe=cr(u),Le=u.subTree;u.subTree=pe,S(Le,pe,h(Le.el),ln(Le),u,w,E),I.el=pe.el,Q===null&&Wc(u,pe.el),G&&Ee(G,w),(xe=I.props&&I.props.onVnodeUpdated)&&Ee(()=>Oe(xe,X,I,ee),w)}else{let I;const{el:H,props:G}=d,{bm:X,m:ee,parent:Q,root:xe,type:pe}=u,Le=gt(d);if(ct(u,!1),X&&Sn(X),!Le&&(I=G&&G.onVnodeBeforeMount)&&Oe(I,Q,d),ct(u,!0),H&&Zn){const Te=()=>{u.subTree=cr(u),Zn(H,u.subTree,u,w,null)};Le&&pe.__asyncHydrate?pe.__asyncHydrate(H,u,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=u.subTree=cr(u);S(null,Te,y,T,u,w,E),d.el=Te.el}if(ee&&Ee(ee,w),!Le&&(I=G&&G.onVnodeMounted)){const Te=d;Ee(()=>Oe(I,Q,Te),w)}(d.shapeFlag&256||Q&>(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&Ee(u.a,w),u.isMounted=!0,d=y=T=null}};u.scope.on();const A=u.effect=new _i(O);u.scope.off();const C=u.update=A.run.bind(A),k=u.job=A.runIfDirty.bind(A);k.i=u,k.id=u.uid,A.scheduler=()=>zr(k),ct(u,!0),C()},Y=(u,d,y)=>{d.component=u;const T=u.vnode.props;u.vnode=d,u.next=null,Rc(u,d.props,T,y),Ic(u,d.children,y),it(),bs(u),ot()},D=(u,d,y,T,w,E,P,O,A=!1)=>{const C=u&&u.children,k=u?u.shapeFlag:0,I=d.children,{patchFlag:H,shapeFlag:G}=d;if(H>0){if(H&128){on(C,I,y,T,w,E,P,O,A);return}else if(H&256){he(C,I,y,T,w,E,P,O,A);return}}G&8?(k&16&&Lt(C,w,E),I!==C&&a(y,I)):k&16?G&16?on(C,I,y,T,w,E,P,O,A):Lt(C,w,E,!0):(k&8&&a(y,""),G&16&&j(I,y,T,w,E,P,O,A))},he=(u,d,y,T,w,E,P,O,A)=>{u=u||Tt,d=d||Tt;const C=u.length,k=d.length,I=Math.min(C,k);let H;for(H=0;Hk?Lt(u,w,E,!0,!1,I):j(d,y,T,w,E,P,O,A,I)},on=(u,d,y,T,w,E,P,O,A)=>{let C=0;const k=d.length;let I=u.length-1,H=k-1;for(;C<=I&&C<=H;){const G=u[C],X=d[C]=A?et(d[C]):Me(d[C]);if(dt(G,X))S(G,X,y,null,w,E,P,O,A);else break;C++}for(;C<=I&&C<=H;){const G=u[I],X=d[H]=A?et(d[H]):Me(d[H]);if(dt(G,X))S(G,X,y,null,w,E,P,O,A);else break;I--,H--}if(C>I){if(C<=H){const G=H+1,X=GH)for(;C<=I;)$e(u[C],w,E,!0),C++;else{const G=C,X=C,ee=new Map;for(C=X;C<=H;C++){const Ce=d[C]=A?et(d[C]):Me(d[C]);Ce.key!=null&&ee.set(Ce.key,C)}let Q,xe=0;const pe=H-X+1;let Le=!1,Te=0;const Nt=new Array(pe);for(C=0;C=pe){$e(Ce,w,E,!0);continue}let De;if(Ce.key!=null)De=ee.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Nt[Q-X]===0&&dt(Ce,d[Q])){De=Q;break}De===void 0?$e(Ce,w,E,!0):(Nt[De-X]=C+1,De>=Te?Te=De:Le=!0,S(Ce,d[De],y,null,w,E,P,O,A),xe++)}const fs=Le?Fc(Nt):Tt;for(Q=fs.length-1,C=pe-1;C>=0;C--){const Ce=X+C,De=d[Ce],us=Ce+1{const{el:E,type:P,transition:O,children:A,shapeFlag:C}=u;if(C&6){lt(u.component.subTree,d,y,T);return}if(C&128){u.suspense.move(d,y,T);return}if(C&64){P.move(u,d,y,bt);return}if(P===Se){r(E,d,y);for(let I=0;IO.enter(E),w);else{const{leave:I,delayLeave:H,afterLeave:G}=O,X=()=>r(E,d,y),ee=()=>{I(E,()=>{X(),G&&G()})};H?H(E,X,ee):ee()}else r(E,d,y)},$e=(u,d,y,T=!1,w=!1)=>{const{type:E,props:P,ref:O,children:A,dynamicChildren:C,shapeFlag:k,patchFlag:I,dirs:H,cacheIndex:G}=u;if(I===-2&&(w=!1),O!=null&&Ln(O,null,y,u,!0),G!=null&&(d.renderCache[G]=void 0),k&256){d.ctx.deactivate(u);return}const X=k&1&&H,ee=!gt(u);let Q;if(ee&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,u),k&6)Xo(u.component,y,T);else{if(k&128){u.suspense.unmount(y,T);return}X&&Ve(u,null,d,"beforeUnmount"),k&64?u.type.remove(u,d,y,bt,T):C&&!C.hasOnce&&(E!==Se||I>0&&I&64)?Lt(C,d,y,!1,!0):(E===Se&&I&384||!w&&k&16)&&Lt(A,d,y),T&&cs(u)}(ee&&(Q=P&&P.onVnodeUnmounted)||X)&&Ee(()=>{Q&&Oe(Q,d,u),X&&Ve(u,null,d,"unmounted")},y)},cs=u=>{const{type:d,el:y,anchor:T,transition:w}=u;if(d===Se){Yo(y,T);return}if(d===Bt){m(u);return}const E=()=>{s(y),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:O}=w,A=()=>P(y,E);O?O(u.el,E,A):A()}else E()},Yo=(u,d)=>{let y;for(;u!==d;)y=g(u),s(u),u=y;s(d)},Xo=(u,d,y)=>{const{bum:T,scope:w,job:E,subTree:P,um:O,m:A,a:C}=u;Ps(A),Ps(C),T&&Sn(T),w.stop(),E&&(E.flags|=8,$e(P,u,d,y)),O&&Ee(O,d),Ee(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Lt=(u,d,y,T=!1,w=!1,E=0)=>{for(let P=E;P{if(u.shapeFlag&6)return ln(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=g(u.anchor||u.el),y=d&&d[Ui];return y?g(y):d};let zn=!1;const as=(u,d,y)=>{u==null?d._vnode&&$e(d._vnode,null,null,!0):S(d._vnode||null,u,d,null,null,null,y),d._vnode=u,zn||(zn=!0,bs(),Pn(),zn=!1)},bt={p:S,um:$e,m:lt,r:cs,mt:re,mc:j,pc:D,pbc:b,n:ln,o:e};let Qn,Zn;return t&&([Qn,Zn]=t(bt)),{render:as,hydrate:Qn,createApp:Tc(as,Qn)}}function lr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function po(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ns(e,t,n=!1){const r=e.children,s=t.children;if(K(r)&&K(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:go(t)}function Ps(e){if(e)for(let t=0;tMt(Hc);function rs(e,t){return Gn(e,null,t)}function Vf(e,t){return Gn(e,null,{flush:"post"})}function Be(e,t,n){return Gn(e,t,n)}function Gn(e,t,n=Z){const{immediate:r,deep:s,flush:i,once:o}=n,l=fe({},n);let c;if(sn)if(i==="sync"){const g=$c();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!t||r)l.once=!0;else{const g=()=>{};return g.stop=Ue,g.resume=Ue,g.pause=Ue,g}const f=ue;l.call=(g,v,_)=>Fe(g,f,v,_);let a=!1;i==="post"?l.scheduler=g=>{Ee(g,f&&f.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(g,v)=>{v?g():zr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const h=Kl(e,t,l);return c&&c.push(h),h}function Dc(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?mo(r,e):()=>r[e]:e.bind(r,r);let i;q(t)?i=t:(i=t.handler,n=t);const o=rn(this),l=Gn(s,i.bind(r),n);return o(),l}function mo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${st(t)}Modifiers`];function Vc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Z;let s=n;const i=t.startsWith("update:"),o=i&&jc(r,t.slice(7));o&&(o.trim&&(s=n.map(a=>se(a)?a.trim():a)),o.number&&(s=n.map(Sr)));let l,c=r[l=wn(t)]||r[l=wn(Ie(t))];!c&&i&&(c=r[l=wn(st(t))]),c&&Fe(c,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(f,e,6,s)}}function yo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=yo(f,t,!0);a&&(l=!0,fe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&r.set(e,null),null):(K(i)?i.forEach(c=>o[c]=null):fe(o,i),ne(e)&&r.set(e,o),o)}function Yn(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,st(t))||z(e,t))}function cr(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:g,setupState:v,ctx:_,inheritAttrs:S}=e,U=In(e);let N,B;try{if(n.shapeFlag&4){const m=s||r,M=m;N=Me(f.call(M,m,a,h,v,g,_)),B=l}else{const m=t;N=Me(m.length>1?m(h,{attrs:l,slots:o,emit:c}):m(h,null)),B=t.props?l:Uc(l)}}catch(m){kt.length=0,tn(m,e,1),N=le(ye)}let p=N;if(B&&S!==!1){const m=Object.keys(B),{shapeFlag:M}=p;m.length&&M&7&&(i&&m.some($r)&&(B=Bc(B,i)),p=nt(p,B,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Yt(p,n.transition),N=p,In(U),N}const Uc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zt(n))&&((t||(t={}))[n]=e[n]);return t},Bc=(e,t)=>{const n={};for(const r in e)(!$r(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function kc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Is(r,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function bo(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Yl(e)}const Se=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),Bt=Symbol.for("v-stc"),kt=[];let Ae=null;function Pr(e=!1){kt.push(Ae=e?null:[])}function Kc(){kt.pop(),Ae=kt[kt.length-1]||null}let Xt=1;function Ls(e){Xt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function _o(e){return e.dynamicChildren=Xt>0?Ae||Tt:null,Kc(),Xt>0&&Ae&&Ae.push(e),e}function Uf(e,t,n,r,s,i){return _o(So(e,t,n,r,s,i,!0))}function Ir(e,t,n,r,s){return _o(le(e,t,n,r,s,!0))}function Jt(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const wo=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ae(e)||q(e)?{i:de,r:e,k:t,f:!!n}:e:null);function So(e,t=null,n=null,r=0,s=null,i=e===Se?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wo(t),ref:t&&Tn(t),scopeId:Vi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:de};return l?(ss(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Xt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=qc;function qc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Qi)&&(e=ye),Jt(e)){const l=nt(e,t,!0);return n&&ss(l,n),Xt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(na(e)&&(e=e.__vccOpts),t){t=Gc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Ur(l)),ne(c)&&(Yr(c)&&!K(c)&&(c=fe({},c)),t.style=Vr(c))}const o=se(e)?1:vo(e)?128:Bi(e)?64:ne(e)?4:q(e)?2:0;return So(e,t,n,r,s,o,i,!0)}function Gc(e){return e?Yr(e)||io(e)?fe({},e):e:null}function nt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Yc(s||{},t):s,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&wo(f),ref:t&&t.ref?n&&i?K(i)?i.concat(Tn(t)):[i,Tn(t)]:Tn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Yt(a,c.clone(a)),a}function Eo(e=" ",t=0){return le(mt,null,e,t)}function Bf(e,t){const n=le(Bt,null,e);return n.staticCount=t,n}function kf(e="",t=!1){return t?(Pr(),Ir(ye,null,e)):le(ye,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(ye):K(e)?le(Se,null,e.slice()):Jt(e)?et(e):le(mt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function ss(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ss(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!io(t)?t._ctx=de:s===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:de},n=32):(t=String(t),r&64?(n=16,t=[Eo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yc(...e){const t={};for(let n=0;nue||de;let Fn,Lr;{const e=gi(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Fn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Lr=t("__VUE_SSR_SETTERS__",n=>sn=n)}const rn=e=>{const t=ue;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},Ns=()=>{ue&&ue.scope.off(),Fn(null)};function xo(e){return e.vnode.shapeFlag&4}let sn=!1;function Qc(e,t=!1,n=!1){t&&Lr(t);const{props:r,children:s}=e.vnode,i=xo(e);Ac(e,r,i,t),Pc(e,s,n);const o=i?Zc(e,t):void 0;return t&&Lr(!1),o}function Zc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yc);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Co(e):null,i=rn(e);it();const o=en(r,e,0,[e.props,s]);if(ot(),i(),ui(o)){if(gt(e)||Zr(e),o.then(Ns,Ns),t)return o.then(l=>{Fs(e,l,t)}).catch(l=>{tn(l,e,0)});e.asyncDep=o}else Fs(e,o,t)}else To(e,t)}function Fs(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Hi(t)),To(e,n)}let Hs;function To(e,t,n){const r=e.type;if(!e.render){if(!t&&Hs&&!r.render){const s=r.template||es(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,f=fe(fe({isCustomElement:i,delimiters:l},o),c);r.render=Hs(s,f)}}e.render=r.render||Ue}{const s=rn(e);it();try{bc(e)}finally{ot(),s()}}}const ea={get(e,t){return ve(e,"get",""),e[t]}};function Co(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ea),slots:e.slots,emit:e.emit,expose:t}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Hi(En(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function ta(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function na(e){return q(e)&&"__vccOpts"in e}const ie=(e,t)=>kl(e,t,sn);function Nr(e,t,n){const r=arguments.length;return r===2?ne(t)&&!K(t)?Jt(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Jt(n)&&(n=[n]),le(e,t,n))}const ra="3.5.11";/** +* @vue/runtime-dom v3.5.11 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Fr;const $s=typeof window<"u"&&window.trustedTypes;if($s)try{Fr=$s.createPolicy("vue",{createHTML:e=>e})}catch{}const Ao=Fr?e=>Fr.createHTML(e):e=>e,sa="http://www.w3.org/2000/svg",ia="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Ds=Ke&&Ke.createElement("template"),oa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ke.createElementNS(sa,e):t==="mathml"?Ke.createElementNS(ia,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Ds.innerHTML=Ao(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Ds.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Ht="animation",zt=Symbol("_vtc"),Ro={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},la=fe({},Wi,Ro),ca=e=>(e.displayName="Transition",e.props=la,e),Wf=ca((e,{slots:t})=>Nr(tc,aa(e),t)),at=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},js=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function aa(e){const t={};for(const x in e)x in Ro||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,_=fa(s),S=_&&_[0],U=_&&_[1],{onBeforeEnter:N,onEnter:B,onEnterCancelled:p,onLeave:m,onLeaveCancelled:M,onBeforeAppear:F=N,onAppear:$=B,onAppearCancelled:j=p}=t,R=(x,W,re)=>{ft(x,W?a:l),ft(x,W?f:o),re&&re()},b=(x,W)=>{x._isLeaving=!1,ft(x,h),ft(x,v),ft(x,g),W&&W()},L=x=>(W,re)=>{const ce=x?$:B,V=()=>R(W,x,re);at(ce,[W,V]),Vs(()=>{ft(W,x?c:i),ze(W,x?a:l),js(ce)||Us(W,r,S,V)})};return fe(t,{onBeforeEnter(x){at(N,[x]),ze(x,i),ze(x,o)},onBeforeAppear(x){at(F,[x]),ze(x,c),ze(x,f)},onEnter:L(!1),onAppear:L(!0),onLeave(x,W){x._isLeaving=!0;const re=()=>b(x,W);ze(x,h),ze(x,g),ha(),Vs(()=>{x._isLeaving&&(ft(x,h),ze(x,v),js(m)||Us(x,r,U,re))}),at(m,[x,re])},onEnterCancelled(x){R(x,!1),at(p,[x])},onAppearCancelled(x){R(x,!0),at(j,[x])},onLeaveCancelled(x){b(x),at(M,[x])}})}function fa(e){if(e==null)return null;if(ne(e))return[ar(e.enter),ar(e.leave)];{const t=ar(e);return[t,t]}}function ar(e){return tl(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zt]||(e[zt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zt];n&&(n.delete(t),n.size||(e[zt]=void 0))}function Vs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ua=0;function Us(e,t,n,r){const s=e._endId=++ua,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=da(e,t);if(!o)return r();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,g),i()},g=v=>{v.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[_]||"").split(", "),s=r(`${Je}Delay`),i=r(`${Je}Duration`),o=Bs(s,i),l=r(`${Ht}Delay`),c=r(`${Ht}Duration`),f=Bs(l,c);let a=null,h=0,g=0;t===Je?o>0&&(a=Je,h=o,g=i.length):t===Ht?f>0&&(a=Ht,h=f,g=c.length):(h=Math.max(o,f),a=h>0?o>f?Je:Ht:null,g=a?a===Je?i.length:c.length:0);const v=a===Je&&/\b(transform|all)(,|$)/.test(r(`${Je}Property`).toString());return{type:a,timeout:h,propCount:g,hasTransform:v}}function Bs(e,t){for(;e.lengthks(n)+ks(e[r])))}function ks(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ha(){return document.body.offsetHeight}function pa(e,t,n){const r=e[zt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ws=Symbol("_vod"),ga=Symbol("_vsh"),ma=Symbol(""),ya=/(^|;)\s*display\s*:/;function va(e,t,n){const r=e.style,s=se(n);let i=!1;if(n&&!s){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Cn(r,l,"")}else for(const o in t)n[o]==null&&Cn(r,o,"");for(const o in n)o==="display"&&(i=!0),Cn(r,o,n[o])}else if(s){if(t!==n){const o=r[ma];o&&(n+=";"+o),r.cssText=n,i=ya.test(n)}}else t&&e.removeAttribute("style");Ws in e&&(e[Ws]=i?r.display:"",e[ga]&&(r.display="none"))}const Ks=/\s*!important$/;function Cn(e,t,n){if(K(n))n.forEach(r=>Cn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ba(e,t);Ks.test(n)?e.setProperty(st(r),n.replace(Ks,""),"important"):e[r]=n}}const qs=["Webkit","Moz","ms"],fr={};function ba(e,t){const n=fr[t];if(n)return n;let r=Ie(t);if(r!=="filter"&&r in e)return fr[t]=r;r=Dn(r);for(let s=0;sur||(Ea.then(()=>ur=0),ur=Date.now());function Ta(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Fe(Ca(r,n.value),t,5,[r])};return n.value=e,n.attached=xa(),n}function Ca(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Qs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Aa=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?pa(e,r,o):t==="style"?va(e,n,r):Zt(t)?$r(t)||wa(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ra(e,t,r,o))?(Xs(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ys(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!se(r))?Xs(e,Ie(t),r):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ys(e,t,r,o))};function Ra(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Qs(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Qs(t)&&se(n)?!1:t in e}const Zs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Sn(t,n):t};function Oa(e){e.target.composing=!0}function ei(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dr=Symbol("_assign"),Kf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[dr]=Zs(s);const i=r||s.props&&s.props.type==="number";Et(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Sr(l)),e[dr](l)}),n&&Et(e,"change",()=>{e.value=e.value.trim()}),t||(Et(e,"compositionstart",Oa),Et(e,"compositionend",ei),Et(e,"change",ei))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[dr]=Zs(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Sr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Ma=["ctrl","shift","alt","meta"],Pa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ma.some(n=>e[`${n}Key`]&&!t.includes(n))},qf=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=st(s.key);if(t.some(o=>o===i||Ia[o]===i))return e(s)})},Oo=fe({patchProp:Aa},oa);let Wt,ti=!1;function La(){return Wt||(Wt=Lc(Oo))}function Na(){return Wt=ti?Wt:Nc(Oo),ti=!0,Wt}const Yf=(...e)=>{const t=La().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Po(r);if(!s)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Mo(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},Xf=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Po(r);if(s)return n(s,!0,Mo(s))},t};function Mo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Po(e){return se(e)?document.querySelector(e):e}const Jf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Fa=window.__VP_SITE_DATA__;function is(e){return bi()?(fl(e),!0):!1}function ke(e){return typeof e=="function"?e():Fi(e)}const Io=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zf=e=>e!=null,Ha=Object.prototype.toString,$a=e=>Ha.call(e)==="[object Object]",Qt=()=>{},ni=Da();function Da(){var e,t;return Io&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ja(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const Lo=e=>e();function Va(e,t={}){let n,r,s=Qt;const i=l=>{clearTimeout(l),s(),s=Qt};return l=>{const c=ke(e),f=ke(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((a,h)=>{s=t.rejectOnCancel?h:a,f&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,a(l())},f)),n=setTimeout(()=>{r&&i(r),r=null,a(l())},c)})}}function Ua(e=Lo){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:kn(t),pause:n,resume:r,eventFilter:s}}function Ba(e){return Xn()}function No(...e){if(e.length!==1)return Vl(...e);const t=e[0];return typeof t=="function"?kn($l(()=>({get:t,set:Qt}))):oe(t)}function Fo(e,t,n={}){const{eventFilter:r=Lo,...s}=n;return Be(e,ja(r,t),s)}function ka(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Ua(r);return{stop:Fo(e,t,{...s,eventFilter:i}),pause:o,resume:l,isActive:c}}function os(e,t=!0,n){Ba()?It(e,n):t?e():Wn(e)}function Qf(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...i}=n;return Fo(e,t,{...i,eventFilter:Va(r,{maxWait:s})})}function Zf(e,t,n){let r;ae(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Qt}=r,c=oe(!s),f=o?Jr(t):oe(t);let a=0;return rs(async h=>{if(!c.value)return;a++;const g=a;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const _=await e(S=>{h(()=>{i&&(i.value=!1),v||S()})});g===a&&(f.value=_)}catch(_){l(_)}finally{i&&g===a&&(i.value=!1),v=!0}}),s?ie(()=>(c.value=!0,f.value)):f}const He=Io?window:void 0;function Ho(e){var t;const n=ke(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Pt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=He):[t,n,r,s]=e,!t)return Qt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,g,v)=>(a.addEventListener(h,g,v),()=>a.removeEventListener(h,g,v)),c=Be(()=>[Ho(t),ke(s)],([a,h])=>{if(o(),!a)return;const g=$a(h)?{...h}:h;i.push(...n.flatMap(v=>r.map(_=>l(a,v,_,g))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return is(f),f}function Wa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function eu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=He,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=r,c=Wa(t);return Pt(s,i,a=>{a.repeat&&ke(l)||c(a)&&n(a)},o)}function Ka(){const e=oe(!1),t=Xn();return t&&It(()=>{e.value=!0},t),e}function qa(e){const t=Ka();return ie(()=>(t.value,!!e()))}function $o(e,t={}){const{window:n=He}=t,r=qa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const i=oe(!1),o=f=>{i.value=f.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},c=rs(()=>{r.value&&(l(),s=n.matchMedia(ke(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),i.value=s.matches)});return is(()=>{c(),l(),s=void 0}),i}const vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bn="__vueuse_ssr_handlers__",Ga=Ya();function Ya(){return bn in vn||(vn[bn]=vn[bn]||{}),vn[bn]}function Do(e,t){return Ga[e]||t}function jo(e){return $o("(prefers-color-scheme: dark)",e)}function Xa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ja={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ri="vueuse-storage";function ls(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=He,eventFilter:g,onError:v=b=>{console.error(b)},initOnMounted:_}=r,S=(a?Jr:oe)(typeof t=="function"?t():t);if(!n)try{n=Do("getDefaultStorage",()=>{var b;return(b=He)==null?void 0:b.localStorage})()}catch(b){v(b)}if(!n)return S;const U=ke(t),N=Xa(U),B=(s=r.serializer)!=null?s:Ja[N],{pause:p,resume:m}=ka(S,()=>F(S.value),{flush:i,deep:o,eventFilter:g});h&&l&&os(()=>{n instanceof Storage?Pt(h,"storage",j):Pt(h,ri,R),_&&j()}),_||j();function M(b,L){if(h){const x={key:e,oldValue:b,newValue:L,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(ri,{detail:x}))}}function F(b){try{const L=n.getItem(e);if(b==null)M(L,null),n.removeItem(e);else{const x=B.write(b);L!==x&&(n.setItem(e,x),M(L,x))}}catch(L){v(L)}}function $(b){const L=b?b.newValue:n.getItem(e);if(L==null)return c&&U!=null&&n.setItem(e,B.write(U)),U;if(!b&&f){const x=B.read(L);return typeof f=="function"?f(x,U):N==="object"&&!Array.isArray(x)?{...U,...x}:x}else return typeof L!="string"?L:B.read(L)}function j(b){if(!(b&&b.storageArea!==n)){if(b&&b.key==null){S.value=U;return}if(!(b&&b.key!==e)){p();try{(b==null?void 0:b.newValue)!==B.write(S.value)&&(S.value=$(b))}catch(L){v(L)}finally{b?Wn(m):m()}}}}function R(b){j(b.detail)}return S}const za="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Qa(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=He,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=jo({window:s}),v=ie(()=>g.value?"dark":"light"),_=c||(o==null?No(r):ls(o,r,i,{window:s,listenToStorageChanges:l})),S=ie(()=>_.value==="auto"?v.value:_.value),U=Do("updateHTMLAttrs",(m,M,F)=>{const $=typeof m=="string"?s==null?void 0:s.document.querySelector(m):Ho(m);if(!$)return;const j=new Set,R=new Set;let b=null;if(M==="class"){const x=F.split(/\s/g);Object.values(h).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{x.includes(W)?j.add(W):R.add(W)})}else b={key:M,value:F};if(j.size===0&&R.size===0&&b===null)return;let L;a&&(L=s.document.createElement("style"),L.appendChild(document.createTextNode(za)),s.document.head.appendChild(L));for(const x of j)$.classList.add(x);for(const x of R)$.classList.remove(x);b&&$.setAttribute(b.key,b.value),a&&(s.getComputedStyle(L).opacity,document.head.removeChild(L))});function N(m){var M;U(t,n,(M=h[m])!=null?M:m)}function B(m){e.onChanged?e.onChanged(m,N):N(m)}Be(S,B,{flush:"post",immediate:!0}),os(()=>B(S.value));const p=ie({get(){return f?_.value:S.value},set(m){_.value=m}});try{return Object.assign(p,{store:_,system:v,state:S})}catch{return p}}function Za(e={}){const{valueDark:t="dark",valueLight:n="",window:r=He}=e,s=Qa({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>s.system?s.system.value:jo({window:r}).value?"dark":"light");return ie({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?s.value="auto":s.value=c}})}function hr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function tu(e,t,n={}){const{window:r=He}=n;return ls(e,t,r==null?void 0:r.localStorage,n)}function Vo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const pr=new WeakMap;function nu(e,t=!1){const n=oe(t);let r=null,s="";Be(No(e),l=>{const c=hr(ke(l));if(c){const f=c;if(pr.get(f)||pr.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(s=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=hr(ke(e));!l||n.value||(ni&&(r=Pt(l,"touchmove",c=>{ef(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=hr(ke(e));!l||!n.value||(ni&&(r==null||r()),l.style.overflow=s,pr.delete(l),n.value=!1)};return is(o),ie({get(){return n.value},set(l){l?i():o()}})}function ru(e,t,n={}){const{window:r=He}=n;return ls(e,t,r==null?void 0:r.sessionStorage,n)}function su(e={}){const{window:t=He,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),i=ie({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function iu(e={}){const{window:t=He,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=oe(n),c=oe(r),f=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(f(),os(f),Pt("resize",f,{passive:!0}),s){const a=$o("(orientation: portrait)");Be(a,()=>f())}return{width:l,height:c}}const gr={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var mr={};const Uo=/^(?:[a-z]+:|\/\/)/i,tf="vitepress-theme-appearance",nf=/#.*$/,rf=/[?#].*$/,sf=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Bo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function of(e,t,n=!1){if(t===void 0)return!1;if(e=si(`/${e}`),n)return new RegExp(t).test(e);if(si(t)!==e)return!1;const r=t.match(nf);return r?(ge?location.hash:"")===r[0]:!0}function si(e){return decodeURI(e).replace(rf,"").replace(sf,"$1")}function lf(e){return Uo.test(e)}function cf(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!lf(n)&&of(t,`/${n}/`,!0))||"root"}function af(e,t){var r,s,i,o,l,c,f;const n=cf(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Wo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function ko(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ff(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function ff(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function uf(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([i,o])=>i===n&&o[s[0]]===s[1])}function Wo(e,t){return[...e.filter(n=>!uf(t,n)),...t]}const df=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,hf=/^[a-z]:/i;function ii(e){const t=hf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(df,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const yr=new Set;function pf(e){if(yr.size===0){const n=typeof process=="object"&&(mr==null?void 0:mr.VITE_EXTRA_EXTENSIONS)||(gr==null?void 0:gr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>yr.add(r))}const t=e.split(".").pop();return t==null||!yr.has(t.toLowerCase())}function ou(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const gf=Symbol(),yt=Jr(Fa);function lu(e){const t=ie(()=>af(yt.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?Za({storageKey:tf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Be(()=>e.data,()=>{s.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>ko(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:r,hash:ie(()=>s.value)}}function mf(){const e=Mt(gf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function yf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function oi(e){return Uo.test(e)||!e.startsWith("/")?e:yf(yt.value.base,e)}function vf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ii(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${ii(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let An=[];function cu(e){An.push(e),qn(()=>{An=An.filter(t=>t!==e)})}function bf(){let e=yt.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=li(e,n);else if(Array.isArray(e))for(const r of e){const s=li(r,n);if(s){t=s;break}}return t}function li(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const _f=Symbol(),Ko="http://a.com",wf=()=>({path:"/",component:null,data:Bo});function au(e,t){const n=Bn(wf()),r={route:n,go:s};async function s(l=ge?location.href:"/"){var c,f;l=vr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(ge&&l!==vr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=r.onAfterRouteChanged)==null?void 0:f.call(r,l)))}let i=null;async function o(l,c=0,f=!1){var g;if(await((g=r.onBeforePageLoad)==null?void 0:g.call(r,l))===!1)return;const a=new URL(l,Ko),h=i=a.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:_,__pageData:S}=v;if(!_)throw new Error(`Invalid route component: ${_}`);n.path=ge?h:oi(h),n.component=En(_),n.data=En(S),ge&&Wn(()=>{let U=yt.value.base+S.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!U.endsWith("/")&&(U+=".html"),U!==a.pathname&&(a.pathname=U,l=U+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let N=null;try{N=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(B){console.warn(B)}if(N){ci(N,a.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!f)try{const _=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await _.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:oi(h),n.component=t?En(t):null;const _=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Bo,relativePath:_}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:h,pathname:g,hash:v,search:_}=new URL(f,c.baseURI),S=new URL(location.href);h===S.origin&&pf(g)&&(l.preventDefault(),g===S.pathname&&_===S.search?(v!==S.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:S.href,newURL:a}))),v?ci(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(vr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function Sf(){const e=Mt(_f);if(!e)throw new Error("useRouter() is called without provider.");return e}function qo(){return Sf().route}function ci(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(r).paddingTop,10),o=window.scrollY+r.getBoundingClientRect().top-bf()+i;requestAnimationFrame(s)}}function vr(e){const t=new URL(e,Ko);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),yt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const br=()=>An.forEach(e=>e()),fu=Qr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=qo(),{site:n}=mf();return()=>Nr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Nr(t.component,{onVnodeMounted:br,onVnodeUpdated:br,onVnodeUnmounted:br}):"404 Page Not Found"])}}),Ef="modulepreload",xf=function(e){return"/"+e},ai={},uu=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=xf(c),c in ai)return;ai[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":Ef,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,v)=>{h.addEventListener("load",g),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return s.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},du=Qr({setup(e,{slots:t}){const n=oe(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function hu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const i=r.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[s];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function pu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,i=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),Tf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Tf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function gu(e,t){let n=!0,r=[];const s=i=>{if(n){n=!1,i.forEach(l=>{const c=_r(l);for(const f of document.head.children)if(f.isEqualNode(c)){r.push(f);return}});return}const o=i.map(_r);r.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete r[c])}),o.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...o].filter(Boolean)};rs(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=ko(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):_r(["meta",{name:"description",content:a}]),s(Wo(o.head,Af(c)))})}function _r([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Cf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Af(e){return e.filter(t=>!Cf(t))}const wr=new Set,Go=()=>document.createElement("link"),Rf=e=>{const t=Go();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Of=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let _n;const Mf=ge&&(_n=Go())&&_n.relList&&_n.relList.supports&&_n.relList.supports("prefetch")?Rf:Of;function mu(){if(!ge||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!wr.has(c)){wr.add(c);const f=vf(c);f&&Mf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):wr.add(l))})})};It(r);const s=qo();Be(()=>s.path,r),qn(()=>{n&&n.disconnect()})}export{Ji as $,bf as A,Nf as B,Hf as C,Jr as D,cu as E,Se as F,le as G,Ff as H,Uo as I,qo as J,Yc as K,Mt as L,iu as M,Vr as N,eu as O,Wn as P,su as Q,ge as R,kn as S,Wf as T,Lf as U,uu as V,nu as W,Cc as X,Gf as Y,Df as Z,Jf as _,Eo as a,qf as a0,jf as a1,Bf as a2,gu as a3,_f as a4,lu as a5,gf as a6,fu as a7,du as a8,yt as a9,Xf as aa,au as ab,vf as ac,mu as ad,pu as ae,hu as af,Nr as ag,ke as ah,Ho as ai,zf as aj,is as ak,Zf as al,ru as am,tu as an,Qf as ao,Sf as ap,Pt as aq,Pf as ar,Kf as as,ae as at,If as au,En as av,Yf as aw,ou as ax,Ir as b,Uf as c,Qr as d,kf as e,pf as f,oi as g,ie as h,lf as i,So as j,Fi as k,of as l,$o as m,Ur as n,Pr as o,oe as p,Be as q,$f as r,rs as s,cl as t,mf as u,It as v,Xl as w,qn as x,Vf as y,dc as z}; diff --git a/assets/chunks/theme.BQKOjM6g.js b/assets/chunks/theme.BQKOjM6g.js new file mode 100644 index 00000000..c1f94356 --- /dev/null +++ b/assets/chunks/theme.BQKOjM6g.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.DzFCX21k.js","assets/chunks/framework.C9NVOr0y.js"])))=>i.map(i=>d[i]); +import{d as m,o as a,c as u,r as c,n as I,a as D,t as N,b as k,w as v,e as h,T as ue,_ as g,u as Be,i as Ce,f as He,g as de,h as y,j as p,k as r,l as z,m as ae,p as M,q as O,s as Y,v as K,x as ve,y as pe,z as Ee,A as Fe,B as q,F as w,C,D as $e,E as Q,G as _,H as E,I as ye,J as Z,K as j,L as x,M as De,N as Pe,O as re,P as Oe,Q as Ve,R as ee,S as Ge,U as Ue,V as je,W as Le,X as Se,Y as ze,Z as Ke,$ as qe,a0 as We,a1 as Re}from"./framework.C9NVOr0y.js";const Je=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),u("span",{class:I(["VPBadge",e.type])},[c(e.$slots,"default",{},()=>[D(N(e.text),1)])],2))}}),Xe={key:0,class:"VPBackdrop"},Ye=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),k(ue,{name:"fade"},{default:v(()=>[e.show?(a(),u("div",Xe)):h("",!0)]),_:1}))}}),Qe=g(Ye,[["__scopeId","data-v-54a304ca"]]),V=Be;function Ze(s,e){let t,o=!1;return()=>{t&&clearTimeout(t),o?t=setTimeout(s,e):(s(),(o=!0)&&setTimeout(()=>o=!1,e))}}function ie(s){return/^\//.test(s)?s:`/${s}`}function fe(s){const{pathname:e,search:t,hash:o,protocol:n}=new URL(s,"http://a.com");if(Ce(s)||s.startsWith("#")||!n.startsWith("http")||!He(e))return s;const{site:i}=V(),l=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${o}`);return de(l)}function R({correspondingLink:s=!1}={}){const{site:e,localeIndex:t,page:o,theme:n,hash:i}=V(),l=y(()=>{var d,$;return{label:(d=e.value.locales[t.value])==null?void 0:d.label,link:(($=e.value.locales[t.value])==null?void 0:$.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:y(()=>Object.entries(e.value.locales).flatMap(([d,$])=>l.value.label===$.label?[]:{text:$.label,link:xe($.link||(d==="root"?"/":`/${d}/`),n.value.i18nRouting!==!1&&s,o.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:l}}function xe(s,e,t,o){return e?s.replace(/\/$/,"")+ie(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,o?".html":"")):s}const et={class:"NotFound"},tt={class:"code"},nt={class:"title"},ot={class:"quote"},st={class:"action"},at=["href","aria-label"],rt=m({__name:"NotFound",setup(s){const{theme:e}=V(),{currentLang:t}=R();return(o,n)=>{var i,l,f,d,$;return a(),u("div",et,[p("p",tt,N(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),p("h1",nt,N(((l=r(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),n[0]||(n[0]=p("div",{class:"divider"},null,-1)),p("blockquote",ot,N(((f=r(e).notFound)==null?void 0:f.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),p("div",st,[p("a",{class:"link",href:r(de)(r(t).link),"aria-label":((d=r(e).notFound)==null?void 0:d.linkLabel)??"go to home"},N((($=r(e).notFound)==null?void 0:$.linkText)??"Take me home"),9,at)])])}}}),it=g(rt,[["__scopeId","data-v-6ff51ddd"]]);function Te(s,e){if(Array.isArray(s))return J(s);if(s==null)return[];e=ie(e);const t=Object.keys(s).sort((n,i)=>i.split("/").length-n.split("/").length).find(n=>e.startsWith(ie(n))),o=t?s[t]:[];return Array.isArray(o)?J(o):J(o.items,o.base)}function lt(s){const e=[];let t=0;for(const o in s){const n=s[o];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function ct(s){const e=[];function t(o){for(const n of o)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(s),e}function le(s,e){return Array.isArray(e)?e.some(t=>le(s,t)):z(s,e.link)?!0:e.items?le(s,e.items):!1}function J(s,e){return[...s].map(t=>{const o={...t},n=o.base||e;return n&&o.link&&(o.link=n+o.link),o.items&&(o.items=J(o.items,n)),o})}function G(){const{frontmatter:s,page:e,theme:t}=V(),o=ae("(min-width: 960px)"),n=M(!1),i=y(()=>{const B=t.value.sidebar,S=e.value.relativePath;return B?Te(B,S):[]}),l=M(i.value);O(i,(B,S)=>{JSON.stringify(B)!==JSON.stringify(S)&&(l.value=i.value)});const f=y(()=>s.value.sidebar!==!1&&l.value.length>0&&s.value.layout!=="home"),d=y(()=>$?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),$=y(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),L=y(()=>f.value&&o.value),b=y(()=>f.value?lt(l.value):[]);function P(){n.value=!0}function T(){n.value=!1}function A(){n.value?T():P()}return{isOpen:n,sidebar:l,sidebarGroups:b,hasSidebar:f,hasAside:$,leftAside:d,isSidebarEnabled:L,open:P,close:T,toggle:A}}function ut(s,e){let t;Y(()=>{t=s.value?document.activeElement:void 0}),K(()=>{window.addEventListener("keyup",o)}),ve(()=>{window.removeEventListener("keyup",o)});function o(n){n.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}function dt(s){const{page:e,hash:t}=V(),o=M(!1),n=y(()=>s.value.collapsed!=null),i=y(()=>!!s.value.link),l=M(!1),f=()=>{l.value=z(e.value.relativePath,s.value.link)};O([e,s,t],f),K(f);const d=y(()=>l.value?!0:s.value.items?le(e.value.relativePath,s.value.items):!1),$=y(()=>!!(s.value.items&&s.value.items.length));Y(()=>{o.value=!!(n.value&&s.value.collapsed)}),pe(()=>{(l.value||d.value)&&(o.value=!1)});function L(){n.value&&(o.value=!o.value)}return{collapsed:o,collapsible:n,isLink:i,isActiveLink:l,hasActiveLink:d,hasChildren:$,toggle:L}}function vt(){const{hasSidebar:s}=G(),e=ae("(min-width: 960px)"),t=ae("(min-width: 1280px)");return{isAsideEnabled:y(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const ce=[];function Ne(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function he(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const o=Number(t.tagName[1]);return{element:t,title:pt(t),link:"#"+t.id,level:o}});return ft(e,s)}function pt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function ft(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[o,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(l=>l.level>=o&&l.level<=n),ce.length=0;for(const{element:l,link:f}of s)ce.push({element:l,link:f});const i=[];e:for(let l=0;l=0;d--){const $=s[d];if($.level{requestAnimationFrame(i),window.addEventListener("scroll",o)}),Ee(()=>{l(location.hash)}),ve(()=>{window.removeEventListener("scroll",o)});function i(){if(!t.value)return;const f=window.scrollY,d=window.innerHeight,$=document.body.offsetHeight,L=Math.abs(f+d-$)<1,b=ce.map(({element:T,link:A})=>({link:A,top:mt(T)})).filter(({top:T})=>!Number.isNaN(T)).sort((T,A)=>T.top-A.top);if(!b.length){l(null);return}if(f<1){l(null);return}if(L){l(b[b.length-1].link);return}let P=null;for(const{link:T,top:A}of b){if(A>f+Fe()+4)break;P=T}l(P)}function l(f){n&&n.classList.remove("active"),f==null?n=null:n=s.value.querySelector(`a[href="${decodeURIComponent(f)}"]`);const d=n;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function mt(s){let e=0;for(;s!==document.body;){if(s===null)return NaN;e+=s.offsetTop,s=s.offsetParent}return e}const _t=["href","title"],kt=m({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(s){function e({target:t}){const o=t.href.split("#")[1],n=document.getElementById(decodeURIComponent(o));n==null||n.focus({preventScroll:!0})}return(t,o)=>{const n=q("VPDocOutlineItem",!0);return a(),u("ul",{class:I(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),u(w,null,C(t.headers,({children:i,link:l,title:f})=>(a(),u("li",null,[p("a",{class:"outline-link",href:l,onClick:e,title:f},N(f),9,_t),i!=null&&i.length?(a(),k(n,{key:0,headers:i},null,8,["headers"])):h("",!0)]))),256))],2)}}}),Me=g(kt,[["__scopeId","data-v-53c99d69"]]),bt={class:"content"},gt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},$t=m({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=V(),o=$e([]);Q(()=>{o.value=he(e.value.outline??t.value.outline)});const n=M(),i=M();return ht(n,i),(l,f)=>(a(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:I(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:n},[p("div",bt,[p("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),p("div",gt,N(r(Ne)(r(t))),1),_(Me,{headers:o.value,root:!0},null,8,["headers"])])],2))}}),yt=g($t,[["__scopeId","data-v-f610f197"]]),Pt={class:"VPDocAsideCarbonAds"},Vt=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,o)=>(a(),u("div",Pt,[_(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Lt={class:"VPDocAside"},St=m({__name:"VPDocAside",setup(s){const{theme:e}=V();return(t,o)=>(a(),u("div",Lt,[c(t.$slots,"aside-top",{},void 0,!0),c(t.$slots,"aside-outline-before",{},void 0,!0),_(yt),c(t.$slots,"aside-outline-after",{},void 0,!0),o[0]||(o[0]=p("div",{class:"spacer"},null,-1)),c(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(Vt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):h("",!0),c(t.$slots,"aside-ads-after",{},void 0,!0),c(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Tt=g(St,[["__scopeId","data-v-cb998dce"]]);function Nt(){const{theme:s,page:e}=V();return y(()=>{const{text:t="Edit this page",pattern:o=""}=s.value.editLink||{};let n;return typeof o=="function"?n=o(e.value):n=o.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Mt(){const{page:s,theme:e,frontmatter:t}=V();return y(()=>{var $,L,b,P,T,A,B,S;const o=Te(e.value.sidebar,s.value.relativePath),n=ct(o),i=It(n,H=>H.link.replace(/[?#].*$/,"")),l=i.findIndex(H=>z(s.value.relativePath,H.link)),f=(($=e.value.docFooter)==null?void 0:$.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((L=e.value.docFooter)==null?void 0:L.next)===!1&&!t.value.next||t.value.next===!1;return{prev:f?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=i[l-1])==null?void 0:b.docFooterText)??((P=i[l-1])==null?void 0:P.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((T=i[l-1])==null?void 0:T.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((A=i[l+1])==null?void 0:A.docFooterText)??((B=i[l+1])==null?void 0:B.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((S=i[l+1])==null?void 0:S.link)}}})}function It(s,e){const t=new Set;return s.filter(o=>{const n=e(o);return t.has(n)?!1:t.add(n)})}const F=m({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=y(()=>e.tag??(e.href?"a":"span")),o=y(()=>e.href&&ye.test(e.href)||e.target==="_blank");return(n,i)=>(a(),k(E(t.value),{class:I(["VPLink",{link:n.href,"vp-external-link-icon":o.value,"no-icon":n.noIcon}]),href:n.href?r(fe)(n.href):void 0,target:n.target??(o.value?"_blank":void 0),rel:n.rel??(o.value?"noreferrer":void 0)},{default:v(()=>[c(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),wt={class:"VPLastUpdated"},At=["datetime"],Bt=m({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,lang:o}=V(),n=y(()=>new Date(t.value.lastUpdated)),i=y(()=>n.value.toISOString()),l=M("");return K(()=>{Y(()=>{var f,d,$;l.value=new Intl.DateTimeFormat((d=(f=e.value.lastUpdated)==null?void 0:f.formatOptions)!=null&&d.forceLocale?o.value:void 0,(($=e.value.lastUpdated)==null?void 0:$.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(f,d)=>{var $;return a(),u("p",wt,[D(N((($=r(e).lastUpdated)==null?void 0:$.text)||r(e).lastUpdatedText||"Last updated")+": ",1),p("time",{datetime:i.value},N(l.value),9,At)])}}}),Ct=g(Bt,[["__scopeId","data-v-1bb0c8a8"]]),Ht={key:0,class:"VPDocFooter"},Et={key:0,class:"edit-info"},Ft={key:0,class:"edit-link"},Dt={key:1,class:"last-updated"},Ot={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Gt={class:"pager"},Ut=["innerHTML"],jt=["innerHTML"],zt={class:"pager"},Kt=["innerHTML"],qt=["innerHTML"],Wt=m({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:o}=V(),n=Nt(),i=Mt(),l=y(()=>e.value.editLink&&o.value.editLink!==!1),f=y(()=>t.value.lastUpdated),d=y(()=>l.value||f.value||i.value.prev||i.value.next);return($,L)=>{var b,P,T,A;return d.value?(a(),u("footer",Ht,[c($.$slots,"doc-footer-before",{},void 0,!0),l.value||f.value?(a(),u("div",Et,[l.value?(a(),u("div",Ft,[_(F,{class:"edit-link-button",href:r(n).url,"no-icon":!0},{default:v(()=>[L[0]||(L[0]=p("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),D(" "+N(r(n).text),1)]),_:1},8,["href"])])):h("",!0),f.value?(a(),u("div",Dt,[_(Ct)])):h("",!0)])):h("",!0),(b=r(i).prev)!=null&&b.link||(P=r(i).next)!=null&&P.link?(a(),u("nav",Ot,[L[1]||(L[1]=p("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),p("div",Gt,[(T=r(i).prev)!=null&&T.link?(a(),k(F,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:v(()=>{var B;return[p("span",{class:"desc",innerHTML:((B=r(e).docFooter)==null?void 0:B.prev)||"Previous page"},null,8,Ut),p("span",{class:"title",innerHTML:r(i).prev.text},null,8,jt)]}),_:1},8,["href"])):h("",!0)]),p("div",zt,[(A=r(i).next)!=null&&A.link?(a(),k(F,{key:0,class:"pager-link next",href:r(i).next.link},{default:v(()=>{var B;return[p("span",{class:"desc",innerHTML:((B=r(e).docFooter)==null?void 0:B.next)||"Next page"},null,8,Kt),p("span",{class:"title",innerHTML:r(i).next.text},null,8,qt)]}),_:1},8,["href"])):h("",!0)])])):h("",!0)])):h("",!0)}}}),Rt=g(Wt,[["__scopeId","data-v-1bcd8184"]]),Jt={class:"container"},Xt={class:"aside-container"},Yt={class:"aside-content"},Qt={class:"content"},Zt={class:"content-container"},xt={class:"main"},en=m({__name:"VPDoc",setup(s){const{theme:e}=V(),t=Z(),{hasSidebar:o,hasAside:n,leftAside:i}=G(),l=y(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(f,d)=>{const $=q("Content");return a(),u("div",{class:I(["VPDoc",{"has-sidebar":r(o),"has-aside":r(n)}])},[c(f.$slots,"doc-top",{},void 0,!0),p("div",Jt,[r(n)?(a(),u("div",{key:0,class:I(["aside",{"left-aside":r(i)}])},[d[0]||(d[0]=p("div",{class:"aside-curtain"},null,-1)),p("div",Xt,[p("div",Yt,[_(Tt,null,{"aside-top":v(()=>[c(f.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(f.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(f.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(f.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(f.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(f.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):h("",!0),p("div",Qt,[p("div",Zt,[c(f.$slots,"doc-before",{},void 0,!0),p("main",xt,[_($,{class:I(["vp-doc",[l.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(Rt,null,{"doc-footer-before":v(()=>[c(f.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(f.$slots,"doc-after",{},void 0,!0)])])]),c(f.$slots,"doc-bottom",{},void 0,!0)],2)}}}),tn=g(en,[["__scopeId","data-v-e6f2a212"]]),nn=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(s){const e=s,t=y(()=>e.href&&ye.test(e.href)),o=y(()=>e.tag||e.href?"a":"button");return(n,i)=>(a(),k(E(o.value),{class:I(["VPButton",[n.size,n.theme]]),href:n.href?r(fe)(n.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:v(()=>[D(N(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),on=g(nn,[["__scopeId","data-v-c9cf0e3c"]]),sn=["src","alt"],an=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const o=q("VPImage",!0);return e.image?(a(),u(w,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),u("img",j({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(de)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,sn)):(a(),u(w,{key:1},[_(o,j({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),_(o,j({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):h("",!0)}}}),X=g(an,[["__scopeId","data-v-ab19afbb"]]),rn={class:"container"},ln={class:"main"},cn={key:0,class:"name"},un=["innerHTML"],dn=["innerHTML"],vn=["innerHTML"],pn={key:0,class:"actions"},fn={key:0,class:"image"},hn={class:"image-container"},mn=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=x("hero-image-slot-exists");return(t,o)=>(a(),u("div",{class:I(["VPHero",{"has-image":t.image||r(e)}])},[p("div",rn,[p("div",ln,[c(t.$slots,"home-hero-info-before",{},void 0,!0),c(t.$slots,"home-hero-info",{},()=>[t.name?(a(),u("h1",cn,[p("span",{innerHTML:t.name,class:"clip"},null,8,un)])):h("",!0),t.text?(a(),u("p",{key:1,innerHTML:t.text,class:"text"},null,8,dn)):h("",!0),t.tagline?(a(),u("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,vn)):h("",!0)],!0),c(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),u("div",pn,[(a(!0),u(w,null,C(t.actions,n=>(a(),u("div",{key:n.link,class:"action"},[_(on,{tag:"a",size:"medium",theme:n.theme,text:n.text,href:n.link,target:n.target,rel:n.rel},null,8,["theme","text","href","target","rel"])]))),128))])):h("",!0),c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),u("div",fn,[p("div",hn,[o[0]||(o[0]=p("div",{class:"image-bg"},null,-1)),c(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(X,{key:0,class:"image-src",image:t.image},null,8,["image"])):h("",!0)],!0)])])):h("",!0)])],2))}}),_n=g(mn,[["__scopeId","data-v-b10c5094"]]),kn=m({__name:"VPHomeHero",setup(s){const{frontmatter:e}=V();return(t,o)=>r(e).hero?(a(),k(_n,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":v(()=>[c(t.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[c(t.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[c(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[c(t.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[c(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):h("",!0)}}),bn={class:"box"},gn={key:0,class:"icon"},$n=["innerHTML"],yn=["innerHTML"],Pn=["innerHTML"],Vn={key:4,class:"link-text"},Ln={class:"link-text-value"},Sn=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),k(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[p("article",bn,[typeof e.icon=="object"&&e.icon.wrap?(a(),u("div",gn,[_(X,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(X,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,$n)):h("",!0),p("h2",{class:"title",innerHTML:e.title},null,8,yn),e.details?(a(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,Pn)):h("",!0),e.linkText?(a(),u("div",Vn,[p("p",Ln,[D(N(e.linkText)+" ",1),t[0]||(t[0]=p("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):h("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Tn=g(Sn,[["__scopeId","data-v-bd37d1a2"]]),Nn={key:0,class:"VPFeatures"},Mn={class:"container"},In={class:"items"},wn=m({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=y(()=>{const o=e.features.length;if(o){if(o===2)return"grid-2";if(o===3)return"grid-3";if(o%3===0)return"grid-6";if(o>3)return"grid-4"}else return});return(o,n)=>o.features?(a(),u("div",Nn,[p("div",Mn,[p("div",In,[(a(!0),u(w,null,C(o.features,i=>(a(),u("div",{key:i.title,class:I(["item",[t.value]])},[_(Tn,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):h("",!0)}}),An=g(wn,[["__scopeId","data-v-b1eea84a"]]),Bn=m({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=V();return(t,o)=>r(e).features?(a(),k(An,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):h("",!0)}}),Cn=m({__name:"VPHomeContent",setup(s){const{width:e}=De({initialWidth:0,includeScrollbar:!1});return(t,o)=>(a(),u("div",{class:"vp-doc container",style:Pe(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[c(t.$slots,"default",{},void 0,!0)],4))}}),Hn=g(Cn,[["__scopeId","data-v-c141a4bd"]]),En={class:"VPHome"},Fn=m({__name:"VPHome",setup(s){const{frontmatter:e}=V();return(t,o)=>{const n=q("Content");return a(),u("div",En,[c(t.$slots,"home-hero-before",{},void 0,!0),_(kn,null,{"home-hero-info-before":v(()=>[c(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[c(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[c(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(t.$slots,"home-hero-after",{},void 0,!0),c(t.$slots,"home-features-before",{},void 0,!0),_(Bn),c(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(Hn,{key:0},{default:v(()=>[_(n)]),_:1})):(a(),k(n,{key:1}))])}}}),Dn=g(Fn,[["__scopeId","data-v-07b1ad08"]]),On={},Gn={class:"VPPage"};function Un(s,e){const t=q("Content");return a(),u("div",Gn,[c(s.$slots,"page-top"),_(t),c(s.$slots,"page-bottom")])}const jn=g(On,[["render",Un]]),zn=m({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=V(),{hasSidebar:o}=G();return(n,i)=>(a(),u("div",{class:I(["VPContent",{"has-sidebar":r(o),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?c(n.$slots,"not-found",{key:0},()=>[_(it)],!0):r(t).layout==="page"?(a(),k(jn,{key:1},{"page-top":v(()=>[c(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(Dn,{key:2},{"home-hero-before":v(()=>[c(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[c(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[c(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[c(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[c(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(E(r(t).layout),{key:3})):(a(),k(tn,{key:4},{"doc-top":v(()=>[c(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[c(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[c(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[c(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[c(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Kn=g(zn,[["__scopeId","data-v-9a6c75ad"]]),qn={class:"container"},Wn=["innerHTML"],Rn=["innerHTML"],Jn=m({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=V(),{hasSidebar:o}=G();return(n,i)=>r(e).footer&&r(t).footer!==!1?(a(),u("footer",{key:0,class:I(["VPFooter",{"has-sidebar":r(o)}])},[p("div",qn,[r(e).footer.message?(a(),u("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,Wn)):h("",!0),r(e).footer.copyright?(a(),u("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,Rn)):h("",!0)])],2)):h("",!0)}}),Xn=g(Jn,[["__scopeId","data-v-566314d4"]]);function Yn(){const{theme:s,frontmatter:e}=V(),t=$e([]),o=y(()=>t.value.length>0);return Q(()=>{t.value=he(e.value.outline??s.value.outline)}),{headers:t,hasLocalNav:o}}const Qn={class:"menu-text"},Zn={class:"header"},xn={class:"outline"},eo=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=V(),o=M(!1),n=M(0),i=M(),l=M();function f(b){var P;(P=i.value)!=null&&P.contains(b.target)||(o.value=!1)}O(o,b=>{if(b){document.addEventListener("click",f);return}document.removeEventListener("click",f)}),re("Escape",()=>{o.value=!1}),Q(()=>{o.value=!1});function d(){o.value=!o.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function $(b){b.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),Oe(()=>{o.value=!1}))}function L(){o.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,P)=>(a(),u("div",{class:"VPLocalNavOutlineDropdown",style:Pe({"--vp-vh":n.value+"px"}),ref_key:"main",ref:i},[b.headers.length>0?(a(),u("button",{key:0,onClick:d,class:I({open:o.value})},[p("span",Qn,N(r(Ne)(r(t))),1),P[0]||(P[0]=p("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),u("button",{key:1,onClick:L},N(r(t).returnToTopLabel||"Return to top"),1)),_(ue,{name:"flyout"},{default:v(()=>[o.value?(a(),u("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:$},[p("div",Zn,[p("a",{class:"top-link",href:"#",onClick:L},N(r(t).returnToTopLabel||"Return to top"),1)]),p("div",xn,[_(Me,{headers:b.headers},null,8,["headers"])])],512)):h("",!0)]),_:1})],4))}}),to=g(eo,[["__scopeId","data-v-883964e0"]]),no={class:"container"},oo=["aria-expanded"],so={class:"menu-text"},ao=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=V(),{hasSidebar:o}=G(),{headers:n}=Yn(),{y:i}=Ve(),l=M(0);K(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Q(()=>{n.value=he(t.value.outline??e.value.outline)});const f=y(()=>n.value.length===0),d=y(()=>f.value&&!o.value),$=y(()=>({VPLocalNav:!0,"has-sidebar":o.value,empty:f.value,fixed:d.value}));return(L,b)=>r(t).layout!=="home"&&(!d.value||r(i)>=l.value)?(a(),u("div",{key:0,class:I($.value)},[p("div",no,[r(o)?(a(),u("button",{key:0,class:"menu","aria-expanded":L.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=P=>L.$emit("open-menu"))},[b[1]||(b[1]=p("span",{class:"vpi-align-left menu-icon"},null,-1)),p("span",so,N(r(e).sidebarMenuLabel||"Menu"),1)],8,oo)):h("",!0),_(to,{headers:r(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):h("",!0)}}),ro=g(ao,[["__scopeId","data-v-2488c25a"]]);function io(){const s=M(!1);function e(){s.value=!0,window.addEventListener("resize",n)}function t(){s.value=!1,window.removeEventListener("resize",n)}function o(){s.value?t():e()}function n(){window.outerWidth>=768&&t()}const i=Z();return O(()=>i.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:o}}const lo={},co={class:"VPSwitch",type:"button",role:"switch"},uo={class:"check"},vo={key:0,class:"icon"};function po(s,e){return a(),u("button",co,[p("span",uo,[s.$slots.default?(a(),u("span",vo,[c(s.$slots,"default",{},void 0,!0)])):h("",!0)])])}const fo=g(lo,[["render",po],["__scopeId","data-v-b4ccac88"]]),ho=m({__name:"VPSwitchAppearance",setup(s){const{isDark:e,theme:t}=V(),o=x("toggle-appearance",()=>{e.value=!e.value}),n=M("");return pe(()=>{n.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,l)=>(a(),k(fo,{title:n.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(o)},{default:v(()=>l[0]||(l[0]=[p("span",{class:"vpi-sun sun"},null,-1),p("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),me=g(ho,[["__scopeId","data-v-be9742d9"]]),mo={key:0,class:"VPNavBarAppearance"},_o=m({__name:"VPNavBarAppearance",setup(s){const{site:e}=V();return(t,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",mo,[_(me)])):h("",!0)}}),ko=g(_o,[["__scopeId","data-v-3f90c1a5"]]),_e=M();let Ie=!1,se=0;function bo(s){const e=M(!1);if(ee){!Ie&&go(),se++;const t=O(_e,o=>{var n,i,l;o===s.el.value||(n=s.el.value)!=null&&n.contains(o)?(e.value=!0,(i=s.onFocus)==null||i.call(s)):(e.value=!1,(l=s.onBlur)==null||l.call(s))});ve(()=>{t(),se--,se||$o()})}return Ge(e)}function go(){document.addEventListener("focusin",we),Ie=!0,_e.value=document.activeElement}function $o(){document.removeEventListener("focusin",we)}function we(){_e.value=document.activeElement}const yo={class:"VPMenuLink"},Po=m({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=V();return(t,o)=>(a(),u("div",yo,[_(F,{class:I({active:r(z)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:v(()=>[D(N(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),te=g(Po,[["__scopeId","data-v-f51f088d"]]),Vo={class:"VPMenuGroup"},Lo={key:0,class:"title"},So=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),u("div",Vo,[e.text?(a(),u("p",Lo,N(e.text),1)):h("",!0),(a(!0),u(w,null,C(e.items,o=>(a(),u(w,null,["link"in o?(a(),k(te,{key:0,item:o},null,8,["item"])):h("",!0)],64))),256))]))}}),To=g(So,[["__scopeId","data-v-a6b0397c"]]),No={class:"VPMenu"},Mo={key:0,class:"items"},Io=m({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),u("div",No,[e.items?(a(),u("div",Mo,[(a(!0),u(w,null,C(e.items,o=>(a(),u(w,{key:JSON.stringify(o)},["link"in o?(a(),k(te,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(E(o.component),j({key:1,ref_for:!0},o.props),null,16)):(a(),k(To,{key:2,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):h("",!0),c(e.$slots,"default",{},void 0,!0)]))}}),wo=g(Io,[["__scopeId","data-v-20ed86d6"]]),Ao=["aria-expanded","aria-label"],Bo={key:0,class:"text"},Co=["innerHTML"],Ho={key:1,class:"vpi-more-horizontal icon"},Eo={class:"menu"},Fo=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=M(!1),t=M();bo({el:t,onBlur:o});function o(){e.value=!1}return(n,i)=>(a(),u("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=l=>e.value=!0),onMouseleave:i[2]||(i[2]=l=>e.value=!1)},[p("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:i[0]||(i[0]=l=>e.value=!e.value)},[n.button||n.icon?(a(),u("span",Bo,[n.icon?(a(),u("span",{key:0,class:I([n.icon,"option-icon"])},null,2)):h("",!0),n.button?(a(),u("span",{key:1,innerHTML:n.button},null,8,Co)):h("",!0),i[3]||(i[3]=p("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),u("span",Ho))],8,Ao),p("div",Eo,[_(wo,{items:n.items},{default:v(()=>[c(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ke=g(Fo,[["__scopeId","data-v-af5898d3"]]),Do=["href","aria-label","innerHTML"],Oo=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=y(()=>typeof e.icon=="object"?e.icon.svg:``);return(o,n)=>(a(),u("a",{class:"VPSocialLink no-icon",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Do))}}),Go=g(Oo,[["__scopeId","data-v-358b6670"]]),Uo={class:"VPSocialLinks"},jo=m({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),u("div",Uo,[(a(!0),u(w,null,C(e.links,({link:o,icon:n,ariaLabel:i})=>(a(),k(Go,{key:o,icon:n,link:o,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),be=g(jo,[["__scopeId","data-v-e71e869c"]]),zo={key:0,class:"group translations"},Ko={class:"trans-title"},qo={key:1,class:"group"},Wo={class:"item appearance"},Ro={class:"label"},Jo={class:"appearance-action"},Xo={key:2,class:"group"},Yo={class:"item social-links"},Qo=m({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=V(),{localeLinks:o,currentLang:n}=R({correspondingLink:!0}),i=y(()=>o.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,f)=>i.value?(a(),k(ke,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[r(o).length&&r(n).label?(a(),u("div",zo,[p("p",Ko,N(r(n).label),1),(a(!0),u(w,null,C(r(o),d=>(a(),k(te,{key:d.link,item:d},null,8,["item"]))),128))])):h("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",qo,[p("div",Wo,[p("p",Ro,N(r(t).darkModeSwitchLabel||"Appearance"),1),p("div",Jo,[_(me)])])])):h("",!0),r(t).socialLinks?(a(),u("div",Xo,[p("div",Yo,[_(be,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):h("",!0)]),_:1})):h("",!0)}}),Zo=g(Qo,[["__scopeId","data-v-f953d92f"]]),xo=["aria-expanded"],es=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),u("button",{type:"button",class:I(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=o=>e.$emit("click"))},t[1]||(t[1]=[p("span",{class:"container"},[p("span",{class:"top"}),p("span",{class:"middle"}),p("span",{class:"bottom"})],-1)]),10,xo))}}),ts=g(es,[["__scopeId","data-v-6bee1efd"]]),ns=["innerHTML"],os=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=V();return(t,o)=>(a(),k(F,{class:I({VPNavBarMenuLink:!0,active:r(z)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[p("span",{innerHTML:t.item.text},null,8,ns)]),_:1},8,["class","href","noIcon","target","rel"]))}}),ss=g(os,[["__scopeId","data-v-08fbf4b6"]]),as=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=V(),o=i=>"component"in i?!1:"link"in i?z(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(o),n=y(()=>o(e.item));return(i,l)=>(a(),k(ke,{class:I({VPNavBarMenuGroup:!0,active:r(z)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||n.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),rs={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},is=m({__name:"VPNavBarMenu",setup(s){const{theme:e}=V();return(t,o)=>r(e).nav?(a(),u("nav",rs,[o[0]||(o[0]=p("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),u(w,null,C(r(e).nav,n=>(a(),u(w,{key:JSON.stringify(n)},["link"in n?(a(),k(ss,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(E(n.component),j({key:1,ref_for:!0},n.props),null,16)):(a(),k(as,{key:2,item:n},null,8,["item"]))],64))),128))])):h("",!0)}}),ls=g(is,[["__scopeId","data-v-afb2845e"]]);function cs(s){const{localeIndex:e,theme:t}=V();function o(n){var A,B,S;const i=n.split("."),l=(A=t.value.search)==null?void 0:A.options,f=l&&typeof l=="object",d=f&&((S=(B=l.locales)==null?void 0:B[e.value])==null?void 0:S.translations)||null,$=f&&l.translations||null;let L=d,b=$,P=s;const T=i.pop();for(const H of i){let U=null;const W=P==null?void 0:P[H];W&&(U=P=W);const ne=b==null?void 0:b[H];ne&&(U=b=ne);const oe=L==null?void 0:L[H];oe&&(U=L=oe),W||(P=U),ne||(b=U),oe||(L=U)}return(L==null?void 0:L[T])??(b==null?void 0:b[T])??(P==null?void 0:P[T])??""}return o}const us=["aria-label"],ds={class:"DocSearch-Button-Container"},vs={class:"DocSearch-Button-Placeholder"},ge=m({__name:"VPNavBarSearchButton",setup(s){const t=cs({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(o,n)=>(a(),u("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[p("span",ds,[n[0]||(n[0]=p("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),p("span",vs,N(r(t)("button.buttonText")),1)]),n[1]||(n[1]=p("span",{class:"DocSearch-Button-Keys"},[p("kbd",{class:"DocSearch-Button-Key"}),p("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,us))}}),ps={class:"VPNavBarSearch"},fs={id:"local-search"},hs={key:1,id:"docsearch"},ms=m({__name:"VPNavBarSearch",setup(s){const e=Ue(()=>je(()=>import("./VPLocalSearchBox.DzFCX21k.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:o}=V(),n=M(!1),i=M(!1);K(()=>{});function l(){n.value||(n.value=!0,setTimeout(f,16))}function f(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||f()},16)}function d(b){const P=b.target,T=P.tagName;return P.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"}const $=M(!1);re("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),$.value=!0)}),re("/",b=>{d(b)||(b.preventDefault(),$.value=!0)});const L="local";return(b,P)=>{var T;return a(),u("div",ps,[r(L)==="local"?(a(),u(w,{key:0},[$.value?(a(),k(r(e),{key:0,onClose:P[0]||(P[0]=A=>$.value=!1)})):h("",!0),p("div",fs,[_(ge,{onClick:P[1]||(P[1]=A=>$.value=!0)})])],64)):r(L)==="algolia"?(a(),u(w,{key:1},[n.value?(a(),k(r(t),{key:0,algolia:((T=r(o).search)==null?void 0:T.options)??r(o).algolia,onVnodeBeforeMount:P[2]||(P[2]=A=>i.value=!0)},null,8,["algolia"])):h("",!0),i.value?h("",!0):(a(),u("div",hs,[_(ge,{onClick:l})]))],64)):h("",!0)])}}}),_s=m({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=V();return(t,o)=>r(e).socialLinks?(a(),k(be,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):h("",!0)}}),ks=g(_s,[["__scopeId","data-v-ef6192dc"]]),bs=["href","rel","target"],gs={key:1},$s={key:2},ys=m({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=V(),{hasSidebar:o}=G(),{currentLang:n}=R(),i=y(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=y(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),f=y(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,$)=>(a(),u("div",{class:I(["VPNavBarTitle",{"has-sidebar":r(o)}])},[p("a",{class:"title",href:i.value??r(fe)(r(n).link),rel:l.value,target:f.value},[c(d.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(X,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):h("",!0),r(t).siteTitle?(a(),u("span",gs,N(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),u("span",$s,N(r(e).title),1)):h("",!0),c(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,bs)],2))}}),Ps=g(ys,[["__scopeId","data-v-0ad69264"]]),Vs={class:"items"},Ls={class:"title"},Ss=m({__name:"VPNavBarTranslations",setup(s){const{theme:e}=V(),{localeLinks:t,currentLang:o}=R({correspondingLink:!0});return(n,i)=>r(t).length&&r(o).label?(a(),k(ke,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:v(()=>[p("div",Vs,[p("p",Ls,N(r(o).label),1),(a(!0),u(w,null,C(r(t),l=>(a(),k(te,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):h("",!0)}}),Ts=g(Ss,[["__scopeId","data-v-acee064b"]]),Ns={class:"wrapper"},Ms={class:"container"},Is={class:"title"},ws={class:"content"},As={class:"content-body"},Bs=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const e=s,{y:t}=Ve(),{hasSidebar:o}=G(),{frontmatter:n}=V(),i=M({});return pe(()=>{i.value={"has-sidebar":o.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,f)=>(a(),u("div",{class:I(["VPNavBar",i.value])},[p("div",Ns,[p("div",Ms,[p("div",Is,[_(Ps,null,{"nav-bar-title-before":v(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),p("div",ws,[p("div",As,[c(l.$slots,"nav-bar-content-before",{},void 0,!0),_(ms,{class:"search"}),_(ls,{class:"menu"}),_(Ts,{class:"translations"}),_(ko,{class:"appearance"}),_(ks,{class:"social-links"}),_(Zo,{class:"extra"}),c(l.$slots,"nav-bar-content-after",{},void 0,!0),_(ts,{class:"hamburger",active:l.isScreenOpen,onClick:f[0]||(f[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),f[1]||(f[1]=p("div",{class:"divider"},[p("div",{class:"divider-line"})],-1))],2))}}),Cs=g(Bs,[["__scopeId","data-v-9fd4d1dd"]]),Hs={key:0,class:"VPNavScreenAppearance"},Es={class:"text"},Fs=m({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=V();return(o,n)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",Hs,[p("p",Es,N(r(t).darkModeSwitchLabel||"Appearance"),1),_(me)])):h("",!0)}}),Ds=g(Fs,[["__scopeId","data-v-a3e2920d"]]),Os=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=x("close-screen");return(t,o)=>(a(),k(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Gs=g(Os,[["__scopeId","data-v-1a934d60"]]),Us=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=x("close-screen");return(t,o)=>(a(),k(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:v(()=>[D(N(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Ae=g(Us,[["__scopeId","data-v-aea78dd1"]]),js={class:"VPNavScreenMenuGroupSection"},zs={key:0,class:"title"},Ks=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),u("div",js,[e.text?(a(),u("p",zs,N(e.text),1)):h("",!0),(a(!0),u(w,null,C(e.items,o=>(a(),k(Ae,{key:o.text,item:o},null,8,["item"]))),128))]))}}),qs=g(Ks,[["__scopeId","data-v-f60dbfa7"]]),Ws=["aria-controls","aria-expanded"],Rs=["innerHTML"],Js=["id"],Xs={key:0,class:"item"},Ys={key:1,class:"item"},Qs={key:2,class:"group"},Zs=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=M(!1),o=y(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(i,l)=>(a(),u("div",{class:I(["VPNavScreenMenuGroup",{open:t.value}])},[p("button",{class:"button","aria-controls":o.value,"aria-expanded":t.value,onClick:n},[p("span",{class:"button-text",innerHTML:i.text},null,8,Rs),l[0]||(l[0]=p("span",{class:"vpi-plus button-icon"},null,-1))],8,Ws),p("div",{id:o.value,class:"items"},[(a(!0),u(w,null,C(i.items,f=>(a(),u(w,{key:JSON.stringify(f)},["link"in f?(a(),u("div",Xs,[_(Ae,{item:f},null,8,["item"])])):"component"in f?(a(),u("div",Ys,[(a(),k(E(f.component),j({ref_for:!0},f.props,{"screen-menu":""}),null,16))])):(a(),u("div",Qs,[_(qs,{text:f.text,items:f.items},null,8,["text","items"])]))],64))),128))],8,Js)],2))}}),xs=g(Zs,[["__scopeId","data-v-d99bfeec"]]),ea={key:0,class:"VPNavScreenMenu"},ta=m({__name:"VPNavScreenMenu",setup(s){const{theme:e}=V();return(t,o)=>r(e).nav?(a(),u("nav",ea,[(a(!0),u(w,null,C(r(e).nav,n=>(a(),u(w,{key:JSON.stringify(n)},["link"in n?(a(),k(Gs,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(E(n.component),j({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(a(),k(xs,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):h("",!0)}}),na=m({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=V();return(t,o)=>r(e).socialLinks?(a(),k(be,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):h("",!0)}}),oa={class:"list"},sa=m({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=R({correspondingLink:!0}),o=M(!1);function n(){o.value=!o.value}return(i,l)=>r(e).length&&r(t).label?(a(),u("div",{key:0,class:I(["VPNavScreenTranslations",{open:o.value}])},[p("button",{class:"title",onClick:n},[l[0]||(l[0]=p("span",{class:"vpi-languages icon lang"},null,-1)),D(" "+N(r(t).label)+" ",1),l[1]||(l[1]=p("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),p("ul",oa,[(a(!0),u(w,null,C(r(e),f=>(a(),u("li",{key:f.link,class:"item"},[_(F,{class:"link",href:f.link},{default:v(()=>[D(N(f.text),1)]),_:2},1032,["href"])]))),128))])],2)):h("",!0)}}),aa=g(sa,[["__scopeId","data-v-516e4bc3"]]),ra={class:"container"},ia=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=M(null),t=Le(ee?document.body:null);return(o,n)=>(a(),k(ue,{name:"fade",onEnter:n[0]||(n[0]=i=>t.value=!0),onAfterLeave:n[1]||(n[1]=i=>t.value=!1)},{default:v(()=>[o.open?(a(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[p("div",ra,[c(o.$slots,"nav-screen-content-before",{},void 0,!0),_(ta,{class:"menu"}),_(aa,{class:"translations"}),_(Ds,{class:"appearance"}),_(na,{class:"social-links"}),c(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):h("",!0)]),_:3}))}}),la=g(ia,[["__scopeId","data-v-2dd6d0c7"]]),ca={key:0,class:"VPNav"},ua=m({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=io(),{frontmatter:n}=V(),i=y(()=>n.value.navbar!==!1);return Se("close-screen",t),Y(()=>{ee&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(l,f)=>i.value?(a(),u("header",ca,[_(Cs,{"is-screen-open":r(e),onToggleScreen:r(o)},{"nav-bar-title-before":v(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(la,{open:r(e)},{"nav-screen-content-before":v(()=>[c(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):h("",!0)}}),da=g(ua,[["__scopeId","data-v-7ad780c2"]]),va=["role","tabindex"],pa={key:1,class:"items"},fa=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:o,isLink:n,isActiveLink:i,hasActiveLink:l,hasChildren:f,toggle:d}=dt(y(()=>e.item)),$=y(()=>f.value?"section":"div"),L=y(()=>n.value?"a":"div"),b=y(()=>f.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),P=y(()=>n.value?void 0:"button"),T=y(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":n.value},{"is-active":i.value},{"has-active":l.value}]);function A(S){"key"in S&&S.key!=="Enter"||!e.item.link&&d()}function B(){e.item.link&&d()}return(S,H)=>{const U=q("VPSidebarItem",!0);return a(),k(E($.value),{class:I(["VPSidebarItem",T.value])},{default:v(()=>[S.item.text?(a(),u("div",j({key:0,class:"item",role:P.value},Ke(S.item.items?{click:A,keydown:A}:{},!0),{tabindex:S.item.items&&0}),[H[1]||(H[1]=p("div",{class:"indicator"},null,-1)),S.item.link?(a(),k(F,{key:0,tag:L.value,class:"link",href:S.item.link,rel:S.item.rel,target:S.item.target},{default:v(()=>[(a(),k(E(b.value),{class:"text",innerHTML:S.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(E(b.value),{key:1,class:"text",innerHTML:S.item.text},null,8,["innerHTML"])),S.item.collapsed!=null&&S.item.items&&S.item.items.length?(a(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:B,onKeydown:ze(B,["enter"]),tabindex:"0"},H[0]||(H[0]=[p("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):h("",!0)],16,va)):h("",!0),S.item.items&&S.item.items.length?(a(),u("div",pa,[S.depth<5?(a(!0),u(w,{key:0},C(S.item.items,W=>(a(),k(U,{key:W.text,item:W,depth:S.depth+1},null,8,["item","depth"]))),128)):h("",!0)])):h("",!0)]),_:1},8,["class"])}}}),ha=g(fa,[["__scopeId","data-v-edd2eed8"]]),ma=m({__name:"VPSidebarGroup",props:{items:{}},setup(s){const e=M(!0);let t=null;return K(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),qe(()=>{t!=null&&(clearTimeout(t),t=null)}),(o,n)=>(a(!0),u(w,null,C(o.items,i=>(a(),u("div",{key:i.text,class:I(["group",{"no-transition":e.value}])},[_(ha,{item:i,depth:0},null,8,["item"])],2))),128))}}),_a=g(ma,[["__scopeId","data-v-51288d80"]]),ka={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ba=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=G(),o=s,n=M(null),i=Le(ee?document.body:null);O([o,n],()=>{var f;o.open?(i.value=!0,(f=n.value)==null||f.focus()):i.value=!1},{immediate:!0,flush:"post"});const l=M(0);return O(e,()=>{l.value+=1},{deep:!0}),(f,d)=>r(t)?(a(),u("aside",{key:0,class:I(["VPSidebar",{open:f.open}]),ref_key:"navEl",ref:n,onClick:d[0]||(d[0]=We(()=>{},["stop"]))},[d[2]||(d[2]=p("div",{class:"curtain"},null,-1)),p("nav",ka,[d[1]||(d[1]=p("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),c(f.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(_a,{items:r(e),key:l.value},null,8,["items"])),c(f.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):h("",!0)}}),ga=g(ba,[["__scopeId","data-v-42c4c606"]]),$a=m({__name:"VPSkipLink",setup(s){const e=Z(),t=M();O(()=>e.path,()=>t.value.focus());function o({target:n}){const i=document.getElementById(decodeURIComponent(n.hash).slice(1));if(i){const l=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",l)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",l),i.focus(),window.scrollTo(0,0)}}return(n,i)=>(a(),u(w,null,[p("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),p("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o}," Skip to content ")],64))}}),ya=g($a,[["__scopeId","data-v-c8291ffa"]]),Pa=m({__name:"Layout",setup(s){const{isOpen:e,open:t,close:o}=G(),n=Z();O(()=>n.path,o),ut(e,o);const{frontmatter:i}=V(),l=Re(),f=y(()=>!!l["home-hero-image"]);return Se("hero-image-slot-exists",f),(d,$)=>{const L=q("Content");return r(i).layout!==!1?(a(),u("div",{key:0,class:I(["Layout",r(i).pageClass])},[c(d.$slots,"layout-top",{},void 0,!0),_(ya),_(Qe,{class:"backdrop",show:r(e),onClick:r(o)},null,8,["show","onClick"]),_(da,null,{"nav-bar-title-before":v(()=>[c(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[c(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(ro,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),_(ga,{open:r(e)},{"sidebar-nav-before":v(()=>[c(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[c(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(Kn,null,{"page-top":v(()=>[c(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[c(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[c(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[c(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[c(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[c(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[c(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[c(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[c(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[c(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(Xn),c(d.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(L,{key:1}))}}}),Va=g(Pa,[["__scopeId","data-v-d8b57b2d"]]),Sa={Layout:Va,enhanceApp:({app:s})=>{s.component("Badge",Je)}};export{cs as c,Sa as t,V as u}; diff --git a/assets/contribute_core.md.BABeyVan.js b/assets/contribute_core.md.BABeyVan.js new file mode 100644 index 00000000..66d8cade --- /dev/null +++ b/assets/contribute_core.md.BABeyVan.js @@ -0,0 +1,38 @@ +import{_ as e,c as a,a2 as i,o as t}from"./chunks/framework.C9NVOr0y.js";const g=JSON.parse('{"title":"asdf","description":"","frontmatter":{},"headers":[],"relativePath":"contribute/core.md","filePath":"contribute/core.md","lastUpdated":1728309110000}'),n={name:"contribute/core.md"};function l(o,s,p,r,h,d){return t(),a("div",null,s[0]||(s[0]=[i(`

asdf

asdf core contribution guide.

Initial Setup

Fork asdf on GitHub and/or Git clone the default branch:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

The tools for core development are in this repo's .tool-versions. If you wish to manage with asdf itself, add the plugins:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

Install the versions to develop asdf with:

shell
asdf install

It may be useful to not use asdf to manage the tools during development on your local machine as you may need to break functionality which would then break your dev tooling. Here's the raw list of tools:

  • bats-core: Bash Automated Testing System, for unit testing Bash or POSIX compliant scripts.
  • shellcheck: Static analysis tool for shell scripts.
  • shfmt: A shell parser, formatter, and interpreter with bash support; includes shfmt

Development

If you want to try out your changes without making change to your installed asdf, you can set the $ASDF_DIR variable to the path where you cloned the repository, and temporarily prepend the bin and shims directory of the directory to your path.

It is best to format, lint and test your code locally before you commit or push to the remote. Use the following scripts/commands:

shell
# Lint
+./scripts/lint.bash --check
+
+# Fix & Format
+./scripts/lint.bash --fix
+
+# Test: all tests
+./scripts/test.bash
+
+# Test: for specific command
+bats test/list_commands.bash

TIP

Add tests! - Tests are required for new features and speed up review of bug fixes. Please cover new code paths before you create a Pull Request. See bats-core documentation

Gitignore

The following is the .gitignore file in the asdf-vm/asdf repository. We ignore project-specific files. Files specific to your OS, tools or workflows should be ignored in your global .gitignore configuration, see here for more details.

gitignore
/installs
+/downloads
+/plugins
+/shims
+repository
+.vagrant
+keyrings
+/tmp

.git-blame-ignore-revs

asdf uses a .git-blame-ignore-revs to reduce noise when running a blame. See the git blame documentation for more information.

Use the file with git blame like so:

sh
git blame --ignore-revs-file .git-blame-ignore-revs ./test/install_command.bats

Optionally, configure to use the file on every invocation of blame without manually supplying it:

sh
git config blame.ignoreRevsFile .git-blame-ignore-revs

It is possible to configure IDEs to use this file. For example, when using VSCode (with GitLens), write the following to .vscode/settings.json:

json
{
+  "gitlens.advanced.blame.customArguments": [
+    "--ignore-revs-file",
+    ".git-blame-ignore-revs"
+  ]
+}

Bats Testing

Execute tests locally with:

shell
./scripts/test.bash

Before writing tests please read:

Bats Tips

Bats debugging can be difficult at times. Using the TAP output with -t flag will enable you to print outputs with the special file descriptor >&3 during test execution, simplifying debugging. As an example:

shell
# test/some_tests.bats
+
+printf "%s\\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\\n" "Will be printed during bats -t test/some_tests.bats" >&3

This is further documented in bats-core Printing to the Terminal.

Pull Requests, Releases & Conventional Commits

asdf is using an automated release tool called Release Please to automatically bump the SemVer version and generate the Changelog. This information is determined by reading the commit history since the last release.

Conventional Commit messages define the format of the Pull Request Title which becomes the commit message format on the default branch. This is enforced with GitHub Action amannn/action-semantic-pull-request.

Conventional Commit follows this format:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

The full list of <types> are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.

  • !: indicates a breaking change
  • fix: will create a new SemVer patch
  • feat: will create a new SemVer minor
  • <type>!: will create a new SemVer major

The Pull Request Title must follow this format.

TIP

Use Conventional Commit message format for your Pull Request Title.

Docker Images

The asdf-alpine and asdf-ubuntu projects are an ongoing effort to provide Dockerized images of some asdf tools. You can use these docker images as base for your development servers, or for running your production apps.

`,47)]))}const k=e(n,[["render",l]]);export{g as __pageData,k as default}; diff --git a/assets/contribute_core.md.BABeyVan.lean.js b/assets/contribute_core.md.BABeyVan.lean.js new file mode 100644 index 00000000..66d8cade --- /dev/null +++ b/assets/contribute_core.md.BABeyVan.lean.js @@ -0,0 +1,38 @@ +import{_ as e,c as a,a2 as i,o as t}from"./chunks/framework.C9NVOr0y.js";const g=JSON.parse('{"title":"asdf","description":"","frontmatter":{},"headers":[],"relativePath":"contribute/core.md","filePath":"contribute/core.md","lastUpdated":1728309110000}'),n={name:"contribute/core.md"};function l(o,s,p,r,h,d){return t(),a("div",null,s[0]||(s[0]=[i(`

asdf

asdf core contribution guide.

Initial Setup

Fork asdf on GitHub and/or Git clone the default branch:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

The tools for core development are in this repo's .tool-versions. If you wish to manage with asdf itself, add the plugins:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

Install the versions to develop asdf with:

shell
asdf install

It may be useful to not use asdf to manage the tools during development on your local machine as you may need to break functionality which would then break your dev tooling. Here's the raw list of tools:

  • bats-core: Bash Automated Testing System, for unit testing Bash or POSIX compliant scripts.
  • shellcheck: Static analysis tool for shell scripts.
  • shfmt: A shell parser, formatter, and interpreter with bash support; includes shfmt

Development

If you want to try out your changes without making change to your installed asdf, you can set the $ASDF_DIR variable to the path where you cloned the repository, and temporarily prepend the bin and shims directory of the directory to your path.

It is best to format, lint and test your code locally before you commit or push to the remote. Use the following scripts/commands:

shell
# Lint
+./scripts/lint.bash --check
+
+# Fix & Format
+./scripts/lint.bash --fix
+
+# Test: all tests
+./scripts/test.bash
+
+# Test: for specific command
+bats test/list_commands.bash

TIP

Add tests! - Tests are required for new features and speed up review of bug fixes. Please cover new code paths before you create a Pull Request. See bats-core documentation

Gitignore

The following is the .gitignore file in the asdf-vm/asdf repository. We ignore project-specific files. Files specific to your OS, tools or workflows should be ignored in your global .gitignore configuration, see here for more details.

gitignore
/installs
+/downloads
+/plugins
+/shims
+repository
+.vagrant
+keyrings
+/tmp

.git-blame-ignore-revs

asdf uses a .git-blame-ignore-revs to reduce noise when running a blame. See the git blame documentation for more information.

Use the file with git blame like so:

sh
git blame --ignore-revs-file .git-blame-ignore-revs ./test/install_command.bats

Optionally, configure to use the file on every invocation of blame without manually supplying it:

sh
git config blame.ignoreRevsFile .git-blame-ignore-revs

It is possible to configure IDEs to use this file. For example, when using VSCode (with GitLens), write the following to .vscode/settings.json:

json
{
+  "gitlens.advanced.blame.customArguments": [
+    "--ignore-revs-file",
+    ".git-blame-ignore-revs"
+  ]
+}

Bats Testing

Execute tests locally with:

shell
./scripts/test.bash

Before writing tests please read:

Bats Tips

Bats debugging can be difficult at times. Using the TAP output with -t flag will enable you to print outputs with the special file descriptor >&3 during test execution, simplifying debugging. As an example:

shell
# test/some_tests.bats
+
+printf "%s\\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\\n" "Will be printed during bats -t test/some_tests.bats" >&3

This is further documented in bats-core Printing to the Terminal.

Pull Requests, Releases & Conventional Commits

asdf is using an automated release tool called Release Please to automatically bump the SemVer version and generate the Changelog. This information is determined by reading the commit history since the last release.

Conventional Commit messages define the format of the Pull Request Title which becomes the commit message format on the default branch. This is enforced with GitHub Action amannn/action-semantic-pull-request.

Conventional Commit follows this format:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

The full list of <types> are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.

  • !: indicates a breaking change
  • fix: will create a new SemVer patch
  • feat: will create a new SemVer minor
  • <type>!: will create a new SemVer major

The Pull Request Title must follow this format.

TIP

Use Conventional Commit message format for your Pull Request Title.

Docker Images

The asdf-alpine and asdf-ubuntu projects are an ongoing effort to provide Dockerized images of some asdf tools. You can use these docker images as base for your development servers, or for running your production apps.

`,47)]))}const k=e(n,[["render",l]]);export{g as __pageData,k as default}; diff --git a/assets/contribute_documentation.md.BYyBOKz0.js b/assets/contribute_documentation.md.BYyBOKz0.js new file mode 100644 index 00000000..ff60ed67 --- /dev/null +++ b/assets/contribute_documentation.md.BYyBOKz0.js @@ -0,0 +1,42 @@ +import{_ as i,c as a,a2 as e,o as n}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Docs & Site","description":"","frontmatter":{},"headers":[],"relativePath":"contribute/documentation.md","filePath":"contribute/documentation.md","lastUpdated":1687069487000}'),t={name:"contribute/documentation.md"};function l(p,s,h,o,r,d){return n(),a("div",null,s[0]||(s[0]=[e(`

Docs & Site

Documentation & site contribution guide.

Initial Setup

Fork asdf on GitHub and/or Git clone the default branch:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

The tools for Docs site development are managed with asdf in the docs/.tool-versions. Add the plugins with:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

Install the tool version(s) with:

shell
asdf install
  • Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine.

Install Node.js dependencies from docs/package.json:

shell
npm install

Development

VitePress (v2) is the Static Site Generator (SSG) we use to build the asdf documentation site. It was chosen to replace Docsify.js and subsequently VuePress as we would like to support an HTML only fallback when users do not have JavaScript available or enabled. This was not possible with Docsify & VitePress quicly supplanted VuePress. Other than this, the feature-set is largely the same, with the focus on writing Markdown files with minimal configuration.

package.json contains the scripts required for development:

@code json{3-5}

To start the local development server:

shell
npm run dev

Format the code before committing:

shell
npm run format

Pull Requests, Releases & Conventional Commits

asdf is using an automated release pipeline which relies on Conventional Commits in PR titles. Detailed documentation found in the core contribution guide.

When creating a PR for documentation changes please make the PR title with the Conventional Commit type docs in the format docs: <description>.

Vitepress

Configuration of the site is contained within a few TypeScript files with JS Objects used to represent the config. They are:

To simplify the root config, the larger JS Objects representing the navbar and sidebar configuration have been extracted and separated by their locale. See both in:

  • docs/.vitepress/navbars.js
  • docs/.vitepress/sidebars.js

With the official documentation for these configs living in the Default Theme Reference.

I18n

VitePress has first-class support for internationalization. The root config docs/.vitepress/config.js defines the supported locales with their URL, title in the selection dropdown menu and navbar/sidebar configs references.

The navbar/sidebar configs are captured in the aforementioned config files, separated by locale and exported individually.

The markdown content for each locale must fall under a folder with the same name as the keys for locales in the root config. That is:

js
// docs/.vitepress/config.js
+export default defineConfig({
+  ...
+  locales: {
+    root: {
+      label: "English",
+        lang: "en-US",
+        themeConfig: {
+        nav: navbars.en,
+          sidebar: sidebars.en,
+      },
+    },
+    "pt-br": {
+      label: "Brazilian Portuguese",
+        lang: "pr-br",
+        themeConfig: {
+        nav: navbars.pt_br,
+          sidebar: sidebars.pt_br,
+      },
+    },
+    "zh-hans": {
+      label: "简体中文",
+        lang: "zh-hans",
+        themeConfig: {
+        nav: navbars.zh_hans,
+          sidebar: sidebars.zh_hans,
+      },
+    },
+  },
+})

/pt-BR/ will require the same set of markdown files located under docs/pt-BR/, like so:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

The official VitePress i18n documentation goes into more detail.

`,37)]))}const g=i(t,[["render",l]]);export{c as __pageData,g as default}; diff --git a/assets/contribute_documentation.md.BYyBOKz0.lean.js b/assets/contribute_documentation.md.BYyBOKz0.lean.js new file mode 100644 index 00000000..ff60ed67 --- /dev/null +++ b/assets/contribute_documentation.md.BYyBOKz0.lean.js @@ -0,0 +1,42 @@ +import{_ as i,c as a,a2 as e,o as n}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Docs & Site","description":"","frontmatter":{},"headers":[],"relativePath":"contribute/documentation.md","filePath":"contribute/documentation.md","lastUpdated":1687069487000}'),t={name:"contribute/documentation.md"};function l(p,s,h,o,r,d){return n(),a("div",null,s[0]||(s[0]=[e(`

Docs & Site

Documentation & site contribution guide.

Initial Setup

Fork asdf on GitHub and/or Git clone the default branch:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

The tools for Docs site development are managed with asdf in the docs/.tool-versions. Add the plugins with:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

Install the tool version(s) with:

shell
asdf install
  • Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine.

Install Node.js dependencies from docs/package.json:

shell
npm install

Development

VitePress (v2) is the Static Site Generator (SSG) we use to build the asdf documentation site. It was chosen to replace Docsify.js and subsequently VuePress as we would like to support an HTML only fallback when users do not have JavaScript available or enabled. This was not possible with Docsify & VitePress quicly supplanted VuePress. Other than this, the feature-set is largely the same, with the focus on writing Markdown files with minimal configuration.

package.json contains the scripts required for development:

@code json{3-5}

To start the local development server:

shell
npm run dev

Format the code before committing:

shell
npm run format

Pull Requests, Releases & Conventional Commits

asdf is using an automated release pipeline which relies on Conventional Commits in PR titles. Detailed documentation found in the core contribution guide.

When creating a PR for documentation changes please make the PR title with the Conventional Commit type docs in the format docs: <description>.

Vitepress

Configuration of the site is contained within a few TypeScript files with JS Objects used to represent the config. They are:

To simplify the root config, the larger JS Objects representing the navbar and sidebar configuration have been extracted and separated by their locale. See both in:

  • docs/.vitepress/navbars.js
  • docs/.vitepress/sidebars.js

With the official documentation for these configs living in the Default Theme Reference.

I18n

VitePress has first-class support for internationalization. The root config docs/.vitepress/config.js defines the supported locales with their URL, title in the selection dropdown menu and navbar/sidebar configs references.

The navbar/sidebar configs are captured in the aforementioned config files, separated by locale and exported individually.

The markdown content for each locale must fall under a folder with the same name as the keys for locales in the root config. That is:

js
// docs/.vitepress/config.js
+export default defineConfig({
+  ...
+  locales: {
+    root: {
+      label: "English",
+        lang: "en-US",
+        themeConfig: {
+        nav: navbars.en,
+          sidebar: sidebars.en,
+      },
+    },
+    "pt-br": {
+      label: "Brazilian Portuguese",
+        lang: "pr-br",
+        themeConfig: {
+        nav: navbars.pt_br,
+          sidebar: sidebars.pt_br,
+      },
+    },
+    "zh-hans": {
+      label: "简体中文",
+        lang: "zh-hans",
+        themeConfig: {
+        nav: navbars.zh_hans,
+          sidebar: sidebars.zh_hans,
+      },
+    },
+  },
+})

/pt-BR/ will require the same set of markdown files located under docs/pt-BR/, like so:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

The official VitePress i18n documentation goes into more detail.

`,37)]))}const g=i(t,[["render",l]]);export{c as __pageData,g as default}; diff --git a/assets/contribute_first-party-plugins.md.CpFWKmHh.js b/assets/contribute_first-party-plugins.md.CpFWKmHh.js new file mode 100644 index 00000000..e1a12f33 --- /dev/null +++ b/assets/contribute_first-party-plugins.md.CpFWKmHh.js @@ -0,0 +1 @@ +import{_ as r,c as t,a2 as a,o as i}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"First-Party Plugins","description":"","frontmatter":{},"headers":[],"relativePath":"contribute/first-party-plugins.md","filePath":"contribute/first-party-plugins.md","lastUpdated":1627017981000}'),o={name:"contribute/first-party-plugins.md"};function s(l,e,n,d,c,f){return i(),t("div",null,e[0]||(e[0]=[a('

First-Party Plugins

The asdf core team has authored some plugins relevant to their daily work life. Help is always welcome in maintaining and improving these plugins. See the associated repo for each linked below:

For community plugins, see:

',5)]))}const g=r(o,[["render",s]]);export{u as __pageData,g as default}; diff --git a/assets/contribute_first-party-plugins.md.CpFWKmHh.lean.js b/assets/contribute_first-party-plugins.md.CpFWKmHh.lean.js new file mode 100644 index 00000000..e1a12f33 --- /dev/null +++ b/assets/contribute_first-party-plugins.md.CpFWKmHh.lean.js @@ -0,0 +1 @@ +import{_ as r,c as t,a2 as a,o as i}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"First-Party Plugins","description":"","frontmatter":{},"headers":[],"relativePath":"contribute/first-party-plugins.md","filePath":"contribute/first-party-plugins.md","lastUpdated":1627017981000}'),o={name:"contribute/first-party-plugins.md"};function s(l,e,n,d,c,f){return i(),t("div",null,e[0]||(e[0]=[a('

First-Party Plugins

The asdf core team has authored some plugins relevant to their daily work life. Help is always welcome in maintaining and improving these plugins. See the associated repo for each linked below:

For community plugins, see:

',5)]))}const g=r(o,[["render",s]]);export{u as __pageData,g as default}; diff --git a/assets/contribute_github-actions.md.CA9Mkw8-.js b/assets/contribute_github-actions.md.CA9Mkw8-.js new file mode 100644 index 00000000..75ca7329 --- /dev/null +++ b/assets/contribute_github-actions.md.CA9Mkw8-.js @@ -0,0 +1 @@ +import{_ as i,c as s,j as t,a as e,o as n}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"GitHub Actions","description":"","frontmatter":{},"headers":[],"relativePath":"contribute/github-actions.md","filePath":"contribute/github-actions.md","lastUpdated":1627017981000}'),o={name:"contribute/github-actions.md"};function r(c,a,u,d,l,h){return n(),s("div",null,a[0]||(a[0]=[t("h1",{id:"github-actions",tabindex:"-1"},[e("GitHub Actions "),t("a",{class:"header-anchor",href:"#github-actions","aria-label":'Permalink to "GitHub Actions"'},"​")],-1),t("p",null,[e("Thanks for your interest, please see the "),t("a",{href:"https://github.com/asdf-vm/actions",target:"_blank",rel:"noreferrer"},"asdf actions repo"),e(" for their existing Issues, conversations and Contributing Guidelines.")],-1)]))}const f=i(o,[["render",r]]);export{p as __pageData,f as default}; diff --git a/assets/contribute_github-actions.md.CA9Mkw8-.lean.js b/assets/contribute_github-actions.md.CA9Mkw8-.lean.js new file mode 100644 index 00000000..75ca7329 --- /dev/null +++ b/assets/contribute_github-actions.md.CA9Mkw8-.lean.js @@ -0,0 +1 @@ +import{_ as i,c as s,j as t,a as e,o as n}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"GitHub Actions","description":"","frontmatter":{},"headers":[],"relativePath":"contribute/github-actions.md","filePath":"contribute/github-actions.md","lastUpdated":1627017981000}'),o={name:"contribute/github-actions.md"};function r(c,a,u,d,l,h){return n(),s("div",null,a[0]||(a[0]=[t("h1",{id:"github-actions",tabindex:"-1"},[e("GitHub Actions "),t("a",{class:"header-anchor",href:"#github-actions","aria-label":'Permalink to "GitHub Actions"'},"​")],-1),t("p",null,[e("Thanks for your interest, please see the "),t("a",{href:"https://github.com/asdf-vm/actions",target:"_blank",rel:"noreferrer"},"asdf actions repo"),e(" for their existing Issues, conversations and Contributing Guidelines.")],-1)]))}const f=i(o,[["render",r]]);export{p as __pageData,f as default}; diff --git a/assets/guide_getting-started.md.C3BDv6cZ.js b/assets/guide_getting-started.md.C3BDv6cZ.js new file mode 100644 index 00000000..f83c6c56 --- /dev/null +++ b/assets/guide_getting-started.md.C3BDv6cZ.js @@ -0,0 +1,13 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Getting Started","description":"","frontmatter":{},"headers":[],"relativePath":"guide/getting-started.md","filePath":"guide/getting-started.md","lastUpdated":1724080713000}'),l={name:"guide/getting-started.md"};function n(h,s,o,p,d,r){return t(),a("div",null,s[0]||(s[0]=[e(`

Getting Started

asdf installation involves:

  1. Installing dependencies
  2. Downloading asdf core
  3. Installing asdf
  4. Installing a plugin for each tool/runtime you wish to manage
  5. Installing a version of the tool/runtime
  6. Setting global and project versions via .tool-versions config files

1. Install Dependencies

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. Download asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. Install asdf

There are many different combinations of Shells, OSs & Installation methods all of which affect the configuration here. Expand the selection below that best matches your system.

macOS users, be sure to read the warning about path_helper at the end of this section.

Bash & Git

Add the following to ~/.bashrc:

shell
. "$HOME/.asdf/asdf.sh"

Completions must be configured by adding the following to your .bashrc:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. Unless changing back to Bash, follow the ZSH instructions.

Add the following to ~/.bash_profile:

shell
. "$HOME/.asdf/asdf.sh"

Completions must be configured manually with the following entry in your .bash_profile:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

Add asdf.sh to your ~/.bashrc with:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bashrc

Completions will need to be configured as per Homebrew's instructions or with the following:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bashrc
Bash & Homebrew (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. Unless changing back to Bash, follow the ZSH instructions.

Add asdf.sh to your ~/.bash_profile with:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bash_profile

Completions will need to be configured as per Homebrew's instructions or with the following:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bash_profile
Bash & Pacman

Add the following to ~/.bashrc:

shell
. /opt/asdf-vm/asdf.sh

bash-completion needs to be installed for the completions to work.

Fish & Git

Add the following to ~/.config/fish/config.fish:

shell
source ~/.asdf/asdf.fish

Completions must be configured manually with the following command:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

Add asdf.fish to your ~/.config/fish/config.fish with:

shell
echo -e "\\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

Completions are handled by Homebrew for the Fish shell. Friendly!

Fish & Pacman

Add the following to ~/.config/fish/config.fish:

shell
source /opt/asdf-vm/asdf.fish

Completions are automatically configured on installation by the AUR package.

Elvish & Git

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

Elvish & Homebrew

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

Elvish & Pacman

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

ZSH & Git

Add the following to ~/.zshrc:

shell
. "$HOME/.asdf/asdf.sh"

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

Completions are configured by either a ZSH Framework asdf plugin or by adding the following to your .zshrc:

shell
# append completions to fpath
+fpath=(\${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • if you are using a custom compinit setup, ensure compinit is below your sourcing of asdf.sh
  • if you are using a custom compinit setup with a ZSH Framework, ensure compinit is below your sourcing of the framework

Warning

If you are using a ZSH Framework the associated asdf plugin may need to be updated to use the new ZSH completions properly via fpath. The Oh-My-ZSH asdf plugin is yet to be updated, see ohmyzsh/ohmyzsh#8837.

ZSH & Homebrew

Add asdf.sh to your ~/.zshrc with:

shell
echo -e "\\n. $(brew --prefix asdf)/libexec/asdf.sh" >> \${ZDOTDIR:-~}/.zshrc

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

Completions are configured by either a ZSH Framework asdf or will need to be configured as per Homebrew's instructions. If you are using a ZSH Framework the associated plugin for asdf may need to be updated to use the new ZSH completions properly via fpath. The Oh-My-ZSH asdf plugin is yet to be updated, see ohmyzsh/ohmyzsh#8837.

ZSH & Pacman

Add the following to ~/.zshrc:

shell
. /opt/asdf-vm/asdf.sh

Completions are placed in a ZSH friendly location, but ZSH must be configured to use the autocompletions.

PowerShell Core & Git

Add the following to ~/.config/powershell/profile.ps1:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

Add asdf.sh to your ~/.config/powershell/profile.ps1 with:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.ps1\\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

Add the following to ~/.config/powershell/profile.ps1:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

Completions are automatically configured

Nushell & Homebrew

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

Completions are automatically configured

Nushell & Pacman

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\\n$env.ASDF_DIR = '/opt/asdf-vm/'\\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

Completions are automatically configured.

POSIX Shell & Git

Add the following to ~/.profile:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

Add asdf.sh to your ~/.profile with:

shell
echo -e "\\nexport ASDF_DIR=\\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
+echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
POSIX Shell & Pacman

Add the following to ~/.profile:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdf scripts need to be sourced after you have set your $PATH and after you have sourced your framework (oh-my-zsh etc).

WARNING

On macOS, starting a Bash or Zsh shell automatically calls a utility called path_helper. path_helper can rearrange items in PATH (and MANPATH), causing inconsistent behavior for tools that require specific ordering. To workaround this, asdf on macOS defaults to forcily adding its PATH-entries to the front (taking highest priority). This is controllable with the ASDF_FORCE_PREPEND variable.

Restart your shell so that PATH changes take effect. Opening a new terminal tab will usually do it.

Core Installation Complete!

This completes the installation of the asdf core 🎉

asdf is only useful once you install a plugin, install a tool and manage its versions. Continue the guide below to learn how to do this.

4. Install a Plugin

For demonstration purposes we will install & set Node.js via the asdf-nodejs plugin.

Plugin Dependencies

Each plugin has dependencies so we need to check the plugin repo where they should be listed. For asdf-nodejs they are:

OSDependency Installation
Debianapt-get install dirmngr gpg curl gawk
CentOS/ Rocky Linux/ AlmaLinuxyum install gnupg2 curl gawk
macOSbrew install gpg gawk

We should install dependencies first as some Plugins have post-install hooks.

Install the Plugin

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. Install a Version

Now we have a plugin for Node.js we can install a version of the tool.

We can see which versions are available with asdf list all nodejs or a subset of versions with asdf list all nodejs 14.

We will just install the latest available version:

shell
asdf install nodejs latest

Note

asdf enforces exact versions. latest is a helper throughout asdf that will resolve to the actual version number at the time of execution.

6. Set a Version

asdf performs a version lookup of a tool in all .tool-versions files from the current working directory up to the $HOME directory. The lookup occurs just-in-time when you execute a tool that asdf manages.

WARNING

Without a version listed for a tool execution of the tool will error. asdf current will show you the tool & version resolution, or absence of, from your current directory so you can observe which tools will fail to execute.

Global

Global defaults are managed in $HOME/.tool-versions. Set a global version with:

shell
asdf global nodejs latest

$HOME/.tool-versions will then look like:

nodejs 16.5.0

Some OSs already have tools installed that are managed by the system and not asdf, python is a common example. You need to tell asdf to pass the management back to the system. The Versions reference section will guide you.

Local

Local versions are defined in the $PWD/.tool-versions file (your current working directory). Usually, this will be the Git repository for a project. When in your desired directory execute:

shell
asdf local nodejs latest

$PWD/.tool-versions will then look like:

nodejs 16.5.0

Using Existing Tool Version Files

asdf supports the migration from existing version files from other version managers. Eg: .ruby-version for the case of rbenv. This is supported on a per-plugin basis.

asdf-nodejs supports this via both .nvmrc and .node-version files. To enable this, add the following to your asdf configuration file $HOME/.asdfrc:

legacy_version_file = yes

See the configuration reference page for more config options.

Guide Complete!

That completes the Getting Started guide for asdf 🎉 You can now manage nodejs versions for your project. Follow similar steps for each type of tool in your project!

asdf has many more commands to become familiar with, you can see them all by running asdf --help or asdf. The core of the commands are broken into three categories:

`,82)]))}const g=i(l,[["render",n]]);export{c as __pageData,g as default}; diff --git a/assets/guide_getting-started.md.C3BDv6cZ.lean.js b/assets/guide_getting-started.md.C3BDv6cZ.lean.js new file mode 100644 index 00000000..f83c6c56 --- /dev/null +++ b/assets/guide_getting-started.md.C3BDv6cZ.lean.js @@ -0,0 +1,13 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Getting Started","description":"","frontmatter":{},"headers":[],"relativePath":"guide/getting-started.md","filePath":"guide/getting-started.md","lastUpdated":1724080713000}'),l={name:"guide/getting-started.md"};function n(h,s,o,p,d,r){return t(),a("div",null,s[0]||(s[0]=[e(`

Getting Started

asdf installation involves:

  1. Installing dependencies
  2. Downloading asdf core
  3. Installing asdf
  4. Installing a plugin for each tool/runtime you wish to manage
  5. Installing a version of the tool/runtime
  6. Setting global and project versions via .tool-versions config files

1. Install Dependencies

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. Download asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. Install asdf

There are many different combinations of Shells, OSs & Installation methods all of which affect the configuration here. Expand the selection below that best matches your system.

macOS users, be sure to read the warning about path_helper at the end of this section.

Bash & Git

Add the following to ~/.bashrc:

shell
. "$HOME/.asdf/asdf.sh"

Completions must be configured by adding the following to your .bashrc:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. Unless changing back to Bash, follow the ZSH instructions.

Add the following to ~/.bash_profile:

shell
. "$HOME/.asdf/asdf.sh"

Completions must be configured manually with the following entry in your .bash_profile:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

Add asdf.sh to your ~/.bashrc with:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bashrc

Completions will need to be configured as per Homebrew's instructions or with the following:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bashrc
Bash & Homebrew (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. Unless changing back to Bash, follow the ZSH instructions.

Add asdf.sh to your ~/.bash_profile with:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bash_profile

Completions will need to be configured as per Homebrew's instructions or with the following:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bash_profile
Bash & Pacman

Add the following to ~/.bashrc:

shell
. /opt/asdf-vm/asdf.sh

bash-completion needs to be installed for the completions to work.

Fish & Git

Add the following to ~/.config/fish/config.fish:

shell
source ~/.asdf/asdf.fish

Completions must be configured manually with the following command:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

Add asdf.fish to your ~/.config/fish/config.fish with:

shell
echo -e "\\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

Completions are handled by Homebrew for the Fish shell. Friendly!

Fish & Pacman

Add the following to ~/.config/fish/config.fish:

shell
source /opt/asdf-vm/asdf.fish

Completions are automatically configured on installation by the AUR package.

Elvish & Git

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

Elvish & Homebrew

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

Elvish & Pacman

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

ZSH & Git

Add the following to ~/.zshrc:

shell
. "$HOME/.asdf/asdf.sh"

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

Completions are configured by either a ZSH Framework asdf plugin or by adding the following to your .zshrc:

shell
# append completions to fpath
+fpath=(\${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • if you are using a custom compinit setup, ensure compinit is below your sourcing of asdf.sh
  • if you are using a custom compinit setup with a ZSH Framework, ensure compinit is below your sourcing of the framework

Warning

If you are using a ZSH Framework the associated asdf plugin may need to be updated to use the new ZSH completions properly via fpath. The Oh-My-ZSH asdf plugin is yet to be updated, see ohmyzsh/ohmyzsh#8837.

ZSH & Homebrew

Add asdf.sh to your ~/.zshrc with:

shell
echo -e "\\n. $(brew --prefix asdf)/libexec/asdf.sh" >> \${ZDOTDIR:-~}/.zshrc

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

Completions are configured by either a ZSH Framework asdf or will need to be configured as per Homebrew's instructions. If you are using a ZSH Framework the associated plugin for asdf may need to be updated to use the new ZSH completions properly via fpath. The Oh-My-ZSH asdf plugin is yet to be updated, see ohmyzsh/ohmyzsh#8837.

ZSH & Pacman

Add the following to ~/.zshrc:

shell
. /opt/asdf-vm/asdf.sh

Completions are placed in a ZSH friendly location, but ZSH must be configured to use the autocompletions.

PowerShell Core & Git

Add the following to ~/.config/powershell/profile.ps1:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

Add asdf.sh to your ~/.config/powershell/profile.ps1 with:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.ps1\\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

Add the following to ~/.config/powershell/profile.ps1:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

Completions are automatically configured

Nushell & Homebrew

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

Completions are automatically configured

Nushell & Pacman

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\\n$env.ASDF_DIR = '/opt/asdf-vm/'\\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

Completions are automatically configured.

POSIX Shell & Git

Add the following to ~/.profile:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

Add asdf.sh to your ~/.profile with:

shell
echo -e "\\nexport ASDF_DIR=\\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
+echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
POSIX Shell & Pacman

Add the following to ~/.profile:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdf scripts need to be sourced after you have set your $PATH and after you have sourced your framework (oh-my-zsh etc).

WARNING

On macOS, starting a Bash or Zsh shell automatically calls a utility called path_helper. path_helper can rearrange items in PATH (and MANPATH), causing inconsistent behavior for tools that require specific ordering. To workaround this, asdf on macOS defaults to forcily adding its PATH-entries to the front (taking highest priority). This is controllable with the ASDF_FORCE_PREPEND variable.

Restart your shell so that PATH changes take effect. Opening a new terminal tab will usually do it.

Core Installation Complete!

This completes the installation of the asdf core 🎉

asdf is only useful once you install a plugin, install a tool and manage its versions. Continue the guide below to learn how to do this.

4. Install a Plugin

For demonstration purposes we will install & set Node.js via the asdf-nodejs plugin.

Plugin Dependencies

Each plugin has dependencies so we need to check the plugin repo where they should be listed. For asdf-nodejs they are:

OSDependency Installation
Debianapt-get install dirmngr gpg curl gawk
CentOS/ Rocky Linux/ AlmaLinuxyum install gnupg2 curl gawk
macOSbrew install gpg gawk

We should install dependencies first as some Plugins have post-install hooks.

Install the Plugin

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. Install a Version

Now we have a plugin for Node.js we can install a version of the tool.

We can see which versions are available with asdf list all nodejs or a subset of versions with asdf list all nodejs 14.

We will just install the latest available version:

shell
asdf install nodejs latest

Note

asdf enforces exact versions. latest is a helper throughout asdf that will resolve to the actual version number at the time of execution.

6. Set a Version

asdf performs a version lookup of a tool in all .tool-versions files from the current working directory up to the $HOME directory. The lookup occurs just-in-time when you execute a tool that asdf manages.

WARNING

Without a version listed for a tool execution of the tool will error. asdf current will show you the tool & version resolution, or absence of, from your current directory so you can observe which tools will fail to execute.

Global

Global defaults are managed in $HOME/.tool-versions. Set a global version with:

shell
asdf global nodejs latest

$HOME/.tool-versions will then look like:

nodejs 16.5.0

Some OSs already have tools installed that are managed by the system and not asdf, python is a common example. You need to tell asdf to pass the management back to the system. The Versions reference section will guide you.

Local

Local versions are defined in the $PWD/.tool-versions file (your current working directory). Usually, this will be the Git repository for a project. When in your desired directory execute:

shell
asdf local nodejs latest

$PWD/.tool-versions will then look like:

nodejs 16.5.0

Using Existing Tool Version Files

asdf supports the migration from existing version files from other version managers. Eg: .ruby-version for the case of rbenv. This is supported on a per-plugin basis.

asdf-nodejs supports this via both .nvmrc and .node-version files. To enable this, add the following to your asdf configuration file $HOME/.asdfrc:

legacy_version_file = yes

See the configuration reference page for more config options.

Guide Complete!

That completes the Getting Started guide for asdf 🎉 You can now manage nodejs versions for your project. Follow similar steps for each type of tool in your project!

asdf has many more commands to become familiar with, you can see them all by running asdf --help or asdf. The core of the commands are broken into three categories:

`,82)]))}const g=i(l,[["render",n]]);export{c as __pageData,g as default}; diff --git a/assets/guide_introduction.md.D7TZl5Xp.js b/assets/guide_introduction.md.D7TZl5Xp.js new file mode 100644 index 00000000..9290e979 --- /dev/null +++ b/assets/guide_introduction.md.D7TZl5Xp.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as t,o as n}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"Introduction","description":"","frontmatter":{},"headers":[],"relativePath":"guide/introduction.md","filePath":"guide/introduction.md","lastUpdated":1629230537000}'),r={name:"guide/introduction.md"};function i(s,e,d,c,l,h){return n(),o("div",null,e[0]||(e[0]=[t('

Introduction

asdf is a tool version manager. All tool version definitions are contained within one file (.tool-versions) which you can check in to your project's Git repository to share with your team, ensuring everyone is using the exact same versions of tools.

The old way of working required multiple CLI version managers, each with their distinct API, configurations files and implementation (e.g. $PATH manipulation, shims, environment variables, etc...). asdf provides a single interface and configuration file to simplify development workflows, and can be extended to all tools and runtimes via a simple plugin interface.

How It Works

Once asdf core is set up with your Shell configuration, plugins are installed to manage particular tools. When a tool is installed by a plugin, the executables that are installed have shims created for each of them. When you try and run one of these executables, the shim is run instead, allowing asdf to identify which version of the tool is set in .tool-versions and execute that version.

nvm / n / rbenv etc

Tools like nvm, n and rbenv are all written as Shell scripts which create shims for the executables installed by these tools.

asdf is very similar and was built to compete in this space of tool/runtime version management. The differentiating factor for asdf is its plugin system which removes the need for a manager per tool/runtime, different commands per manager and different *-version files in your repo.

direnv

augments existing shells with a new feature that can load and unload environment variables depending on the current directory.

asdf does not manage Environment Variables, however there is a plugin asdf-direnv to integrate direnv behaviour with asdf.

See direnv docs for more.

Homebrew

The Missing Package Manager for macOS (or Linux)

Homebrew manages your packages and their upstream dependencies. asdf does not manage upstream dependencies, it is not a package manager, that burden is upon the user, though we try and keep the dependency list small.

See Homebrew docs for more.

NixOS

Nix is a tool that takes a unique approach to package management and system configuration

NixOS aims to build truly reproducible environments by managing exact versions of packages up the entire dependency tree of each tool, something asdf does not do. NixOS does this with its own programming language, many CLI tools and a package collection of over 60,000 packages.

Again, asdf does not manage upstream dependencies and is not a package manager.

See NixOS docs for more.

Why use asdf?

asdf ensures teams are using the exact same versions of tools, with support for many tools via a plugin system, and the simplicity and familiarity of being a single Shell script you include in your Shell config.

Note

asdf is not intended to be a system package manager. It is a tool version manager. Just because you can create a plugin for any tool and manage its versions with asdf, does not mean that is the best course of action for that specific tool.

',25)]))}const m=a(r,[["render",i]]);export{p as __pageData,m as default}; diff --git a/assets/guide_introduction.md.D7TZl5Xp.lean.js b/assets/guide_introduction.md.D7TZl5Xp.lean.js new file mode 100644 index 00000000..9290e979 --- /dev/null +++ b/assets/guide_introduction.md.D7TZl5Xp.lean.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as t,o as n}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"Introduction","description":"","frontmatter":{},"headers":[],"relativePath":"guide/introduction.md","filePath":"guide/introduction.md","lastUpdated":1629230537000}'),r={name:"guide/introduction.md"};function i(s,e,d,c,l,h){return n(),o("div",null,e[0]||(e[0]=[t('

Introduction

asdf is a tool version manager. All tool version definitions are contained within one file (.tool-versions) which you can check in to your project's Git repository to share with your team, ensuring everyone is using the exact same versions of tools.

The old way of working required multiple CLI version managers, each with their distinct API, configurations files and implementation (e.g. $PATH manipulation, shims, environment variables, etc...). asdf provides a single interface and configuration file to simplify development workflows, and can be extended to all tools and runtimes via a simple plugin interface.

How It Works

Once asdf core is set up with your Shell configuration, plugins are installed to manage particular tools. When a tool is installed by a plugin, the executables that are installed have shims created for each of them. When you try and run one of these executables, the shim is run instead, allowing asdf to identify which version of the tool is set in .tool-versions and execute that version.

nvm / n / rbenv etc

Tools like nvm, n and rbenv are all written as Shell scripts which create shims for the executables installed by these tools.

asdf is very similar and was built to compete in this space of tool/runtime version management. The differentiating factor for asdf is its plugin system which removes the need for a manager per tool/runtime, different commands per manager and different *-version files in your repo.

direnv

augments existing shells with a new feature that can load and unload environment variables depending on the current directory.

asdf does not manage Environment Variables, however there is a plugin asdf-direnv to integrate direnv behaviour with asdf.

See direnv docs for more.

Homebrew

The Missing Package Manager for macOS (or Linux)

Homebrew manages your packages and their upstream dependencies. asdf does not manage upstream dependencies, it is not a package manager, that burden is upon the user, though we try and keep the dependency list small.

See Homebrew docs for more.

NixOS

Nix is a tool that takes a unique approach to package management and system configuration

NixOS aims to build truly reproducible environments by managing exact versions of packages up the entire dependency tree of each tool, something asdf does not do. NixOS does this with its own programming language, many CLI tools and a package collection of over 60,000 packages.

Again, asdf does not manage upstream dependencies and is not a package manager.

See NixOS docs for more.

Why use asdf?

asdf ensures teams are using the exact same versions of tools, with support for many tools via a plugin system, and the simplicity and familiarity of being a single Shell script you include in your Shell config.

Note

asdf is not intended to be a system package manager. It is a tool version manager. Just because you can create a plugin for any tool and manage its versions with asdf, does not mean that is the best course of action for that specific tool.

',25)]))}const m=a(r,[["render",i]]);export{p as __pageData,m as default}; diff --git a/assets/index.md.CX4EfemI.js b/assets/index.md.CX4EfemI.js new file mode 100644 index 00000000..46c0282f --- /dev/null +++ b/assets/index.md.CX4EfemI.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as i}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"asdf","text":"The Multiple Runtime Version Manager","tagline":"Manage all your runtime versions with one tool!","actions":[{"theme":"brand","text":"Get Started","link":"/guide/getting-started"},{"theme":"alt","text":"What is asdf?","link":"/guide/introduction"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/asdf-vm/asdf"}]},"features":[{"title":"One Tool","details":"Manage each of your project runtimes with a single CLI tool and command interface.","icon":"🎉"},{"title":"Plugins","details":"Large ecosystem of existing runtimes & tools. Simple API to add support for new tools as you need!","icon":"🔌"},{"title":"Backwards Compatible","details":"Support for existing config files .nvmrc, .node-version, .ruby-version for smooth migration!","icon":"⏮"},{"title":"One Config File","details":".tool-versions to manage all your tools, runtimes and their versions in a single, sharable place.","icon":"📄"},{"title":"Shells","details":"Supports Bash, ZSH, Fish & Elvish with completions available.","icon":"🐚"},{"title":"GitHub Actions","details":"Provides a GitHub Action to install and utilize your .tool-versions in your CI/CD workflows.","icon":"🤖"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1700090238000}'),o={name:"index.md"};function n(a,s,l,r,d,c){return i(),t("div")}const p=e(o,[["render",n]]);export{u as __pageData,p as default}; diff --git a/assets/index.md.CX4EfemI.lean.js b/assets/index.md.CX4EfemI.lean.js new file mode 100644 index 00000000..46c0282f --- /dev/null +++ b/assets/index.md.CX4EfemI.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as i}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"asdf","text":"The Multiple Runtime Version Manager","tagline":"Manage all your runtime versions with one tool!","actions":[{"theme":"brand","text":"Get Started","link":"/guide/getting-started"},{"theme":"alt","text":"What is asdf?","link":"/guide/introduction"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/asdf-vm/asdf"}]},"features":[{"title":"One Tool","details":"Manage each of your project runtimes with a single CLI tool and command interface.","icon":"🎉"},{"title":"Plugins","details":"Large ecosystem of existing runtimes & tools. Simple API to add support for new tools as you need!","icon":"🔌"},{"title":"Backwards Compatible","details":"Support for existing config files .nvmrc, .node-version, .ruby-version for smooth migration!","icon":"⏮"},{"title":"One Config File","details":".tool-versions to manage all your tools, runtimes and their versions in a single, sharable place.","icon":"📄"},{"title":"Shells","details":"Supports Bash, ZSH, Fish & Elvish with completions available.","icon":"🐚"},{"title":"GitHub Actions","details":"Provides a GitHub Action to install and utilize your .tool-versions in your CI/CD workflows.","icon":"🤖"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1700090238000}'),o={name:"index.md"};function n(a,s,l,r,d,c){return i(),t("div")}const p=e(o,[["render",n]]);export{u as __pageData,p as default}; diff --git a/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 new file mode 100644 index 00000000..b6b603d5 Binary files /dev/null and b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 differ diff --git a/assets/inter-italic-cyrillic.By2_1cv3.woff2 b/assets/inter-italic-cyrillic.By2_1cv3.woff2 new file mode 100644 index 00000000..def40a4f Binary files /dev/null and b/assets/inter-italic-cyrillic.By2_1cv3.woff2 differ diff --git a/assets/inter-italic-greek-ext.1u6EdAuj.woff2 b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 new file mode 100644 index 00000000..e070c3d3 Binary files /dev/null and b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 differ diff --git a/assets/inter-italic-greek.DJ8dCoTZ.woff2 b/assets/inter-italic-greek.DJ8dCoTZ.woff2 new file mode 100644 index 00000000..a3c16ca4 Binary files /dev/null and b/assets/inter-italic-greek.DJ8dCoTZ.woff2 differ diff --git a/assets/inter-italic-latin-ext.CN1xVJS-.woff2 b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 new file mode 100644 index 00000000..2210a899 Binary files /dev/null and b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 differ diff --git a/assets/inter-italic-latin.C2AdPX0b.woff2 b/assets/inter-italic-latin.C2AdPX0b.woff2 new file mode 100644 index 00000000..790d62dc Binary files /dev/null and b/assets/inter-italic-latin.C2AdPX0b.woff2 differ diff --git a/assets/inter-italic-vietnamese.BSbpV94h.woff2 b/assets/inter-italic-vietnamese.BSbpV94h.woff2 new file mode 100644 index 00000000..1eec0775 Binary files /dev/null and b/assets/inter-italic-vietnamese.BSbpV94h.woff2 differ diff --git a/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 new file mode 100644 index 00000000..2cfe6153 Binary files /dev/null and b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 differ diff --git a/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 new file mode 100644 index 00000000..e3886dd1 Binary files /dev/null and b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 differ diff --git a/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 new file mode 100644 index 00000000..36d67487 Binary files /dev/null and b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 differ diff --git a/assets/inter-roman-greek.BBVDIX6e.woff2 b/assets/inter-roman-greek.BBVDIX6e.woff2 new file mode 100644 index 00000000..2bed1e85 Binary files /dev/null and b/assets/inter-roman-greek.BBVDIX6e.woff2 differ diff --git a/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 new file mode 100644 index 00000000..9a8d1e2b Binary files /dev/null and b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 differ diff --git a/assets/inter-roman-latin.Di8DUHzh.woff2 b/assets/inter-roman-latin.Di8DUHzh.woff2 new file mode 100644 index 00000000..07d3c53a Binary files /dev/null and b/assets/inter-roman-latin.Di8DUHzh.woff2 differ diff --git a/assets/inter-roman-vietnamese.BjW4sHH5.woff2 b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 new file mode 100644 index 00000000..57bdc22a Binary files /dev/null and b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 differ diff --git a/assets/ja-jp_contribute_core.md.Dl6llQ1K.js b/assets/ja-jp_contribute_core.md.Dl6llQ1K.js new file mode 100644 index 00000000..782df053 --- /dev/null +++ b/assets/ja-jp_contribute_core.md.Dl6llQ1K.js @@ -0,0 +1,31 @@ +import{_ as a,c as e,a2 as i,o as t}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"asdf","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/contribute/core.md","filePath":"ja-jp/contribute/core.md","lastUpdated":1704890757000}'),n={name:"ja-jp/contribute/core.md"};function l(p,s,h,o,r,d){return t(),e("div",null,s[0]||(s[0]=[i(`

asdf

これは、asdfコアのコントリビューションガイドです。

初期セットアップ

GitHubでasdfをフォークするか、デフォルトのブランチをGitクローンしてください:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

コア開発用のツールは、このリポジトリの.tool-versionsで定義されています。asdf自身でこれらのツールを管理したい場合は、下記のようにプラグインを追加してください:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

asdfの開発に必要なバージョンを、下記のようにインストールします:

shell
asdf install

開発ツールに影響を与える特定の機能を壊す可能性もあるため、ローカルマシンで開発する際は、asdfを使用しないほうが 良いかもしれません 。下記に、使用しているツールを列挙します:

  • bats-core: BashまたはPOSIX準拠のスクリプトを単体テストするための、Bash自動テストシステムです。
  • shellcheck: シェルスクリプトの静的解析ツールです。
  • shfmt: Bashをサポートするシェルパーサ、フォーマッタ、インタプリタです。

開発

インストール済みのasdfに変更を加えずに、あなたが開発した変更内容を試したいときは、$ASDF_DIR変数に、クローンしたリポジトリのパスを設定し、そのディレクトリのbinshimsディレクトリを一時的にパスの先頭へ追加します。

リモートにコミットまたはプッシュする前に、コードをローカルでフォーマット、Lint、およびテストすることを推奨します。その際は、次のスクリプト/コマンドを使用してください:

shell
# Lint
+./scripts/lint.bash --check
+
+# Fix & Format
+./scripts/lint.bash --fix
+
+# Test: all tests
+./scripts/test.bash
+
+# Test: for specific command
+bats test/list_commands.bash

ヒント

テストを作ってください! - 新機能にとってテストは必要不可欠であり、バグ修正のレビューをスピードアップさせることができます。プルリクエストを作成する前に、新しいコードをカバーするようなテストを作成してください。bats-coreのドキュメントもご覧ください。

Gitignore

下記は、asdf-vm/asdfリポジトリの.gitignoreファイルです。プロジェクト固有のファイルは無視をしています。使用しているOS、ツール、およびワークフロー固有のファイルは、グローバルな.gitignore構成で無視する必要があります。詳しくはこちらをご覧ください。

@Gitignoreコード

.git-blame-ignore-revs

asdfでは、.git-blame-ignore-revsを使用して、Blameを実行する際のノイズを減らしています。詳しくは、git blameのドキュメントをご覧ください。

git blameを実行するときは、下記のように、このファイルと共に使います:

sh
git blame --ignore-revs-file .git-blame-ignore-revs ./test/install_command.bats

毎回手動でファイルを指定しなくても、gitのオプションで、blameを呼び出すたびにこのファイルを使うように設定することもできます:

sh
git config blame.ignoreRevsFile .git-blame-ignore-revs

このファイルを使用するように、IDEを設定することもできます。例えば、VSCode(およびGitLens)を使う場合は、.vscode/settings.jsonに下記のように記述します:

json
{
+  "gitlens.advanced.blame.customArguments": [
+    "--ignore-revs-file",
+    ".git-blame-ignore-revs"
+  ]
+}

Batsテスト

ローカルでテストを実行するには、下記のようにテストを呼び出します:

shell
./scripts/test.bash

テストを作成する前に、下記項目を一通り参照してください:

Batsのヒント

Batsでのデバッグは、難しいことがあります。-tフラグを指定してTAP出力を有効にすると、テスト実行中に特殊なファイルディスクリプタ>&3を使用して出力を表示できるため、デバッグが簡単になります。例えば次のとおりです:

shell
# test/some_tests.bats
+
+printf "%s\\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\\n" "Will be printed during bats -t test/some_tests.bats" >&3

詳しくは、bats-coreドキュメント内のPrinting to the Terminalで説明されています。

プルリクエスト、リリース、Conventional Commits

asdfは、Release Pleaseという自動リリースツールを使用して、セマンティックバージョンを自動的に引き上げ、Changelogを生成しています。この情報は、前回のリリースからのコミット履歴を読み込むことで生成されます。

Conventional Commit messagesでは、デフォルトブランチでのコミットメッセージのフォーマットとなる、プルリクエストタイトルのフォーマットを定義しています。これは、GitHub Actionamannn/action-semantic-pull-requestで強制されます。

Conventional Commitは、下記のフォーマットに従います:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

<types>の種類は次のとおりです: featfixdocsstylerefactorperftestbuildcichorerevert

  • !: 破壊的変更を示します
  • fix: セマンティックバージョンのpatchを新しく作成します
  • feat: セマンティックバージョンのminorを新しく作成します
  • <type>!: セマンティックバージョンのmajorを新しく作成します

プルリクエストのタイトルは、このフォーマットに従う必要があります。

ヒント

プルリクエストのタイトルには、Conventional Commit messageのフォーマットを使用してください。

Dockerイメージ

asdf-alpineおよびasdf-ubuntuプロジェクトは、一部のasdfツールのDocker化されたイメージを提供する取り組みを継続的に行っています。これらのDockerイメージは、開発用サーバのベースとしたり、本番用アプリケーションの実行用途として使用することができます。

`,47)]))}const g=a(n,[["render",l]]);export{k as __pageData,g as default}; diff --git a/assets/ja-jp_contribute_core.md.Dl6llQ1K.lean.js b/assets/ja-jp_contribute_core.md.Dl6llQ1K.lean.js new file mode 100644 index 00000000..782df053 --- /dev/null +++ b/assets/ja-jp_contribute_core.md.Dl6llQ1K.lean.js @@ -0,0 +1,31 @@ +import{_ as a,c as e,a2 as i,o as t}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"asdf","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/contribute/core.md","filePath":"ja-jp/contribute/core.md","lastUpdated":1704890757000}'),n={name:"ja-jp/contribute/core.md"};function l(p,s,h,o,r,d){return t(),e("div",null,s[0]||(s[0]=[i(`

asdf

これは、asdfコアのコントリビューションガイドです。

初期セットアップ

GitHubでasdfをフォークするか、デフォルトのブランチをGitクローンしてください:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

コア開発用のツールは、このリポジトリの.tool-versionsで定義されています。asdf自身でこれらのツールを管理したい場合は、下記のようにプラグインを追加してください:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

asdfの開発に必要なバージョンを、下記のようにインストールします:

shell
asdf install

開発ツールに影響を与える特定の機能を壊す可能性もあるため、ローカルマシンで開発する際は、asdfを使用しないほうが 良いかもしれません 。下記に、使用しているツールを列挙します:

  • bats-core: BashまたはPOSIX準拠のスクリプトを単体テストするための、Bash自動テストシステムです。
  • shellcheck: シェルスクリプトの静的解析ツールです。
  • shfmt: Bashをサポートするシェルパーサ、フォーマッタ、インタプリタです。

開発

インストール済みのasdfに変更を加えずに、あなたが開発した変更内容を試したいときは、$ASDF_DIR変数に、クローンしたリポジトリのパスを設定し、そのディレクトリのbinshimsディレクトリを一時的にパスの先頭へ追加します。

リモートにコミットまたはプッシュする前に、コードをローカルでフォーマット、Lint、およびテストすることを推奨します。その際は、次のスクリプト/コマンドを使用してください:

shell
# Lint
+./scripts/lint.bash --check
+
+# Fix & Format
+./scripts/lint.bash --fix
+
+# Test: all tests
+./scripts/test.bash
+
+# Test: for specific command
+bats test/list_commands.bash

ヒント

テストを作ってください! - 新機能にとってテストは必要不可欠であり、バグ修正のレビューをスピードアップさせることができます。プルリクエストを作成する前に、新しいコードをカバーするようなテストを作成してください。bats-coreのドキュメントもご覧ください。

Gitignore

下記は、asdf-vm/asdfリポジトリの.gitignoreファイルです。プロジェクト固有のファイルは無視をしています。使用しているOS、ツール、およびワークフロー固有のファイルは、グローバルな.gitignore構成で無視する必要があります。詳しくはこちらをご覧ください。

@Gitignoreコード

.git-blame-ignore-revs

asdfでは、.git-blame-ignore-revsを使用して、Blameを実行する際のノイズを減らしています。詳しくは、git blameのドキュメントをご覧ください。

git blameを実行するときは、下記のように、このファイルと共に使います:

sh
git blame --ignore-revs-file .git-blame-ignore-revs ./test/install_command.bats

毎回手動でファイルを指定しなくても、gitのオプションで、blameを呼び出すたびにこのファイルを使うように設定することもできます:

sh
git config blame.ignoreRevsFile .git-blame-ignore-revs

このファイルを使用するように、IDEを設定することもできます。例えば、VSCode(およびGitLens)を使う場合は、.vscode/settings.jsonに下記のように記述します:

json
{
+  "gitlens.advanced.blame.customArguments": [
+    "--ignore-revs-file",
+    ".git-blame-ignore-revs"
+  ]
+}

Batsテスト

ローカルでテストを実行するには、下記のようにテストを呼び出します:

shell
./scripts/test.bash

テストを作成する前に、下記項目を一通り参照してください:

Batsのヒント

Batsでのデバッグは、難しいことがあります。-tフラグを指定してTAP出力を有効にすると、テスト実行中に特殊なファイルディスクリプタ>&3を使用して出力を表示できるため、デバッグが簡単になります。例えば次のとおりです:

shell
# test/some_tests.bats
+
+printf "%s\\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\\n" "Will be printed during bats -t test/some_tests.bats" >&3

詳しくは、bats-coreドキュメント内のPrinting to the Terminalで説明されています。

プルリクエスト、リリース、Conventional Commits

asdfは、Release Pleaseという自動リリースツールを使用して、セマンティックバージョンを自動的に引き上げ、Changelogを生成しています。この情報は、前回のリリースからのコミット履歴を読み込むことで生成されます。

Conventional Commit messagesでは、デフォルトブランチでのコミットメッセージのフォーマットとなる、プルリクエストタイトルのフォーマットを定義しています。これは、GitHub Actionamannn/action-semantic-pull-requestで強制されます。

Conventional Commitは、下記のフォーマットに従います:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

<types>の種類は次のとおりです: featfixdocsstylerefactorperftestbuildcichorerevert

  • !: 破壊的変更を示します
  • fix: セマンティックバージョンのpatchを新しく作成します
  • feat: セマンティックバージョンのminorを新しく作成します
  • <type>!: セマンティックバージョンのmajorを新しく作成します

プルリクエストのタイトルは、このフォーマットに従う必要があります。

ヒント

プルリクエストのタイトルには、Conventional Commit messageのフォーマットを使用してください。

Dockerイメージ

asdf-alpineおよびasdf-ubuntuプロジェクトは、一部のasdfツールのDocker化されたイメージを提供する取り組みを継続的に行っています。これらのDockerイメージは、開発用サーバのベースとしたり、本番用アプリケーションの実行用途として使用することができます。

`,47)]))}const g=a(n,[["render",l]]);export{k as __pageData,g as default}; diff --git a/assets/ja-jp_contribute_documentation.md.DFrK7QhV.js b/assets/ja-jp_contribute_documentation.md.DFrK7QhV.js new file mode 100644 index 00000000..a019bfa8 --- /dev/null +++ b/assets/ja-jp_contribute_documentation.md.DFrK7QhV.js @@ -0,0 +1,42 @@ +import{_ as i,c as a,a2 as n,o as e}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"ドキュメント & サイト","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/contribute/documentation.md","filePath":"ja-jp/contribute/documentation.md","lastUpdated":1704890757000}'),t={name:"ja-jp/contribute/documentation.md"};function l(p,s,h,k,d,r){return e(),a("div",null,s[0]||(s[0]=[n(`

ドキュメント & サイト

これは、ドキュメントおよびサイトのコントリビューションガイドです。

初期セットアップ

GitHubでasdfをフォークするか、デフォルトのブランチをGitクローンしてください:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

ドキュメントサイト開発用のツールは、asdfによってdocs/.tool-versionsで管理されています。下記のようにプラグインを追加してください:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

開発に必要なバージョンを、下記のようにインストールします:

shell
asdf install
  • Node.js: ChromeのV8 JavaScriptエンジンをベースに構築されたJavaScriptランタイムです。

docs/package.jsonをもとに、Node.jsの依存関係をインストールしてください:

shell
npm install

開発

VitePress (v2)は、asdfドキュメントサイトを構築するために使用している静的サイトジェネレータ(SSG)です。類似ツールであるDocsify.jsやVuePressに代わってVitePressが採用されたのは、ユーザがJavaScriptを使用できない、または有効にしていない場合に、HTMLのみのフォールバックをサポートしたいからでした。これは、DocsifyとVitePressがVuePressに急速に取って代わっていた場合には不可能でした。これ以外の機能セットはほとんど同じで、最小限の構成でMarkdownファイルを書くことに重点を置いています。

package.jsonには、開発に必要なスクリプトが含まれています:

@package.jsonのコード

ローカルの開発サーバを起動するには、次のように実行します:

shell
npm run dev

コミットする前にコードをフォーマットするには、次のように実行します:

shell
npm run format

プルリクエスト、リリース、Conventional Commits

asdfは、プルリクエストタイトルのConventional Commitsに依存する自動リリースパイプラインを使用しています。詳しくは、コアのコントリビューションガイドのドキュメントに記述されています。

ドキュメントの変更に関するプルリクエストを作成する場合、プルリクエストのタイトルは、Conventional Commit typeをdocsとして、docs: <description>というフォーマットで作成するようにしてください。

Vitepress

サイトの構成設定は、構成を示すために使用されるJSオブジェクト含んだ、いくつかのTypeScriptファイルに記述されています。以下のとおりです:

  • docs/.vitepress/config.js: サイトのルート構成ファイルです。仕様については、VitePressのドキュメントをご覧ください。

ルート構成ファイルを簡素化するために、 Navバーサイドバー の構成を示す大きなJSオブジェクトについては、別ファイルに切り出されており、かつ、ロケールごとに分類されています。次の両方のファイルを参照してください:

  • docs/.vitepress/navbars.js
  • docs/.vitepress/sidebars.js

これらの構成設定に関する公式ドキュメントは、Default Theme Referenceをご覧ください。

I18n

VitePressは、国際化対応に関して最高のサポートを備えています。 ルート構成ファイルであるdocs/.vitepress/config.jsでは、サポートされているロケールとそのURL、ドロップメニューのタイトル、Navバー/サイドバーの構成への参照を定義しています。

Navバー/サイドバーの構成設定は前述の構成ファイルにキャプチャされ、ロケールごとに分類され、個別にエクスポートされます。

各ロケールのMarkdownコンテンツは、ルート構成ファイル内のlocales内のキーと同じ名前のディレクトリ配下に配置する必要があります。ルート構成が下記の場合:

js
// docs/.vitepress/config.js
+export default defineConfig({
+  ...
+  locales: {
+    root: {
+      label: "English",
+        lang: "en-US",
+        themeConfig: {
+        nav: navbars.en,
+          sidebar: sidebars.en,
+      },
+    },
+    "pt-br": {
+      label: "Brazilian Portuguese",
+        lang: "pr-br",
+        themeConfig: {
+        nav: navbars.pt_br,
+          sidebar: sidebars.pt_br,
+      },
+    },
+    "zh-hans": {
+      label: "简体中文",
+        lang: "zh-hans",
+        themeConfig: {
+        nav: navbars.zh_hans,
+          sidebar: sidebars.zh_hans,
+      },
+    },
+  },
+})

/pt-BR/を有効にするには、下記のように、docs/pt-BR/配下に同じMarkdownファイルのセットを配置する必要があります:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

公式のVitePress i18nドキュメントには、より詳細な説明が記述されています。

`,37)]))}const E=i(t,[["render",l]]);export{c as __pageData,E as default}; diff --git a/assets/ja-jp_contribute_documentation.md.DFrK7QhV.lean.js b/assets/ja-jp_contribute_documentation.md.DFrK7QhV.lean.js new file mode 100644 index 00000000..a019bfa8 --- /dev/null +++ b/assets/ja-jp_contribute_documentation.md.DFrK7QhV.lean.js @@ -0,0 +1,42 @@ +import{_ as i,c as a,a2 as n,o as e}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"ドキュメント & サイト","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/contribute/documentation.md","filePath":"ja-jp/contribute/documentation.md","lastUpdated":1704890757000}'),t={name:"ja-jp/contribute/documentation.md"};function l(p,s,h,k,d,r){return e(),a("div",null,s[0]||(s[0]=[n(`

ドキュメント & サイト

これは、ドキュメントおよびサイトのコントリビューションガイドです。

初期セットアップ

GitHubでasdfをフォークするか、デフォルトのブランチをGitクローンしてください:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

ドキュメントサイト開発用のツールは、asdfによってdocs/.tool-versionsで管理されています。下記のようにプラグインを追加してください:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

開発に必要なバージョンを、下記のようにインストールします:

shell
asdf install
  • Node.js: ChromeのV8 JavaScriptエンジンをベースに構築されたJavaScriptランタイムです。

docs/package.jsonをもとに、Node.jsの依存関係をインストールしてください:

shell
npm install

開発

VitePress (v2)は、asdfドキュメントサイトを構築するために使用している静的サイトジェネレータ(SSG)です。類似ツールであるDocsify.jsやVuePressに代わってVitePressが採用されたのは、ユーザがJavaScriptを使用できない、または有効にしていない場合に、HTMLのみのフォールバックをサポートしたいからでした。これは、DocsifyとVitePressがVuePressに急速に取って代わっていた場合には不可能でした。これ以外の機能セットはほとんど同じで、最小限の構成でMarkdownファイルを書くことに重点を置いています。

package.jsonには、開発に必要なスクリプトが含まれています:

@package.jsonのコード

ローカルの開発サーバを起動するには、次のように実行します:

shell
npm run dev

コミットする前にコードをフォーマットするには、次のように実行します:

shell
npm run format

プルリクエスト、リリース、Conventional Commits

asdfは、プルリクエストタイトルのConventional Commitsに依存する自動リリースパイプラインを使用しています。詳しくは、コアのコントリビューションガイドのドキュメントに記述されています。

ドキュメントの変更に関するプルリクエストを作成する場合、プルリクエストのタイトルは、Conventional Commit typeをdocsとして、docs: <description>というフォーマットで作成するようにしてください。

Vitepress

サイトの構成設定は、構成を示すために使用されるJSオブジェクト含んだ、いくつかのTypeScriptファイルに記述されています。以下のとおりです:

  • docs/.vitepress/config.js: サイトのルート構成ファイルです。仕様については、VitePressのドキュメントをご覧ください。

ルート構成ファイルを簡素化するために、 Navバーサイドバー の構成を示す大きなJSオブジェクトについては、別ファイルに切り出されており、かつ、ロケールごとに分類されています。次の両方のファイルを参照してください:

  • docs/.vitepress/navbars.js
  • docs/.vitepress/sidebars.js

これらの構成設定に関する公式ドキュメントは、Default Theme Referenceをご覧ください。

I18n

VitePressは、国際化対応に関して最高のサポートを備えています。 ルート構成ファイルであるdocs/.vitepress/config.jsでは、サポートされているロケールとそのURL、ドロップメニューのタイトル、Navバー/サイドバーの構成への参照を定義しています。

Navバー/サイドバーの構成設定は前述の構成ファイルにキャプチャされ、ロケールごとに分類され、個別にエクスポートされます。

各ロケールのMarkdownコンテンツは、ルート構成ファイル内のlocales内のキーと同じ名前のディレクトリ配下に配置する必要があります。ルート構成が下記の場合:

js
// docs/.vitepress/config.js
+export default defineConfig({
+  ...
+  locales: {
+    root: {
+      label: "English",
+        lang: "en-US",
+        themeConfig: {
+        nav: navbars.en,
+          sidebar: sidebars.en,
+      },
+    },
+    "pt-br": {
+      label: "Brazilian Portuguese",
+        lang: "pr-br",
+        themeConfig: {
+        nav: navbars.pt_br,
+          sidebar: sidebars.pt_br,
+      },
+    },
+    "zh-hans": {
+      label: "简体中文",
+        lang: "zh-hans",
+        themeConfig: {
+        nav: navbars.zh_hans,
+          sidebar: sidebars.zh_hans,
+      },
+    },
+  },
+})

/pt-BR/を有効にするには、下記のように、docs/pt-BR/配下に同じMarkdownファイルのセットを配置する必要があります:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

公式のVitePress i18nドキュメントには、より詳細な説明が記述されています。

`,37)]))}const E=i(t,[["render",l]]);export{c as __pageData,E as default}; diff --git a/assets/ja-jp_contribute_first-party-plugins.md.C-K_bFJd.js b/assets/ja-jp_contribute_first-party-plugins.md.C-K_bFJd.js new file mode 100644 index 00000000..5e02888f --- /dev/null +++ b/assets/ja-jp_contribute_first-party-plugins.md.C-K_bFJd.js @@ -0,0 +1 @@ +import{_ as a,c as r,a2 as t,o as i}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"公式プラグイン","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/contribute/first-party-plugins.md","filePath":"ja-jp/contribute/first-party-plugins.md","lastUpdated":1704890757000}'),s={name:"ja-jp/contribute/first-party-plugins.md"};function l(o,e,d,n,f,c){return i(),r("div",null,e[0]||(e[0]=[t('

公式プラグイン

asdfコアチームでは、日々のワークライフに関連するプラグインをいくつか作成しています。これらのプラグインのメンテナンスおよび改善にご協力いただける方を、いつでも歓迎しています。詳しくは、下記リンクから、それぞれのリポジトリを参照してください:

コミュニティプラグインについては、下記をご覧ください:

',5)]))}const h=a(s,[["render",l]]);export{u as __pageData,h as default}; diff --git a/assets/ja-jp_contribute_first-party-plugins.md.C-K_bFJd.lean.js b/assets/ja-jp_contribute_first-party-plugins.md.C-K_bFJd.lean.js new file mode 100644 index 00000000..5e02888f --- /dev/null +++ b/assets/ja-jp_contribute_first-party-plugins.md.C-K_bFJd.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,a2 as t,o as i}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"公式プラグイン","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/contribute/first-party-plugins.md","filePath":"ja-jp/contribute/first-party-plugins.md","lastUpdated":1704890757000}'),s={name:"ja-jp/contribute/first-party-plugins.md"};function l(o,e,d,n,f,c){return i(),r("div",null,e[0]||(e[0]=[t('

公式プラグイン

asdfコアチームでは、日々のワークライフに関連するプラグインをいくつか作成しています。これらのプラグインのメンテナンスおよび改善にご協力いただける方を、いつでも歓迎しています。詳しくは、下記リンクから、それぞれのリポジトリを参照してください:

コミュニティプラグインについては、下記をご覧ください:

',5)]))}const h=a(s,[["render",l]]);export{u as __pageData,h as default}; diff --git a/assets/ja-jp_contribute_github-actions.md.vwGbnpnK.js b/assets/ja-jp_contribute_github-actions.md.vwGbnpnK.js new file mode 100644 index 00000000..382b062f --- /dev/null +++ b/assets/ja-jp_contribute_github-actions.md.vwGbnpnK.js @@ -0,0 +1 @@ +import{_ as i,c as o,j as t,a,o as n}from"./chunks/framework.C9NVOr0y.js";const h=JSON.parse('{"title":"GitHub Actions","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/contribute/github-actions.md","filePath":"ja-jp/contribute/github-actions.md","lastUpdated":1704890757000}'),s={name:"ja-jp/contribute/github-actions.md"};function r(c,e,d,u,l,p){return n(),o("div",null,e[0]||(e[0]=[t("h1",{id:"github-actions",tabindex:"-1"},[a("GitHub Actions "),t("a",{class:"header-anchor",href:"#github-actions","aria-label":'Permalink to "GitHub Actions"'},"​")],-1),t("p",null,[a("ご興味を持っていただきありがとうございます。既存のイシュー、議論、コントリビューションガイドについては、"),t("a",{href:"https://github.com/asdf-vm/actions",target:"_blank",rel:"noreferrer"},"asdf actions リポジトリ"),a("をご覧ください。")],-1)]))}const f=i(s,[["render",r]]);export{h as __pageData,f as default}; diff --git a/assets/ja-jp_contribute_github-actions.md.vwGbnpnK.lean.js b/assets/ja-jp_contribute_github-actions.md.vwGbnpnK.lean.js new file mode 100644 index 00000000..382b062f --- /dev/null +++ b/assets/ja-jp_contribute_github-actions.md.vwGbnpnK.lean.js @@ -0,0 +1 @@ +import{_ as i,c as o,j as t,a,o as n}from"./chunks/framework.C9NVOr0y.js";const h=JSON.parse('{"title":"GitHub Actions","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/contribute/github-actions.md","filePath":"ja-jp/contribute/github-actions.md","lastUpdated":1704890757000}'),s={name:"ja-jp/contribute/github-actions.md"};function r(c,e,d,u,l,p){return n(),o("div",null,e[0]||(e[0]=[t("h1",{id:"github-actions",tabindex:"-1"},[a("GitHub Actions "),t("a",{class:"header-anchor",href:"#github-actions","aria-label":'Permalink to "GitHub Actions"'},"​")],-1),t("p",null,[a("ご興味を持っていただきありがとうございます。既存のイシュー、議論、コントリビューションガイドについては、"),t("a",{href:"https://github.com/asdf-vm/actions",target:"_blank",rel:"noreferrer"},"asdf actions リポジトリ"),a("をご覧ください。")],-1)]))}const f=i(s,[["render",r]]);export{h as __pageData,f as default}; diff --git a/assets/ja-jp_guide_getting-started.md.BOrg7Hf7.js b/assets/ja-jp_guide_getting-started.md.BOrg7Hf7.js new file mode 100644 index 00000000..8fb6dbdf --- /dev/null +++ b/assets/ja-jp_guide_getting-started.md.BOrg7Hf7.js @@ -0,0 +1,13 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const r=JSON.parse('{"title":"はじめよう","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/guide/getting-started.md","filePath":"ja-jp/guide/getting-started.md","lastUpdated":1704890757000}'),l={name:"ja-jp/guide/getting-started.md"};function h(p,s,n,d,k,o){return t(),a("div",null,s[0]||(s[0]=[e(`

はじめよう

asdfのインストールには次の手順が必要です:

  1. 依存関係のインストール
  2. asdfコアのダウンロード
  3. asdfのインストール
  4. 管理したいツール/ランタイムごとにプラグインをインストール
  5. ツール/ランタイムの特定バージョンをインストール
  6. .tool-versionsファイルで、グローバルまたはプロジェクトのバージョンをセット

1. 依存関係のインストール

asdfの動作にはgitおよびcurlが必要です。以下の表は、 あなたが使用している パッケージマネージャで実行するコマンドの 一部例 です(some might automatically install these tools in later steps)。

OSパッケージマネージャコマンド
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

備考

お使いのシステムの構成によっては、接頭にsudoが必要となる場合もあります。

2. asdfのダウンロード

公式ダウンロード

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1

コミュニティがサポートするダウンロード方法

理由がない限り、gitコマンドを使用した公式ダウンロードの手順を使用することを強く推奨します。

方法コマンド
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si または好みのAURヘルパーを使用

3. asdfのインストール

あなたが使用しているシェル、OS、およびインストール方法によって、ここでの設定方法が変わります。最も適したものを選択してください。

masOSユーザの方は、この節の最後にあるpath_helperに関する警告を必ず参照してください。

Bash & Git

~/.bashrcに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

コマンド補完が必要な場合は、.bashrcに下記の行を追記します:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

macOS Catalina以降を使用している場合、デフォルトのシェルはZSHです。Bashに変更していない限り、ZSHの手順を参照してください。

~/.bash_profileに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

コマンド補完が必要な場合は、.bash_profileに下記の行を追記します:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

下記コマンドで、~/.bashrcasdf.shを追加します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bashrc

コマンド補完が必要な場合は、Homebrewのガイドに従って設定を完了させるか、下記コマンドを実行します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bashrc
Bash & Homebrew (macOS)

macOS Catalina以降を使用している場合、デフォルトのシェルはZSHです。Bashに変更していない限り、ZSHの手順を参照してください。

下記コマンドで、~/.bash_profileasdf.shを追加します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bash_profile

コマンド補完が必要な場合は、Homebrewのガイドに従って設定を完了させるか、下記コマンドを実行します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bash_profile
Bash & Pacman

~/.bashrcに下記の行を追記します:

shell
. /opt/asdf-vm/asdf.sh

コマンド補完が必要な場合は、bash-completionをインストールします。

Fish & Git

~/.config/fish/config.fishに下記の行を追記します:

shell
source ~/.asdf/asdf.fish

コマンド補完が必要な場合は、下記コマンドを実行します:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

下記コマンドで、~/.config/fish/config.fishasdf.shを追加します:

shell
echo -e "\\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

コマンド補完は、Fish shellのHomebrewが担います。親切ですね!

Fish & Pacman

~/.config/fish/config.fishに下記の行を追記します:

shell
source /opt/asdf-vm/asdf.fish

コマンド補完は、AURパッケージのインストール時に自動的に設定されます。

Elvish & Git

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

Elvish & Homebrew

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

Elvish & Pacman

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

ZSH & Git

~/.zshrcに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

またはasdf for oh-my-zshのようなZSHフレームワークプラグインを使用して、このスクリプトをsourceし、コマンド補完をセットアップします。

コマンド補完は、ZSHフレームワークのasdfプラグインで設定するか、~/.zshrcに下記の行を追記することで設定できます:

shell
# append completions to fpath
+fpath=(\${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • compinitのセットアップをカスタマイズしている場合は、asdf.shソース以下にcompinitがくるようにしてください。
  • ZSHフレームワークでcompinitのセットアップをカスタマイズしている場合は、フレームワークソース以下にcompinitがくるようにしてください。

警告

ZSHフレームワークを使用している場合、新しいZSHコマンド補完を使用するには、fpath経由で、関連するasdfプラグインの更新が必要となることがあります。Oh-My-ZSH asdfプラグインは、ohmyzsh/ohmyzsh#8837でご覧いただくと分かるとおり、まだ更新されていません。

ZSH & Homebrew

下記コマンドで、~/.zshrcasdf.shを追加します:

shell
echo -e "\\n. $(brew --prefix asdf)/libexec/asdf.sh" >> \${ZDOTDIR:-~}/.zshrc

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

コマンド補完は、ZSHフレームワークasdfによって設定されるか、Homebrewの説明に従って設定必要があります。ZSHフレームワークを使用している場合、新しいZSHコマンド補完を使用するには、fpath経由で、関連するasdfプラグインの更新が必要となることがあります。Oh-My-ZSH asdfプラグインは、ohmyzsh/ohmyzsh#8837でご覧いただくと分かるとおり、まだ更新されていません。

ZSH & Pacman

~/.zshrcに下記の行を追記します:

shell
. /opt/asdf-vm/asdf.sh

コマンド補完は、ZSHに適した場所に配置されますが、オートコンプリートを使用するようにZSHを設定する必要があります

PowerShell Core & Git

~/.config/powershell/profile.ps1に下記の行を追記します:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

下記コマンドで、~/.config/powershell/profile.ps1asdf.shを追加します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.ps1\\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

~/.config/powershell/profile.ps1に下記の行を追記します:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\\n$env.ASDF_NU_DIR = ($env.HOME | path join '.asdf')\\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

コマンド補完は自動的に設定されます。

Nushell & Homebrew

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\\n$env.ASDF_NU_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\\n source " +  (brew --prefix asdf | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

コマンド補完は自動的に設定されます。

Nushell & Pacman

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\\n$env.ASDF_NU_DIR = '/opt/asdf-vm/'\\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

コマンド補完は自動的に設定されます。

POSIX Shell & Git

~/.profileに下記の行を追記します:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

下記コマンドで、~/.profileasdf.shを追加します:

shell
echo -e "\\nexport ASDF_DIR=\\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
+echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
POSIX Shell & Pacman

~/.profileに下記の行を追記します:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdfのスクリプトは、$PATHを設定したあと、かつ、使用中のフレームワーク(oh-my-zsh など)を呼び出したあとに記述する必要があります。

警告

macOSでは、BasgまたはZSHシェルを起動すると、自動的にpath_helperというユーティリティが呼び出されます。path_helperPATH(およびMANPATH)内の項目の順番を並び替えることができるため、特定の順序を必要とするツールの動作に、一貫性が無くなってしまいます。これを回避するため、macOSでasdfを利用するときは、強制的にPATHエントリの先頭に追加する(優先度を一番高くする)ようにしてください。これは、ASDF_FORCE_PREPEND環境変数で制御できます。

PATHの変更を反映するために、シェルを再起動してください。たいていの場合、ターミナルのタブを新たに開けばOKです。

コアのインストールが完了!

これで、asdfのコアのインストールは完了です🎉

しかし、asdfが役に立つようになるのは、プラグインをインストールしてからツールをインストールし、バージョンを管理するようになってからです。引き続き、ガイドを進めていきましょう。

4. プラグインのインストール

ここではデモとして、asdf-nodejsプラグインを使用してNode.jsをインストール・設定してみましょう。

プラグインの依存関係

各プラグインには依存関係があるため、プラグインのリポジトリを確認しておきましょう。asdf-nodejsの場合、必要なものは次のとおりです:

OS依存関係インストールコマンド
Debianapt-get install dirmngr gpg curl gawk
CentOS/ Rocky Linux/ AlmaLinuxyum install gnupg2 curl gawk
macOSbrew install gpg gawk

一部のプラグインではインストール後の事後処理でこれらの依存関係が必要となるため、あらかじめインストールしておきましょう。

プラグインのインストール

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. 特定のバージョンのインストール

Node.js用のプラグインをインストールしたので、このツールの特定のバージョンをインストールしましょう。

インストール可能なバージョンはasdf list all nodejsコマンドで確認できますし、特定のメジャーバージョンのサブセットはasdf list all nodejs 14コマンドで確認できます。

最新版をインストールするには、次のコマンドを実行します:

shell
asdf install nodejs latest

備考

asdfでは正確なバージョン番号を指定してください。latestは、現時点での最新バージョンを指定できるasdfのヘルパーです。

6. バージョンをセット

asdfは、カレントディレクトリから上位の$HOMEディレクトリまでに存在するすべての.tool-versionsファイルをもとに、ツールのバージョンを照会します。照会は、asdfで管理するツールを実行した際に、ジャストインタイムで行われます。

警告

ツールで指定されたバージョンが見つからない場合、エラーが発生します。asdf currentコマンドを実行すると、カレントディレクトリにおいてツールのバージョンを解決可能か確認できるため、どのツールが実行に失敗するか検証することができます。

グローバル

グローバルのデフォルト設定は、$HOME/.tool-versionsで管理されます。グローバルのバージョンをセットするには、次のコマンドを実行します:

shell
asdf global nodejs latest

すると、$HOME/.tool-versions内には次のように書き込まれます:

nodejs 16.5.0

一部のOSでは、pythonのように、asdfではなくシステムが管理するツールが既にインストールされていることがあります。それを使用する場合、asdfに対して、バージョン管理をシステムに委任するように指示する必要があります。詳しくは、バージョンのリファレンスをご覧ください。

ローカル

ローカルのバージョン設定は、$PWD/.tool-versionsファイル(カレントディレクトリ内)で定義されます。たいていの場合は、プロジェクトのGitリポジトリ内となるでしょう。対象となるディレクトリで、下記コマンドを実行します:

shell
asdf local nodejs latest

すると、$PWD/.tool-versions内には次のように書き込まれます:

nodejs 16.5.0

ツールごとに用意された既存バージョンファイルの利用

asdfは、他のバージョンマネージャ向けに作られた既存のバージョンファイル(例: rbenvの場合は.ruby-versionファイル)からの移行をサポートしています。これはプラグイン単位でのサポートです。

asdf-nodejsであれば、.nvmrcファイルと.node-versionファイルの両方に対応しています。このサポートを有効にするには、asdfの構成設定ファイルである$HOME/.asdfrc内に、下記の行を追記してください:

legacy_version_file = yes

構成設定でのその他のオプションについて詳しくは、構成設定のリファレンスをご覧ください。

入門完了!

以上で、asdfの入門は完了です🎉 ここまでで、プロジェクトでのnodejsのバージョン管理ができるようになりました。プロジェクトで使用するツールごとに、同様の手順を実施してください!

asdfには使いこなすと便利なコマンドが他にもいっぱいあり、asdf --helpコマンドまたは単にasdfコマンドを実行すれば、すべてのコマンドの説明を見ることができます。コマンドは大きく分けて3つのカテゴリに分けられます:

`,82)]))}const g=i(l,[["render",h]]);export{r as __pageData,g as default}; diff --git a/assets/ja-jp_guide_getting-started.md.BOrg7Hf7.lean.js b/assets/ja-jp_guide_getting-started.md.BOrg7Hf7.lean.js new file mode 100644 index 00000000..8fb6dbdf --- /dev/null +++ b/assets/ja-jp_guide_getting-started.md.BOrg7Hf7.lean.js @@ -0,0 +1,13 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const r=JSON.parse('{"title":"はじめよう","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/guide/getting-started.md","filePath":"ja-jp/guide/getting-started.md","lastUpdated":1704890757000}'),l={name:"ja-jp/guide/getting-started.md"};function h(p,s,n,d,k,o){return t(),a("div",null,s[0]||(s[0]=[e(`

はじめよう

asdfのインストールには次の手順が必要です:

  1. 依存関係のインストール
  2. asdfコアのダウンロード
  3. asdfのインストール
  4. 管理したいツール/ランタイムごとにプラグインをインストール
  5. ツール/ランタイムの特定バージョンをインストール
  6. .tool-versionsファイルで、グローバルまたはプロジェクトのバージョンをセット

1. 依存関係のインストール

asdfの動作にはgitおよびcurlが必要です。以下の表は、 あなたが使用している パッケージマネージャで実行するコマンドの 一部例 です(some might automatically install these tools in later steps)。

OSパッケージマネージャコマンド
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

備考

お使いのシステムの構成によっては、接頭にsudoが必要となる場合もあります。

2. asdfのダウンロード

公式ダウンロード

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1

コミュニティがサポートするダウンロード方法

理由がない限り、gitコマンドを使用した公式ダウンロードの手順を使用することを強く推奨します。

方法コマンド
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si または好みのAURヘルパーを使用

3. asdfのインストール

あなたが使用しているシェル、OS、およびインストール方法によって、ここでの設定方法が変わります。最も適したものを選択してください。

masOSユーザの方は、この節の最後にあるpath_helperに関する警告を必ず参照してください。

Bash & Git

~/.bashrcに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

コマンド補完が必要な場合は、.bashrcに下記の行を追記します:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

macOS Catalina以降を使用している場合、デフォルトのシェルはZSHです。Bashに変更していない限り、ZSHの手順を参照してください。

~/.bash_profileに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

コマンド補完が必要な場合は、.bash_profileに下記の行を追記します:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

下記コマンドで、~/.bashrcasdf.shを追加します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bashrc

コマンド補完が必要な場合は、Homebrewのガイドに従って設定を完了させるか、下記コマンドを実行します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bashrc
Bash & Homebrew (macOS)

macOS Catalina以降を使用している場合、デフォルトのシェルはZSHです。Bashに変更していない限り、ZSHの手順を参照してください。

下記コマンドで、~/.bash_profileasdf.shを追加します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bash_profile

コマンド補完が必要な場合は、Homebrewのガイドに従って設定を完了させるか、下記コマンドを実行します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bash_profile
Bash & Pacman

~/.bashrcに下記の行を追記します:

shell
. /opt/asdf-vm/asdf.sh

コマンド補完が必要な場合は、bash-completionをインストールします。

Fish & Git

~/.config/fish/config.fishに下記の行を追記します:

shell
source ~/.asdf/asdf.fish

コマンド補完が必要な場合は、下記コマンドを実行します:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

下記コマンドで、~/.config/fish/config.fishasdf.shを追加します:

shell
echo -e "\\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

コマンド補完は、Fish shellのHomebrewが担います。親切ですね!

Fish & Pacman

~/.config/fish/config.fishに下記の行を追記します:

shell
source /opt/asdf-vm/asdf.fish

コマンド補完は、AURパッケージのインストール時に自動的に設定されます。

Elvish & Git

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

Elvish & Homebrew

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

Elvish & Pacman

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

ZSH & Git

~/.zshrcに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

またはasdf for oh-my-zshのようなZSHフレームワークプラグインを使用して、このスクリプトをsourceし、コマンド補完をセットアップします。

コマンド補完は、ZSHフレームワークのasdfプラグインで設定するか、~/.zshrcに下記の行を追記することで設定できます:

shell
# append completions to fpath
+fpath=(\${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • compinitのセットアップをカスタマイズしている場合は、asdf.shソース以下にcompinitがくるようにしてください。
  • ZSHフレームワークでcompinitのセットアップをカスタマイズしている場合は、フレームワークソース以下にcompinitがくるようにしてください。

警告

ZSHフレームワークを使用している場合、新しいZSHコマンド補完を使用するには、fpath経由で、関連するasdfプラグインの更新が必要となることがあります。Oh-My-ZSH asdfプラグインは、ohmyzsh/ohmyzsh#8837でご覧いただくと分かるとおり、まだ更新されていません。

ZSH & Homebrew

下記コマンドで、~/.zshrcasdf.shを追加します:

shell
echo -e "\\n. $(brew --prefix asdf)/libexec/asdf.sh" >> \${ZDOTDIR:-~}/.zshrc

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

コマンド補完は、ZSHフレームワークasdfによって設定されるか、Homebrewの説明に従って設定必要があります。ZSHフレームワークを使用している場合、新しいZSHコマンド補完を使用するには、fpath経由で、関連するasdfプラグインの更新が必要となることがあります。Oh-My-ZSH asdfプラグインは、ohmyzsh/ohmyzsh#8837でご覧いただくと分かるとおり、まだ更新されていません。

ZSH & Pacman

~/.zshrcに下記の行を追記します:

shell
. /opt/asdf-vm/asdf.sh

コマンド補完は、ZSHに適した場所に配置されますが、オートコンプリートを使用するようにZSHを設定する必要があります

PowerShell Core & Git

~/.config/powershell/profile.ps1に下記の行を追記します:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

下記コマンドで、~/.config/powershell/profile.ps1asdf.shを追加します:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.ps1\\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

~/.config/powershell/profile.ps1に下記の行を追記します:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\\n$env.ASDF_NU_DIR = ($env.HOME | path join '.asdf')\\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

コマンド補完は自動的に設定されます。

Nushell & Homebrew

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\\n$env.ASDF_NU_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\\n source " +  (brew --prefix asdf | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

コマンド補完は自動的に設定されます。

Nushell & Pacman

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\\n$env.ASDF_NU_DIR = '/opt/asdf-vm/'\\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

コマンド補完は自動的に設定されます。

POSIX Shell & Git

~/.profileに下記の行を追記します:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

下記コマンドで、~/.profileasdf.shを追加します:

shell
echo -e "\\nexport ASDF_DIR=\\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
+echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
POSIX Shell & Pacman

~/.profileに下記の行を追記します:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdfのスクリプトは、$PATHを設定したあと、かつ、使用中のフレームワーク(oh-my-zsh など)を呼び出したあとに記述する必要があります。

警告

macOSでは、BasgまたはZSHシェルを起動すると、自動的にpath_helperというユーティリティが呼び出されます。path_helperPATH(およびMANPATH)内の項目の順番を並び替えることができるため、特定の順序を必要とするツールの動作に、一貫性が無くなってしまいます。これを回避するため、macOSでasdfを利用するときは、強制的にPATHエントリの先頭に追加する(優先度を一番高くする)ようにしてください。これは、ASDF_FORCE_PREPEND環境変数で制御できます。

PATHの変更を反映するために、シェルを再起動してください。たいていの場合、ターミナルのタブを新たに開けばOKです。

コアのインストールが完了!

これで、asdfのコアのインストールは完了です🎉

しかし、asdfが役に立つようになるのは、プラグインをインストールしてからツールをインストールし、バージョンを管理するようになってからです。引き続き、ガイドを進めていきましょう。

4. プラグインのインストール

ここではデモとして、asdf-nodejsプラグインを使用してNode.jsをインストール・設定してみましょう。

プラグインの依存関係

各プラグインには依存関係があるため、プラグインのリポジトリを確認しておきましょう。asdf-nodejsの場合、必要なものは次のとおりです:

OS依存関係インストールコマンド
Debianapt-get install dirmngr gpg curl gawk
CentOS/ Rocky Linux/ AlmaLinuxyum install gnupg2 curl gawk
macOSbrew install gpg gawk

一部のプラグインではインストール後の事後処理でこれらの依存関係が必要となるため、あらかじめインストールしておきましょう。

プラグインのインストール

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. 特定のバージョンのインストール

Node.js用のプラグインをインストールしたので、このツールの特定のバージョンをインストールしましょう。

インストール可能なバージョンはasdf list all nodejsコマンドで確認できますし、特定のメジャーバージョンのサブセットはasdf list all nodejs 14コマンドで確認できます。

最新版をインストールするには、次のコマンドを実行します:

shell
asdf install nodejs latest

備考

asdfでは正確なバージョン番号を指定してください。latestは、現時点での最新バージョンを指定できるasdfのヘルパーです。

6. バージョンをセット

asdfは、カレントディレクトリから上位の$HOMEディレクトリまでに存在するすべての.tool-versionsファイルをもとに、ツールのバージョンを照会します。照会は、asdfで管理するツールを実行した際に、ジャストインタイムで行われます。

警告

ツールで指定されたバージョンが見つからない場合、エラーが発生します。asdf currentコマンドを実行すると、カレントディレクトリにおいてツールのバージョンを解決可能か確認できるため、どのツールが実行に失敗するか検証することができます。

グローバル

グローバルのデフォルト設定は、$HOME/.tool-versionsで管理されます。グローバルのバージョンをセットするには、次のコマンドを実行します:

shell
asdf global nodejs latest

すると、$HOME/.tool-versions内には次のように書き込まれます:

nodejs 16.5.0

一部のOSでは、pythonのように、asdfではなくシステムが管理するツールが既にインストールされていることがあります。それを使用する場合、asdfに対して、バージョン管理をシステムに委任するように指示する必要があります。詳しくは、バージョンのリファレンスをご覧ください。

ローカル

ローカルのバージョン設定は、$PWD/.tool-versionsファイル(カレントディレクトリ内)で定義されます。たいていの場合は、プロジェクトのGitリポジトリ内となるでしょう。対象となるディレクトリで、下記コマンドを実行します:

shell
asdf local nodejs latest

すると、$PWD/.tool-versions内には次のように書き込まれます:

nodejs 16.5.0

ツールごとに用意された既存バージョンファイルの利用

asdfは、他のバージョンマネージャ向けに作られた既存のバージョンファイル(例: rbenvの場合は.ruby-versionファイル)からの移行をサポートしています。これはプラグイン単位でのサポートです。

asdf-nodejsであれば、.nvmrcファイルと.node-versionファイルの両方に対応しています。このサポートを有効にするには、asdfの構成設定ファイルである$HOME/.asdfrc内に、下記の行を追記してください:

legacy_version_file = yes

構成設定でのその他のオプションについて詳しくは、構成設定のリファレンスをご覧ください。

入門完了!

以上で、asdfの入門は完了です🎉 ここまでで、プロジェクトでのnodejsのバージョン管理ができるようになりました。プロジェクトで使用するツールごとに、同様の手順を実施してください!

asdfには使いこなすと便利なコマンドが他にもいっぱいあり、asdf --helpコマンドまたは単にasdfコマンドを実行すれば、すべてのコマンドの説明を見ることができます。コマンドは大きく分けて3つのカテゴリに分けられます:

`,82)]))}const g=i(l,[["render",h]]);export{r as __pageData,g as default}; diff --git a/assets/ja-jp_guide_introduction.md.BiCZxaSp.js b/assets/ja-jp_guide_introduction.md.BiCZxaSp.js new file mode 100644 index 00000000..587fd8d3 --- /dev/null +++ b/assets/ja-jp_guide_introduction.md.BiCZxaSp.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as t}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"イントロダクション","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/guide/introduction.md","filePath":"ja-jp/guide/introduction.md","lastUpdated":1704890757000}'),d={name:"ja-jp/guide/introduction.md"};function n(i,e,c,s,h,l){return t(),o("div",null,e[0]||(e[0]=[r('

イントロダクション

asdfは、ツールのためのバージョンマネージャです。すべてのツールのバージョンは単一のファイル(.tool-versions)内で定義されるため、プロジェクトのGitリポジトリにチェックインして共有することで、チーム全員に同じーバージョンのツールを使ってもらえるようになります。

従来は、複数のCLIのバージョンマネージャを用意する必要があり、それぞれが異なるAPI、構成ファイル、および実装($PATHの操作、Shim、環境変数など)となっていました。asdfは、開発ワークフローを簡素化するための単一インターフェースと構成ファイルを提供しており、シンプルなプラグインインターフェースを使って、すべてのツール・ランタイムに拡張することができます。

どうやって動いているの

シェル上でasdfコアがセットアップすると、特定のツールを管理するためのプラグインをインストールすることができるようになります。プラグインによってツールがインストールされると、インストールされる実行ファイルごとにShimが作成されます。これらの実行ファイルを実行しようとすると、代わりにShimが実行され、.tool-versionsで定義されているバージョンをasdfが認識して、当該バージョンが実行されます。

関連プロジェクト

nvm / n / rbenv etc

nvmn、およびrbenvのようなツールはすべて、ツールによってインストールされる実行ファイルのShimを作成するシェルスクリプトです。

asdfはこれらのツールと非常に似ていて、ツール/ランタイムのバージョン管理という分野では競合しています。asdfはプラグインシステムを採用し、他のツールと差別化することで、ツール/ランタイムごとのマネージャ、マネージャごとの異なるコマンド、そしてリポジトリ内の様々な*-versionファイルといったものを排除しています。

direnv

シェルに、ディレクトリごとに環境変数をロード/アンロードできる機能を付け加えます。

asdfは環境変数を管理することはしませんが、direnvの動作をasdfに統合するasdf-direnvプラグインが存在します。

詳しくはdirenvのドキュメントをご覧ください。

Homebrew

macOS(またはLinux)のためのパッケージマネージャー

Homebrewは、パッケージとその上位の依存関係を管理します。asdfは上位の依存関係を管理することはしませんし、パッケージマネージャでもありません。それらの管理はユーザが負担することとなりますが、asdfはなるべく依存関係のリストを小さく保つように努めています。

詳しくはHomebrewのドキュメントをご覧ください。

NixOS

Nixは、パッケージ管理とシステム構成に独自のアプローチを取り入れたツールです。

NixOSは、各ツールの依存関係ツリー全体でパッケージのバージョンを正確に管理することで、真に再現可能な環境を構築することを目指しています。asdfでそのようなことはできません。NixOSは、独自のプログラミング言語、たくさんのCLIツール、そして60,000を超えるパッケージコレクションによって、それらの機能を支えています。

繰り返しになりますが、asdfは上位の依存関係を管理することはしませんし、パッケージマネージャでもありません。

詳しくはNixOSのドキュメントをご覧ください。

なぜasdfを使うの?

asdfは、プラグインシステムによって多くのツールをサポートしており、シェル構成にたった1行のシェルスクリプトを記述するだけで使えるというシンプルさ・親しみやすさによって、チームが確実に同じバージョンのツールを使用することを保証できます。

Note

asdfはシステムのパッケージマネージャになることを目指してはいません。あくまで、ツールのバージョンマネージャです。プラグインを作成することで、どのようなツールでもasdfで管理できるようになりますが、それがそのツールにとって最善の方法であるとは限りませんのでご注意ください。

',25)]))}const b=a(d,[["render",n]]);export{f as __pageData,b as default}; diff --git a/assets/ja-jp_guide_introduction.md.BiCZxaSp.lean.js b/assets/ja-jp_guide_introduction.md.BiCZxaSp.lean.js new file mode 100644 index 00000000..587fd8d3 --- /dev/null +++ b/assets/ja-jp_guide_introduction.md.BiCZxaSp.lean.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as t}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"イントロダクション","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/guide/introduction.md","filePath":"ja-jp/guide/introduction.md","lastUpdated":1704890757000}'),d={name:"ja-jp/guide/introduction.md"};function n(i,e,c,s,h,l){return t(),o("div",null,e[0]||(e[0]=[r('

イントロダクション

asdfは、ツールのためのバージョンマネージャです。すべてのツールのバージョンは単一のファイル(.tool-versions)内で定義されるため、プロジェクトのGitリポジトリにチェックインして共有することで、チーム全員に同じーバージョンのツールを使ってもらえるようになります。

従来は、複数のCLIのバージョンマネージャを用意する必要があり、それぞれが異なるAPI、構成ファイル、および実装($PATHの操作、Shim、環境変数など)となっていました。asdfは、開発ワークフローを簡素化するための単一インターフェースと構成ファイルを提供しており、シンプルなプラグインインターフェースを使って、すべてのツール・ランタイムに拡張することができます。

どうやって動いているの

シェル上でasdfコアがセットアップすると、特定のツールを管理するためのプラグインをインストールすることができるようになります。プラグインによってツールがインストールされると、インストールされる実行ファイルごとにShimが作成されます。これらの実行ファイルを実行しようとすると、代わりにShimが実行され、.tool-versionsで定義されているバージョンをasdfが認識して、当該バージョンが実行されます。

関連プロジェクト

nvm / n / rbenv etc

nvmn、およびrbenvのようなツールはすべて、ツールによってインストールされる実行ファイルのShimを作成するシェルスクリプトです。

asdfはこれらのツールと非常に似ていて、ツール/ランタイムのバージョン管理という分野では競合しています。asdfはプラグインシステムを採用し、他のツールと差別化することで、ツール/ランタイムごとのマネージャ、マネージャごとの異なるコマンド、そしてリポジトリ内の様々な*-versionファイルといったものを排除しています。

direnv

シェルに、ディレクトリごとに環境変数をロード/アンロードできる機能を付け加えます。

asdfは環境変数を管理することはしませんが、direnvの動作をasdfに統合するasdf-direnvプラグインが存在します。

詳しくはdirenvのドキュメントをご覧ください。

Homebrew

macOS(またはLinux)のためのパッケージマネージャー

Homebrewは、パッケージとその上位の依存関係を管理します。asdfは上位の依存関係を管理することはしませんし、パッケージマネージャでもありません。それらの管理はユーザが負担することとなりますが、asdfはなるべく依存関係のリストを小さく保つように努めています。

詳しくはHomebrewのドキュメントをご覧ください。

NixOS

Nixは、パッケージ管理とシステム構成に独自のアプローチを取り入れたツールです。

NixOSは、各ツールの依存関係ツリー全体でパッケージのバージョンを正確に管理することで、真に再現可能な環境を構築することを目指しています。asdfでそのようなことはできません。NixOSは、独自のプログラミング言語、たくさんのCLIツール、そして60,000を超えるパッケージコレクションによって、それらの機能を支えています。

繰り返しになりますが、asdfは上位の依存関係を管理することはしませんし、パッケージマネージャでもありません。

詳しくはNixOSのドキュメントをご覧ください。

なぜasdfを使うの?

asdfは、プラグインシステムによって多くのツールをサポートしており、シェル構成にたった1行のシェルスクリプトを記述するだけで使えるというシンプルさ・親しみやすさによって、チームが確実に同じバージョンのツールを使用することを保証できます。

Note

asdfはシステムのパッケージマネージャになることを目指してはいません。あくまで、ツールのバージョンマネージャです。プラグインを作成することで、どのようなツールでもasdfで管理できるようになりますが、それがそのツールにとって最善の方法であるとは限りませんのでご注意ください。

',25)]))}const b=a(d,[["render",n]]);export{f as __pageData,b as default}; diff --git a/assets/ja-jp_index.md.Nw2yHZ3B.js b/assets/ja-jp_index.md.Nw2yHZ3B.js new file mode 100644 index 00000000..6070fcb5 --- /dev/null +++ b/assets/ja-jp_index.md.Nw2yHZ3B.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as i}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"asdf","text":"マルチランタイム
バージョンマネージャ","tagline":"1つのツールですべてのランタイムのバージョンを管理しましょう!","actions":[{"theme":"brand","text":"はじめよう","link":"/ja-jp/guide/getting-started"},{"theme":"alt","text":"asdfってなに?","link":"/ja-jp/guide/introduction"},{"theme":"alt","text":"GitHubをみる","link":"https://github.com/asdf-vm/asdf"}]},"features":[{"title":"単一ツール","details":"単体のCLIツールとコマンドインターフェースで、各プロジェクトのランタイムを管理できます。","icon":"🎉"},{"title":"プラグイン","details":"既存ランタイム・ツールを使用した大規模なエコシステムです。必要に応じて新しいツールをサポートできるシンプルなAPIを用意しています!","icon":"🔌"},{"title":"後方互換性","details":".nvmrc、.node-version、.ruby-versionといった既存構成ファイルから、スムーズに移行できます!","icon":"⏮"},{"title":"単一の構成ファイル","details":".tool-versionsを使用すると、すべてのツール、ランタイム、およびそれらのバージョンを、共有された単一の場所で管理できます。","icon":"📄"},{"title":"シェル","details":"Bash、ZSH、Fish、およびElvishをサポートし、コマンド補完にも対応しています。","icon":"🐚"},{"title":"GitHub Actions","details":"CI/CDワークフローで、.tool-versionsをインストールし利用するためのGitHub Actionを提供しています。","icon":"🤖"}]},"headers":[],"relativePath":"ja-jp/index.md","filePath":"ja-jp/index.md","lastUpdated":1704890757000}'),a={name:"ja-jp/index.md"};function n(o,s,d,l,r,c){return i(),e("div")}const h=t(a,[["render",n]]);export{m as __pageData,h as default}; diff --git a/assets/ja-jp_index.md.Nw2yHZ3B.lean.js b/assets/ja-jp_index.md.Nw2yHZ3B.lean.js new file mode 100644 index 00000000..6070fcb5 --- /dev/null +++ b/assets/ja-jp_index.md.Nw2yHZ3B.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as i}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"asdf","text":"マルチランタイム
バージョンマネージャ","tagline":"1つのツールですべてのランタイムのバージョンを管理しましょう!","actions":[{"theme":"brand","text":"はじめよう","link":"/ja-jp/guide/getting-started"},{"theme":"alt","text":"asdfってなに?","link":"/ja-jp/guide/introduction"},{"theme":"alt","text":"GitHubをみる","link":"https://github.com/asdf-vm/asdf"}]},"features":[{"title":"単一ツール","details":"単体のCLIツールとコマンドインターフェースで、各プロジェクトのランタイムを管理できます。","icon":"🎉"},{"title":"プラグイン","details":"既存ランタイム・ツールを使用した大規模なエコシステムです。必要に応じて新しいツールをサポートできるシンプルなAPIを用意しています!","icon":"🔌"},{"title":"後方互換性","details":".nvmrc、.node-version、.ruby-versionといった既存構成ファイルから、スムーズに移行できます!","icon":"⏮"},{"title":"単一の構成ファイル","details":".tool-versionsを使用すると、すべてのツール、ランタイム、およびそれらのバージョンを、共有された単一の場所で管理できます。","icon":"📄"},{"title":"シェル","details":"Bash、ZSH、Fish、およびElvishをサポートし、コマンド補完にも対応しています。","icon":"🐚"},{"title":"GitHub Actions","details":"CI/CDワークフローで、.tool-versionsをインストールし利用するためのGitHub Actionを提供しています。","icon":"🤖"}]},"headers":[],"relativePath":"ja-jp/index.md","filePath":"ja-jp/index.md","lastUpdated":1704890757000}'),a={name:"ja-jp/index.md"};function n(o,s,d,l,r,c){return i(),e("div")}const h=t(a,[["render",n]]);export{m as __pageData,h as default}; diff --git a/assets/ja-jp_manage_commands.md.VPBtL-Un.js b/assets/ja-jp_manage_commands.md.VPBtL-Un.js new file mode 100644 index 00000000..08456245 --- /dev/null +++ b/assets/ja-jp_manage_commands.md.VPBtL-Un.js @@ -0,0 +1,66 @@ +import{_ as a,c as n,a2 as p,o as e}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"すべてのコマンド","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/commands.md","filePath":"ja-jp/manage/commands.md","lastUpdated":1704890757000}'),l={name:"ja-jp/manage/commands.md"};function t(i,s,o,c,r,d){return e(),n("div",null,s[0]||(s[0]=[p(`

すべてのコマンド

asdfで利用可能なすべてのコマンドの一覧です。この一覧は、asdf helpコマンドで表示されるテキストです。

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        \`ASDF_\${LANG}_VERSION\` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: \`env\`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
`,3)]))}const m=a(l,[["render",t]]);export{f as __pageData,m as default}; diff --git a/assets/ja-jp_manage_commands.md.VPBtL-Un.lean.js b/assets/ja-jp_manage_commands.md.VPBtL-Un.lean.js new file mode 100644 index 00000000..08456245 --- /dev/null +++ b/assets/ja-jp_manage_commands.md.VPBtL-Un.lean.js @@ -0,0 +1,66 @@ +import{_ as a,c as n,a2 as p,o as e}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"すべてのコマンド","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/commands.md","filePath":"ja-jp/manage/commands.md","lastUpdated":1704890757000}'),l={name:"ja-jp/manage/commands.md"};function t(i,s,o,c,r,d){return e(),n("div",null,s[0]||(s[0]=[p(`

すべてのコマンド

asdfで利用可能なすべてのコマンドの一覧です。この一覧は、asdf helpコマンドで表示されるテキストです。

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        \`ASDF_\${LANG}_VERSION\` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: \`env\`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
`,3)]))}const m=a(l,[["render",t]]);export{f as __pageData,m as default}; diff --git a/assets/ja-jp_manage_configuration.md.BoE7Ge6N.js b/assets/ja-jp_manage_configuration.md.BoE7Ge6N.js new file mode 100644 index 00000000..a0e2f877 --- /dev/null +++ b/assets/ja-jp_manage_configuration.md.BoE7Ge6N.js @@ -0,0 +1,9 @@ +import{_ as s,c as n,a2 as a,j as e,a as l,G as o,B as i,o as r}from"./chunks/framework.C9NVOr0y.js";const O=JSON.parse('{"title":"構成設定","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/configuration.md","filePath":"ja-jp/manage/configuration.md","lastUpdated":1704890757000}'),c={name:"ja-jp/manage/configuration.md"},p={tabindex:"0"},f={style:{"text-align":"left"}},u={tabindex:"0"},g={style:{"text-align":"left"}},y={tabindex:"0"},b={style:{"text-align":"left"}},h={tabindex:"0"},x={style:{"text-align":"left"}},m={tabindex:"0"},v={style:{"text-align":"left"}};function _(k,t,D,A,F,E){const d=i("Badge");return r(),n("div",null,[t[32]||(t[32]=a(`

構成設定

asdfの構成設定には、他人と共有可能な.tool-versionsファイルと、.asdfrcや環境変数によってカスタマイズ可能なユーザ固有の設定とがあります。

.tool-versions

.tool-versionsファイルがディレクトリに存在する場合、当該ディレクトリおよびサブディレクトリで、ファイル内で宣言しているツールのバージョンが使用されます。

備考

グローバルのデフォルト値は、$HOME/.tool-versionsファイルで設定できます。

.tool-versionsファイル内は下記のような記述となっています:

ruby 2.5.3
+nodejs 10.15.0

コメントを含めることもできます:

ruby 2.5.3 # This is a comment
+# This is another comment
+nodejs 10.15.0

バージョンの表記は下記の形式があります:

  • 10.15.0 - 実バージョンの表記です。バイナリのダウンロードに対応しているプラグインの場合、バイナリがダウンロードされます。
  • ref:v1.0.2-a or ref:39cb398vb39 - 指定されたタグ/コミット/ブランチをgithubからダウンロードし、コンパイルされます。
  • path:~/src/elixir - 使用するツールをカスタムコンパイルしたバージョンへのパスです。言語開発者などが使用します。
  • system - このキーワードを指定した場合、asdfが管理していない、システム上のツールバージョンへパススルーします。

ヒント

スペースで区切れば、複数のバージョンを指定できます。例えば、Python 3.7.2を使用し、Python 2.7.15にフォールバックし、最終的にsystemのPythonにフォールバックさせるには、.tool-versionsに下記の行を追記します。

python 3.7.2 2.7.15 system

.tool-versionsファイルで定義されているすべてのツールをインストールするには、.tool-versionsファイルを含むディレクトリで、asdf installコマンドを引数を指定せずに実行します。

.tool-versionsファイルで定義されている単一のツールをインストールするには、.tool-versionsファイルを含むディレクトリで、asdf install <name>コマンドを実行します。ツールは、.tool-versionsファイルで指定されたバージョンでインストールされます。

ファイルは、直接編集するか、asdf localコマンド(またはasdf globalコマンド)を使用して更新してください。

.asdfrc

.asdfrcでは、ユーザのマシン固有の構成を設定します。

asdfはデフォルトで\${HOME}/.asdfrcに構成ファイルを配置します。ファイルの場所は、ASDF_CONFIG_FILE環境変数で設定できます。

下記は、構成に必要な項目とそのデフォルト値を示しています:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

対応しているプラグインの場合、他のバージョンマネージャで使用されているバージョンファイルを読み込むことができます。例えば、Rubyのrbenvであれば.ruby-versionファイルを読み込みます。

`,22)),e("table",p,[t[4]||(t[4]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",f,[t[0]||(t[0]=e("code",null,"no",-1)),t[1]||(t[1]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"})]),t[2]||(t[2]=e("td",{style:{"text-align":"left"}},[l("バージョンの読み込みには"),e("code",null,".tool-versions"),l("を使用します")],-1))]),t[3]||(t[3]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},[l("利用可能なレガシーバージョンファイル("),e("code",null,".ruby-version"),l("など)がある場合、プラグインのフォールバックで使用します")])],-1))])]),t[33]||(t[33]=e("h3",{id:"use-release-candidates",tabindex:"-1"},[e("code",null,"use_release_candidates"),l(),e("a",{class:"header-anchor",href:"#use-release-candidates","aria-label":'Permalink to "`use_release_candidates`"'},"​")],-1)),t[34]||(t[34]=e("p",null,[e("code",null,"asdf update"),l("コマンドでasdfを更新する際に、最新リリースではなく、リリース候補版へ更新するか制御します。")],-1)),e("table",u,[t[9]||(t[9]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",g,[t[5]||(t[5]=e("code",null,"no",-1)),t[6]||(t[6]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"})]),t[7]||(t[7]=e("td",{style:{"text-align":"left"}},"最新リリースを使用します",-1))]),t[8]||(t[8]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"リリース候補版を使用します")],-1))])]),t[35]||(t[35]=e("h3",{id:"always-keep-download",tabindex:"-1"},[e("code",null,"always_keep_download"),l(),e("a",{class:"header-anchor",href:"#always-keep-download","aria-label":'Permalink to "`always_keep_download`"'},"​")],-1)),t[36]||(t[36]=e("p",null,[e("code",null,"asdf install"),l("コマンドでダウンロードしたソースコードやバイナリを、保持しておくか削除するかを制御します。")],-1)),e("table",y,[t[14]||(t[14]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",b,[t[10]||(t[10]=e("code",null,"no",-1)),t[11]||(t[11]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"})]),t[12]||(t[12]=e("td",{style:{"text-align":"left"}},"インストールが成功したら、ソースコードやバイナリを削除します",-1))]),t[13]||(t[13]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"インストール後も、ソースコードやバイナリを保持します")],-1))])]),t[37]||(t[37]=e("h3",{id:"plugin-repository-last-check-duration",tabindex:"-1"},[e("code",null,"plugin_repository_last_check_duration"),l(),e("a",{class:"header-anchor",href:"#plugin-repository-last-check-duration","aria-label":'Permalink to "`plugin_repository_last_check_duration`"'},"​")],-1)),t[38]||(t[38]=e("p",null,"asdfプラグインリポジトリの同期間隔(分)を制御します。何らかのトリガーイベントが発生した際に、最後に同期した時刻からの経過時間をチェックします。設定された間隔以上の時間が経過していた倍は、新たに同期が開始されます。",-1)),e("table",h,[t[26]||(t[26]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",x,[t[15]||(t[15]=e("code",null,"1",-1)),t[16]||(t[16]=l("から")),t[17]||(t[17]=e("code",null,"999999999",-1)),t[18]||(t[18]=l("までの整数値 ")),t[19]||(t[19]=e("br",null,null,-1)),t[20]||(t[20]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"}),t[21]||(t[21]=l("は")),t[22]||(t[22]=e("code",null,"60",-1))]),t[23]||(t[23]=e("td",{style:{"text-align":"left"}},"最後に同期した時刻から指定時間(分)以上経過していた場合、トリガーイベントで同期します",-1))]),t[24]||(t[24]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"0")]),e("td",{style:{"text-align":"left"}},"トリガーイベントのたびに同期します")],-1)),t[25]||(t[25]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"never")]),e("td",{style:{"text-align":"left"}},"同期しません")],-1))])]),t[39]||(t[39]=a('

同期は、以下のコマンドが実行されたときに発生します:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url>コマンドでは、プラグインの同期はトリガーされません。

備考

値をneverにしても、プラグインリポジトリの初期同期は停止されません。この動作については、disable_plugin_short_name_repositoryの節をご覧ください。

disable_plugin_short_name_repository

asdfプラグインのショートネームリポジトリの同期を無効化します。ショートネームリポジトリが無効となっている場合、同期イベントはすぐに終了します。

',6)),e("table",m,[t[31]||(t[31]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",v,[t[27]||(t[27]=e("code",null,"no",-1)),t[28]||(t[28]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"})]),t[29]||(t[29]=e("td",{style:{"text-align":"left"}},"同期イベントが発生した際に、asdfプラグインリポジトリをクローンまたは更新します",-1))]),t[30]||(t[30]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"プラグインショートネームリポジトリを無効化します")],-1))])]),t[40]||(t[40]=a('

同期は、以下のコマンドが実行されたときに発生します:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url>コマンドでは、プラグインの同期はトリガーされません。

備考

プラグインショートネームリポジトリを無効化しても、すでに同期されたリポジトリは削除されません。プラグインリポジトリを削除するには、rm --recursive --trash $ASDF_DATA_DIR/repositoryコマンドを実行してください。

また、プラグインショートネームリポジトリを無効化しても、以前にこのソースからインストールされたプラグインは削除されません。プラグインを削除するには、asdf plugin remove <name>コマンドを実行してください。プラグインを削除すると、そのプラグインでインストールされたすべてのツールバージョンが削除されます。

concurrency

コンパイル時に使用するデフォルトのコア数です。

OptionsDescription
整数値ソースコードのコンパイル時に使用するコア数です
autonprocsysctl hw.ncpu/proc/cpuinfo、または1、の優先順でコア数を計算します

備考: ASDF_CONCURRENCY環境変数が設定されている場合はそちらが優先されます。

環境変数

環境変数の設定値は、お使いのシステムやシェルによって異なります。デフォルトロケーションは、インストールした場所や方法(Gitクローン、Homebrew、AUR)によって異なります。

環境変数は通常、asdf.sh/asdf.fishなどをsourceする前に設定する必要があります。Elvishの場合は、use asdfの上側に設定します。

以下では、Bashシェルでの使用方法について説明します。

ASDF_CONFIG_FILE

.asdfrc構成ファイルへのパスです。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: $HOME/.asdfrcの値が使用されます。
  • 使用方法: export ASDF_CONFIG_FILE=/home/john_doe/.config/asdf/.asdfrc

ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

ツール名とバージョンの情報を格納するファイルのファイル名です。有効なファイル名であれば何でも設定できます。通常、.tool-versionsファイルを無視したい場合を除き、この値を変更するべきではありません。

  • 未設定の場合: .tool-versionsの値が使用されます。
  • 使用方法: export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=tool_versions

ASDF_DIR

asdfのコアスクリプト場所です。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: bin/asdf実行ファイルの親ディレクトリが使用されます。
  • 使用方法: export ASDF_DIR=/home/john_doe/.config/asdf

ASDF_DATA_DIR

asdfがプラグイン、Shim、ツールのバージョンをインストールする場所です。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: $HOME/.asdfディレクトリが存在すればその場所、存在しない場合はASDF_DIRの値を使用します。
  • 使用方法: export ASDF_DATA_DIR=/home/john_doe/.asdf

ASDF_CONCURRENCY

ソースコードのコンパイル時に使用するコア数です。この環境変数の値は、asdf構成ファイルのconcurrencyの値よりも優先されます。

  • 未設定の場合: asdf構成ファイルのconcurrencyの値が使用されます。
  • 使用方法: export ASDF_CONCURRENCY=32

ASDF_FORCE_PREPEND

asdfのShimやパスのディレクトリをPATHの先頭(最高優先度)に追加するかどうかを設定します。

  • 未設定の場合: macOSでのデフォルト値はyes、その他のシステムでのデフォルト値はnoです。
  • yesの場合: asdfディレクトリを強制的にPATHの先頭に配置します。
  • yes以外の文字列を設定した場合: asdfディレクトリを強制的にPATHの先頭に配置することは しません
  • Usage: ASDF_FORCE_PREPEND=no . "<path-to-asdf-directory>/asdf.sh"

完全な構成の例

下記のように、asdfをシンプルにセットアップしたとします:

  • Bashシェル
  • インストール先は$HOME/.asdf
  • Git経由でインストール
  • 環境変数は何も設定していない
  • .asdfrcファイルは何もカスタマイズしていない

すると、結果として以下のような構成となります:

構成値がセットされる過程
config file location$HOME/.asdfrcASDF_CONFIG_FILEは空なので、$HOME/.asdfrcが使用されます。
default tool versions filename.tool-versionsASDF_DEFAULT_TOOL_VERSIONS_FILENAMEは空なので、.tool-versionsが使用されます。
asdf dir$HOME/.asdfASDF_DIRは空なので、bin/asdfの親ディレクトリが使用されます。
asdf data dir$HOME/.asdfASDF_DATA_DIRは空であり、$HOMEが存在するので、$HOME/.asdfが使用されます。
concurrencyautoASDF_CONCURRENCYは空なので、デフォルト構成concurrencyの値に依存します。
legacy_version_fileno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
use_release_candidatesno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
always_keep_downloadno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
plugin_repository_last_check_duration60.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
disable_plugin_short_name_repositoryno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。

内部構成

この節では、パッケージマネージャやインテグレータ向けのasdfの内部構成について記述しているため、ユーザが気にする必要はありません。

  • $ASDF_DIR/asdf_updates_disabled: このファイルが存在する場合、asdf updateコマンドによる更新は無効になります(ファイル内容は関係ありません)。これは、PacmanやHomebrewのようなパッケージマネージャによって使用され、特定のインストールに対して正しい更新方法を適用するようにします。
',38))])}const P=s(c,[["render",_]]);export{O as __pageData,P as default}; diff --git a/assets/ja-jp_manage_configuration.md.BoE7Ge6N.lean.js b/assets/ja-jp_manage_configuration.md.BoE7Ge6N.lean.js new file mode 100644 index 00000000..a0e2f877 --- /dev/null +++ b/assets/ja-jp_manage_configuration.md.BoE7Ge6N.lean.js @@ -0,0 +1,9 @@ +import{_ as s,c as n,a2 as a,j as e,a as l,G as o,B as i,o as r}from"./chunks/framework.C9NVOr0y.js";const O=JSON.parse('{"title":"構成設定","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/configuration.md","filePath":"ja-jp/manage/configuration.md","lastUpdated":1704890757000}'),c={name:"ja-jp/manage/configuration.md"},p={tabindex:"0"},f={style:{"text-align":"left"}},u={tabindex:"0"},g={style:{"text-align":"left"}},y={tabindex:"0"},b={style:{"text-align":"left"}},h={tabindex:"0"},x={style:{"text-align":"left"}},m={tabindex:"0"},v={style:{"text-align":"left"}};function _(k,t,D,A,F,E){const d=i("Badge");return r(),n("div",null,[t[32]||(t[32]=a(`

構成設定

asdfの構成設定には、他人と共有可能な.tool-versionsファイルと、.asdfrcや環境変数によってカスタマイズ可能なユーザ固有の設定とがあります。

.tool-versions

.tool-versionsファイルがディレクトリに存在する場合、当該ディレクトリおよびサブディレクトリで、ファイル内で宣言しているツールのバージョンが使用されます。

備考

グローバルのデフォルト値は、$HOME/.tool-versionsファイルで設定できます。

.tool-versionsファイル内は下記のような記述となっています:

ruby 2.5.3
+nodejs 10.15.0

コメントを含めることもできます:

ruby 2.5.3 # This is a comment
+# This is another comment
+nodejs 10.15.0

バージョンの表記は下記の形式があります:

  • 10.15.0 - 実バージョンの表記です。バイナリのダウンロードに対応しているプラグインの場合、バイナリがダウンロードされます。
  • ref:v1.0.2-a or ref:39cb398vb39 - 指定されたタグ/コミット/ブランチをgithubからダウンロードし、コンパイルされます。
  • path:~/src/elixir - 使用するツールをカスタムコンパイルしたバージョンへのパスです。言語開発者などが使用します。
  • system - このキーワードを指定した場合、asdfが管理していない、システム上のツールバージョンへパススルーします。

ヒント

スペースで区切れば、複数のバージョンを指定できます。例えば、Python 3.7.2を使用し、Python 2.7.15にフォールバックし、最終的にsystemのPythonにフォールバックさせるには、.tool-versionsに下記の行を追記します。

python 3.7.2 2.7.15 system

.tool-versionsファイルで定義されているすべてのツールをインストールするには、.tool-versionsファイルを含むディレクトリで、asdf installコマンドを引数を指定せずに実行します。

.tool-versionsファイルで定義されている単一のツールをインストールするには、.tool-versionsファイルを含むディレクトリで、asdf install <name>コマンドを実行します。ツールは、.tool-versionsファイルで指定されたバージョンでインストールされます。

ファイルは、直接編集するか、asdf localコマンド(またはasdf globalコマンド)を使用して更新してください。

.asdfrc

.asdfrcでは、ユーザのマシン固有の構成を設定します。

asdfはデフォルトで\${HOME}/.asdfrcに構成ファイルを配置します。ファイルの場所は、ASDF_CONFIG_FILE環境変数で設定できます。

下記は、構成に必要な項目とそのデフォルト値を示しています:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

対応しているプラグインの場合、他のバージョンマネージャで使用されているバージョンファイルを読み込むことができます。例えば、Rubyのrbenvであれば.ruby-versionファイルを読み込みます。

`,22)),e("table",p,[t[4]||(t[4]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",f,[t[0]||(t[0]=e("code",null,"no",-1)),t[1]||(t[1]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"})]),t[2]||(t[2]=e("td",{style:{"text-align":"left"}},[l("バージョンの読み込みには"),e("code",null,".tool-versions"),l("を使用します")],-1))]),t[3]||(t[3]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},[l("利用可能なレガシーバージョンファイル("),e("code",null,".ruby-version"),l("など)がある場合、プラグインのフォールバックで使用します")])],-1))])]),t[33]||(t[33]=e("h3",{id:"use-release-candidates",tabindex:"-1"},[e("code",null,"use_release_candidates"),l(),e("a",{class:"header-anchor",href:"#use-release-candidates","aria-label":'Permalink to "`use_release_candidates`"'},"​")],-1)),t[34]||(t[34]=e("p",null,[e("code",null,"asdf update"),l("コマンドでasdfを更新する際に、最新リリースではなく、リリース候補版へ更新するか制御します。")],-1)),e("table",u,[t[9]||(t[9]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",g,[t[5]||(t[5]=e("code",null,"no",-1)),t[6]||(t[6]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"})]),t[7]||(t[7]=e("td",{style:{"text-align":"left"}},"最新リリースを使用します",-1))]),t[8]||(t[8]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"リリース候補版を使用します")],-1))])]),t[35]||(t[35]=e("h3",{id:"always-keep-download",tabindex:"-1"},[e("code",null,"always_keep_download"),l(),e("a",{class:"header-anchor",href:"#always-keep-download","aria-label":'Permalink to "`always_keep_download`"'},"​")],-1)),t[36]||(t[36]=e("p",null,[e("code",null,"asdf install"),l("コマンドでダウンロードしたソースコードやバイナリを、保持しておくか削除するかを制御します。")],-1)),e("table",y,[t[14]||(t[14]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",b,[t[10]||(t[10]=e("code",null,"no",-1)),t[11]||(t[11]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"})]),t[12]||(t[12]=e("td",{style:{"text-align":"left"}},"インストールが成功したら、ソースコードやバイナリを削除します",-1))]),t[13]||(t[13]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"インストール後も、ソースコードやバイナリを保持します")],-1))])]),t[37]||(t[37]=e("h3",{id:"plugin-repository-last-check-duration",tabindex:"-1"},[e("code",null,"plugin_repository_last_check_duration"),l(),e("a",{class:"header-anchor",href:"#plugin-repository-last-check-duration","aria-label":'Permalink to "`plugin_repository_last_check_duration`"'},"​")],-1)),t[38]||(t[38]=e("p",null,"asdfプラグインリポジトリの同期間隔(分)を制御します。何らかのトリガーイベントが発生した際に、最後に同期した時刻からの経過時間をチェックします。設定された間隔以上の時間が経過していた倍は、新たに同期が開始されます。",-1)),e("table",h,[t[26]||(t[26]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",x,[t[15]||(t[15]=e("code",null,"1",-1)),t[16]||(t[16]=l("から")),t[17]||(t[17]=e("code",null,"999999999",-1)),t[18]||(t[18]=l("までの整数値 ")),t[19]||(t[19]=e("br",null,null,-1)),t[20]||(t[20]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"}),t[21]||(t[21]=l("は")),t[22]||(t[22]=e("code",null,"60",-1))]),t[23]||(t[23]=e("td",{style:{"text-align":"left"}},"最後に同期した時刻から指定時間(分)以上経過していた場合、トリガーイベントで同期します",-1))]),t[24]||(t[24]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"0")]),e("td",{style:{"text-align":"left"}},"トリガーイベントのたびに同期します")],-1)),t[25]||(t[25]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"never")]),e("td",{style:{"text-align":"left"}},"同期しません")],-1))])]),t[39]||(t[39]=a('

同期は、以下のコマンドが実行されたときに発生します:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url>コマンドでは、プラグインの同期はトリガーされません。

備考

値をneverにしても、プラグインリポジトリの初期同期は停止されません。この動作については、disable_plugin_short_name_repositoryの節をご覧ください。

disable_plugin_short_name_repository

asdfプラグインのショートネームリポジトリの同期を無効化します。ショートネームリポジトリが無効となっている場合、同期イベントはすぐに終了します。

',6)),e("table",m,[t[31]||(t[31]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"オプション"),e("th",{style:{"text-align":"left"}},"説明")])],-1)),e("tbody",null,[e("tr",null,[e("td",v,[t[27]||(t[27]=e("code",null,"no",-1)),t[28]||(t[28]=l()),o(d,{type:"tip",text:"デフォルト",vertical:"middle"})]),t[29]||(t[29]=e("td",{style:{"text-align":"left"}},"同期イベントが発生した際に、asdfプラグインリポジトリをクローンまたは更新します",-1))]),t[30]||(t[30]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"プラグインショートネームリポジトリを無効化します")],-1))])]),t[40]||(t[40]=a('

同期は、以下のコマンドが実行されたときに発生します:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url>コマンドでは、プラグインの同期はトリガーされません。

備考

プラグインショートネームリポジトリを無効化しても、すでに同期されたリポジトリは削除されません。プラグインリポジトリを削除するには、rm --recursive --trash $ASDF_DATA_DIR/repositoryコマンドを実行してください。

また、プラグインショートネームリポジトリを無効化しても、以前にこのソースからインストールされたプラグインは削除されません。プラグインを削除するには、asdf plugin remove <name>コマンドを実行してください。プラグインを削除すると、そのプラグインでインストールされたすべてのツールバージョンが削除されます。

concurrency

コンパイル時に使用するデフォルトのコア数です。

OptionsDescription
整数値ソースコードのコンパイル時に使用するコア数です
autonprocsysctl hw.ncpu/proc/cpuinfo、または1、の優先順でコア数を計算します

備考: ASDF_CONCURRENCY環境変数が設定されている場合はそちらが優先されます。

環境変数

環境変数の設定値は、お使いのシステムやシェルによって異なります。デフォルトロケーションは、インストールした場所や方法(Gitクローン、Homebrew、AUR)によって異なります。

環境変数は通常、asdf.sh/asdf.fishなどをsourceする前に設定する必要があります。Elvishの場合は、use asdfの上側に設定します。

以下では、Bashシェルでの使用方法について説明します。

ASDF_CONFIG_FILE

.asdfrc構成ファイルへのパスです。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: $HOME/.asdfrcの値が使用されます。
  • 使用方法: export ASDF_CONFIG_FILE=/home/john_doe/.config/asdf/.asdfrc

ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

ツール名とバージョンの情報を格納するファイルのファイル名です。有効なファイル名であれば何でも設定できます。通常、.tool-versionsファイルを無視したい場合を除き、この値を変更するべきではありません。

  • 未設定の場合: .tool-versionsの値が使用されます。
  • 使用方法: export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=tool_versions

ASDF_DIR

asdfのコアスクリプト場所です。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: bin/asdf実行ファイルの親ディレクトリが使用されます。
  • 使用方法: export ASDF_DIR=/home/john_doe/.config/asdf

ASDF_DATA_DIR

asdfがプラグイン、Shim、ツールのバージョンをインストールする場所です。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: $HOME/.asdfディレクトリが存在すればその場所、存在しない場合はASDF_DIRの値を使用します。
  • 使用方法: export ASDF_DATA_DIR=/home/john_doe/.asdf

ASDF_CONCURRENCY

ソースコードのコンパイル時に使用するコア数です。この環境変数の値は、asdf構成ファイルのconcurrencyの値よりも優先されます。

  • 未設定の場合: asdf構成ファイルのconcurrencyの値が使用されます。
  • 使用方法: export ASDF_CONCURRENCY=32

ASDF_FORCE_PREPEND

asdfのShimやパスのディレクトリをPATHの先頭(最高優先度)に追加するかどうかを設定します。

  • 未設定の場合: macOSでのデフォルト値はyes、その他のシステムでのデフォルト値はnoです。
  • yesの場合: asdfディレクトリを強制的にPATHの先頭に配置します。
  • yes以外の文字列を設定した場合: asdfディレクトリを強制的にPATHの先頭に配置することは しません
  • Usage: ASDF_FORCE_PREPEND=no . "<path-to-asdf-directory>/asdf.sh"

完全な構成の例

下記のように、asdfをシンプルにセットアップしたとします:

  • Bashシェル
  • インストール先は$HOME/.asdf
  • Git経由でインストール
  • 環境変数は何も設定していない
  • .asdfrcファイルは何もカスタマイズしていない

すると、結果として以下のような構成となります:

構成値がセットされる過程
config file location$HOME/.asdfrcASDF_CONFIG_FILEは空なので、$HOME/.asdfrcが使用されます。
default tool versions filename.tool-versionsASDF_DEFAULT_TOOL_VERSIONS_FILENAMEは空なので、.tool-versionsが使用されます。
asdf dir$HOME/.asdfASDF_DIRは空なので、bin/asdfの親ディレクトリが使用されます。
asdf data dir$HOME/.asdfASDF_DATA_DIRは空であり、$HOMEが存在するので、$HOME/.asdfが使用されます。
concurrencyautoASDF_CONCURRENCYは空なので、デフォルト構成concurrencyの値に依存します。
legacy_version_fileno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
use_release_candidatesno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
always_keep_downloadno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
plugin_repository_last_check_duration60.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
disable_plugin_short_name_repositoryno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。

内部構成

この節では、パッケージマネージャやインテグレータ向けのasdfの内部構成について記述しているため、ユーザが気にする必要はありません。

  • $ASDF_DIR/asdf_updates_disabled: このファイルが存在する場合、asdf updateコマンドによる更新は無効になります(ファイル内容は関係ありません)。これは、PacmanやHomebrewのようなパッケージマネージャによって使用され、特定のインストールに対して正しい更新方法を適用するようにします。
',38))])}const P=s(c,[["render",_]]);export{O as __pageData,P as default}; diff --git a/assets/ja-jp_manage_core.md.B1eqmXXm.js b/assets/ja-jp_manage_core.md.B1eqmXXm.js new file mode 100644 index 00000000..6d0767ac --- /dev/null +++ b/assets/ja-jp_manage_core.md.B1eqmXXm.js @@ -0,0 +1,18 @@ +import{_ as i,c as a,a2 as l,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"コア","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/core.md","filePath":"ja-jp/manage/core.md","lastUpdated":1704890757000}'),h={name:"ja-jp/manage/core.md"};function e(n,s,p,k,d,o){return t(),a("div",null,s[0]||(s[0]=[l(`

コア

コアとなるasdfのコマンドはかなり少量ですが、多くのワークフローを円滑に進めることができます。

インストール & セットアップ

はじめようのガイドで説明されています。

実行

shell
asdf exec <command> [args...]

現在のバージョンのShimでコマンドを実行します。

環境変数

shell
asdf env <command> [util]

情報

shell
asdf info

OS、シェル、およびasdfのデバッグ情報を表示するヘルパーコマンドです。バグレポート作成時に共有してください。

Shimの再作成

shell
asdf reshim <name> <version>

特定のパッケージ・バージョンのShimを再作成します。デフォルトでは、Shimはプラグインによってツールのインストール中に作成されます。npm CLIなどのツールは、実行ファイルをグローバルインストールができます(例:npm install -g yarnコマンドでYarnをインストール)が、これらの実行ファイルはプラグインのライフサイクルを通してインストールされないため、Shimはまだ存在しません。そのような時に、例えばasdf reshim nodejs <version>を実行すると、nodejs<version>に対して、yarnのような新しい実行ファイルのShimを強制的に再作成させることができます。

Shimのバージョン

shell
asdf shim-versions <command>

<command>のShimを提供するプラグインおよびバージョンを一覧で表示します。

例えば、Node.jsにはnodenpmという2つの実行ファイルが提供されています。asdf-nodejsプラグインで、複数のバージョンのツールがインストールされている場合、shim-versionsは下記のような一覧を返します:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

更新

asdfには、Git依存のアップデートコマンドが用意されています(推奨されるインストール方法を使用した場合)。別の方法でインストールした場合、その方法の手順に従ってください:

方法最新の安定リリースmasterブランチの最新コミット
asdf (Git経由)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
Pacman新しいPKGBUILDをダウンロードしてリビルド、
または好みのAURヘルパーを使用

アンインストール

asdfをアンインストールするには以下の手順に従ってください:

Bash & Git
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. ~/.bash_profileで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

コマンド補完については、Homebrewで説明されている方法で設定されている可能性があるため、そちらのガイドに従って削除する行を見つけてください。

  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

macOS Catalina以降では、デフォルトのシェルがZSHに変更されました。もし、~/.bash_profileに設定が見つからない場合は、~/.zshrcにある可能性があります。その場合は、ZSHの手順をご覧ください。

  1. ~/.bash_profileで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

コマンド補完については、Homebrewで説明されている方法で設定されている可能性があるため、そちらのガイドに従って削除する行を見つけてください。

  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. /opt/asdf-vm/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source ~/.asdf/asdf.fish

そして、次のコマンドで、コマンド補完を削除します:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source /opt/asdf-vm/asdf.fish
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. $HOME/.asdfディレクトリを削除します:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. ~/.zshrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(\${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

または、ZSHフレームワークプラグインを使用します。

  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. ~/.zshrcで、asdf.shをsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force && brew autoremove
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. ~/.zshrcで、asdf.shをsourceしている行を削除します:
shell
. /opt/asdf-vm/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

たったこれだけです! 🎉

`,41)]))}const F=i(h,[["render",e]]);export{c as __pageData,F as default}; diff --git a/assets/ja-jp_manage_core.md.B1eqmXXm.lean.js b/assets/ja-jp_manage_core.md.B1eqmXXm.lean.js new file mode 100644 index 00000000..6d0767ac --- /dev/null +++ b/assets/ja-jp_manage_core.md.B1eqmXXm.lean.js @@ -0,0 +1,18 @@ +import{_ as i,c as a,a2 as l,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"コア","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/core.md","filePath":"ja-jp/manage/core.md","lastUpdated":1704890757000}'),h={name:"ja-jp/manage/core.md"};function e(n,s,p,k,d,o){return t(),a("div",null,s[0]||(s[0]=[l(`

コア

コアとなるasdfのコマンドはかなり少量ですが、多くのワークフローを円滑に進めることができます。

インストール & セットアップ

はじめようのガイドで説明されています。

実行

shell
asdf exec <command> [args...]

現在のバージョンのShimでコマンドを実行します。

環境変数

shell
asdf env <command> [util]

情報

shell
asdf info

OS、シェル、およびasdfのデバッグ情報を表示するヘルパーコマンドです。バグレポート作成時に共有してください。

Shimの再作成

shell
asdf reshim <name> <version>

特定のパッケージ・バージョンのShimを再作成します。デフォルトでは、Shimはプラグインによってツールのインストール中に作成されます。npm CLIなどのツールは、実行ファイルをグローバルインストールができます(例:npm install -g yarnコマンドでYarnをインストール)が、これらの実行ファイルはプラグインのライフサイクルを通してインストールされないため、Shimはまだ存在しません。そのような時に、例えばasdf reshim nodejs <version>を実行すると、nodejs<version>に対して、yarnのような新しい実行ファイルのShimを強制的に再作成させることができます。

Shimのバージョン

shell
asdf shim-versions <command>

<command>のShimを提供するプラグインおよびバージョンを一覧で表示します。

例えば、Node.jsにはnodenpmという2つの実行ファイルが提供されています。asdf-nodejsプラグインで、複数のバージョンのツールがインストールされている場合、shim-versionsは下記のような一覧を返します:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

更新

asdfには、Git依存のアップデートコマンドが用意されています(推奨されるインストール方法を使用した場合)。別の方法でインストールした場合、その方法の手順に従ってください:

方法最新の安定リリースmasterブランチの最新コミット
asdf (Git経由)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
Pacman新しいPKGBUILDをダウンロードしてリビルド、
または好みのAURヘルパーを使用

アンインストール

asdfをアンインストールするには以下の手順に従ってください:

Bash & Git
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. ~/.bash_profileで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

コマンド補完については、Homebrewで説明されている方法で設定されている可能性があるため、そちらのガイドに従って削除する行を見つけてください。

  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

macOS Catalina以降では、デフォルトのシェルがZSHに変更されました。もし、~/.bash_profileに設定が見つからない場合は、~/.zshrcにある可能性があります。その場合は、ZSHの手順をご覧ください。

  1. ~/.bash_profileで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

コマンド補完については、Homebrewで説明されている方法で設定されている可能性があるため、そちらのガイドに従って削除する行を見つけてください。

  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. /opt/asdf-vm/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source ~/.asdf/asdf.fish

そして、次のコマンドで、コマンド補完を削除します:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source /opt/asdf-vm/asdf.fish
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. $HOME/.asdfディレクトリを削除します:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. ~/.zshrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(\${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

または、ZSHフレームワークプラグインを使用します。

  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. ~/.zshrcで、asdf.shをsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force && brew autoremove
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. ~/.zshrcで、asdf.shをsourceしている行を削除します:
shell
. /opt/asdf-vm/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

たったこれだけです! 🎉

`,41)]))}const F=i(h,[["render",e]]);export{c as __pageData,F as default}; diff --git a/assets/ja-jp_manage_plugins.md.Cbru-sBo.js b/assets/ja-jp_manage_plugins.md.Cbru-sBo.js new file mode 100644 index 00000000..f762586d --- /dev/null +++ b/assets/ja-jp_manage_plugins.md.Cbru-sBo.js @@ -0,0 +1,11 @@ +import{_ as a,c as i,a2 as l,o as e}from"./chunks/framework.C9NVOr0y.js";const g=JSON.parse('{"title":"プラグイン","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/plugins.md","filePath":"ja-jp/manage/plugins.md","lastUpdated":1704890757000}'),t={name:"ja-jp/manage/plugins.md"};function n(h,s,p,d,k,r){return e(),i("div",null,s[0]||(s[0]=[l(`

プラグイン

プラグインは、asdfがNode.jsやRuby、Elixirなどの様々なツールを取り扱えるようにするためのものです。

様々なツールをサポートするために使用されるプラグインAPIについては、プラグインの作成をご覧ください。

追加

下記コマンドでは、GitのURLからプラグインを追加します:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

または下記のコマンドで、プラグインリポジトリのショートネームを指定して追加します:

shell
asdf plugin add <name>
+# asdf plugin add erlang

推奨

リポジトリのショートネームに依存しないために、git-urlを使用することを推奨します。

インストール済みプラグイン一覧

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

全プラグインのショートネーム一覧

shell
asdf plugin list all

全プラグインのショートネーム一覧については、プラグインショートネームの一覧もご覧ください。

更新

shell
asdf plugin update --all

特定のプラグインパッケージを更新したい場合は、下記のように指定してください。

shell
asdf plugin update <name>
+# asdf plugin update erlang

この更新コマンドは、プラグインリポジトリの originデフォルトブランチ における 最新コミット を取得します。バージョニングされたプラグインの更新機能については、現在開発中です(#916)。

削除

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

プラグインを削除すると、当該プラグインでインストールされたすべてのツールが削除されます。これは、各ツールの未使用バージョンを手っ取り早くクリーンアップ/プルーニングするのに有用です。

ショートネームリポジトリの同期

ショートネームリポジトリはローカルマシンに同期され、定期的に更新されます。同期のタイミングの条件は、次のとおりです:

  • 同期イベントは、下記コマンドによってトリガーされます:
    • asdf plugin add <name>
    • asdf plugin list all
  • 構成設定のdisable_plugin_short_name_repositoryオプションがyesの場合、同期は中止されます。詳しくはasdfの構成設定のリファレンスをご覧ください。
  • もし、過去X分の間に同期が行われていない場合、同期が開始されます。
    • Xのデフォルト値は60ですが、.asdfrcファイルのplugin_repository_last_check_durationオプションで変更することができます。詳しくはasdfの構成設定のリファレンスをご覧ください。
`,26)]))}const c=a(t,[["render",n]]);export{g as __pageData,c as default}; diff --git a/assets/ja-jp_manage_plugins.md.Cbru-sBo.lean.js b/assets/ja-jp_manage_plugins.md.Cbru-sBo.lean.js new file mode 100644 index 00000000..f762586d --- /dev/null +++ b/assets/ja-jp_manage_plugins.md.Cbru-sBo.lean.js @@ -0,0 +1,11 @@ +import{_ as a,c as i,a2 as l,o as e}from"./chunks/framework.C9NVOr0y.js";const g=JSON.parse('{"title":"プラグイン","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/plugins.md","filePath":"ja-jp/manage/plugins.md","lastUpdated":1704890757000}'),t={name:"ja-jp/manage/plugins.md"};function n(h,s,p,d,k,r){return e(),i("div",null,s[0]||(s[0]=[l(`

プラグイン

プラグインは、asdfがNode.jsやRuby、Elixirなどの様々なツールを取り扱えるようにするためのものです。

様々なツールをサポートするために使用されるプラグインAPIについては、プラグインの作成をご覧ください。

追加

下記コマンドでは、GitのURLからプラグインを追加します:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

または下記のコマンドで、プラグインリポジトリのショートネームを指定して追加します:

shell
asdf plugin add <name>
+# asdf plugin add erlang

推奨

リポジトリのショートネームに依存しないために、git-urlを使用することを推奨します。

インストール済みプラグイン一覧

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

全プラグインのショートネーム一覧

shell
asdf plugin list all

全プラグインのショートネーム一覧については、プラグインショートネームの一覧もご覧ください。

更新

shell
asdf plugin update --all

特定のプラグインパッケージを更新したい場合は、下記のように指定してください。

shell
asdf plugin update <name>
+# asdf plugin update erlang

この更新コマンドは、プラグインリポジトリの originデフォルトブランチ における 最新コミット を取得します。バージョニングされたプラグインの更新機能については、現在開発中です(#916)。

削除

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

プラグインを削除すると、当該プラグインでインストールされたすべてのツールが削除されます。これは、各ツールの未使用バージョンを手っ取り早くクリーンアップ/プルーニングするのに有用です。

ショートネームリポジトリの同期

ショートネームリポジトリはローカルマシンに同期され、定期的に更新されます。同期のタイミングの条件は、次のとおりです:

  • 同期イベントは、下記コマンドによってトリガーされます:
    • asdf plugin add <name>
    • asdf plugin list all
  • 構成設定のdisable_plugin_short_name_repositoryオプションがyesの場合、同期は中止されます。詳しくはasdfの構成設定のリファレンスをご覧ください。
  • もし、過去X分の間に同期が行われていない場合、同期が開始されます。
    • Xのデフォルト値は60ですが、.asdfrcファイルのplugin_repository_last_check_durationオプションで変更することができます。詳しくはasdfの構成設定のリファレンスをご覧ください。
`,26)]))}const c=a(t,[["render",n]]);export{g as __pageData,c as default}; diff --git a/assets/ja-jp_manage_versions.md.Dxk0G51J.js b/assets/ja-jp_manage_versions.md.Dxk0G51J.js new file mode 100644 index 00000000..3ab74973 --- /dev/null +++ b/assets/ja-jp_manage_versions.md.Dxk0G51J.js @@ -0,0 +1,30 @@ +import{_ as i,c as a,a2 as l,o as h}from"./chunks/framework.C9NVOr0y.js";const o=JSON.parse('{"title":"バージョン","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/versions.md","filePath":"ja-jp/manage/versions.md","lastUpdated":1704890757000}'),t={name:"ja-jp/manage/versions.md"};function n(e,s,p,k,d,r){return h(),a("div",null,s[0]||(s[0]=[l(`

バージョン

バージョンのインストール

shell
asdf install <name> <version>
+# asdf install erlang 17.3

プラグインが、ソースコードからのダウンロード・コンパイルをサポートしている場合、ref:fooの形式(fooは特定のブランチ、タグ、またはコミット)でバージョンを指定できます。アンインストールするときも、同じ名前とバージョンを指定する必要があります。

最新安定バージョンのインストール

shell
asdf install <name> latest
+# asdf install erlang latest

下記のように、特定のプレフィックスでの最新安定バージョンをインストールすることもできます。

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

インストール済みバージョン一覧

shell
asdf list <name>
+# asdf list erlang

下記のように、特定のプレフィックスでのバージョンでフィルタすることもできます。

shell
asdf list <name> <version>
+# asdf list erlang 17

インストール可能な全バージョン一覧

shell
asdf list all <name>
+# asdf list all erlang

下記のように、特定のプレフィックスでのバージョンでフィルタすることもできます。

shell
asdf list all <name> <version>
+# asdf list all erlang 17

最新安定バージョンの表示

shell
asdf latest <name>
+# asdf latest erlang

下記のように、特定のプレフィックスでの最新安定バージョンで表示することもできます。

shell
asdf latest <name> <version>
+# asdf latest erlang 17

カレントバージョンのセット

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

globalの場合、バージョンは$HOME/.tool-versionsファイルに書き込まれます。

shellの場合、バージョンはASDF_\${TOOL}_VERSIONという環境変数に設定され、現在のシェルセッションでのみ有効となります。

localの場合、バージョンは$PWD/.tool-versionsファイルに書き込まれます。存在しない場合は作成されます。

.tool-versionsファイルについて詳しくは、構成設定のリファレンスをご覧ください。

代替手段

現在のシェルセッションでのみバージョンを設定したい場合、 または、特定のツールバージョンでコマンドを実行するだけのためにバージョンを設定したい場合は、 ASDF_\${TOOL}_VERSIONという環境変数で設定することができます。

下記の例では、バージョン1.4.0のElixirプロジェクトに対して、テストを実行させています。 バージョンの表記形式は、.tool-versionsファイルでサポートされているものと同じです。

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

システムバージョンへの委任

asdfで管理されているバージョンではなく、<name>で指定されたツールのシステムバージョンを使用するには、バージョンとしてsystemを指定します。

カレントバージョンのセットと同様の方法で、globallocal、またはshellのいずれかにsystemをセットしてください。

shell
asdf local <name> system
+# asdf local python system

カレントバージョンの表示

shell
asdf current
+# asdf current
+# erlang          17.3          /Users/kim/.tool-versions
+# nodejs          6.11.5        /Users/kim/cool-node-project/.tool-versions
+
+asdf current <name>
+# asdf current erlang
+# erlang          17.3          /Users/kim/.tool-versions

バージョンのアンインストール

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

asdfがパッケージをインストールすると、そのパッケージに含まれるすべての実行プログラムのShimが$ASDF_DATA_DIR/shimsディレクトリ(デフォルトは~/.asdf/shims)に作成されます。このディレクトリが(asdf.shasdf.fishなどによって)$PATHに設定されることで、インストールされているプログラムが当該環境で利用できるようになります。

Shim自体は非常に単純なラッパーであり、asdf execというヘルパープログラムに、プラグイン名と、Shimがラップしているインストール済みパッケージの実行ファイルのパスを渡して、execします。

asdf execヘルパーは、使用するパッケージのバージョン(.tool-versionsファイルで指定されたもの、またはasdf local ...asdf global ...で指定されたもの)、パッケージのインストールディレクトリにある実行ファイルの完全パス(プラグインのexec-pathコールバックで操作可能)、および実行環境(プラグインのexec-envスクリプトで提供)を決定し、実行します。

備考

本システムはexec呼び出しを使用するため、シェルによってsourceされるパッケージ内のスクリプトは、Shimラッパーを経由させずに直接アクセスする必要があります。asdfで用意されているwhichおよびwhereコマンドは、下記のように、インストールされたパッケージへのパスを返すため、この状況を解決するのに役立ちます:

shell
# returns path to main executable in current version
+source $(asdf which \${PLUGIN})/../script.sh
+
+# returns path to the package installation directory
+source $(asdf where \${PLUGIN})/bin/script.sh

asdfのShimのバイパス

何らかの理由でasdfのShimをバイパスしたい場合や、プロジェクトのディレクトリに移動した際に自動的に環境変数を設定したい場合は、asdf-direnvプラグインが役に立ちます。詳細はREADMEをご確認ください。

`,45)]))}const c=i(t,[["render",n]]);export{o as __pageData,c as default}; diff --git a/assets/ja-jp_manage_versions.md.Dxk0G51J.lean.js b/assets/ja-jp_manage_versions.md.Dxk0G51J.lean.js new file mode 100644 index 00000000..3ab74973 --- /dev/null +++ b/assets/ja-jp_manage_versions.md.Dxk0G51J.lean.js @@ -0,0 +1,30 @@ +import{_ as i,c as a,a2 as l,o as h}from"./chunks/framework.C9NVOr0y.js";const o=JSON.parse('{"title":"バージョン","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/manage/versions.md","filePath":"ja-jp/manage/versions.md","lastUpdated":1704890757000}'),t={name:"ja-jp/manage/versions.md"};function n(e,s,p,k,d,r){return h(),a("div",null,s[0]||(s[0]=[l(`

バージョン

バージョンのインストール

shell
asdf install <name> <version>
+# asdf install erlang 17.3

プラグインが、ソースコードからのダウンロード・コンパイルをサポートしている場合、ref:fooの形式(fooは特定のブランチ、タグ、またはコミット)でバージョンを指定できます。アンインストールするときも、同じ名前とバージョンを指定する必要があります。

最新安定バージョンのインストール

shell
asdf install <name> latest
+# asdf install erlang latest

下記のように、特定のプレフィックスでの最新安定バージョンをインストールすることもできます。

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

インストール済みバージョン一覧

shell
asdf list <name>
+# asdf list erlang

下記のように、特定のプレフィックスでのバージョンでフィルタすることもできます。

shell
asdf list <name> <version>
+# asdf list erlang 17

インストール可能な全バージョン一覧

shell
asdf list all <name>
+# asdf list all erlang

下記のように、特定のプレフィックスでのバージョンでフィルタすることもできます。

shell
asdf list all <name> <version>
+# asdf list all erlang 17

最新安定バージョンの表示

shell
asdf latest <name>
+# asdf latest erlang

下記のように、特定のプレフィックスでの最新安定バージョンで表示することもできます。

shell
asdf latest <name> <version>
+# asdf latest erlang 17

カレントバージョンのセット

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

globalの場合、バージョンは$HOME/.tool-versionsファイルに書き込まれます。

shellの場合、バージョンはASDF_\${TOOL}_VERSIONという環境変数に設定され、現在のシェルセッションでのみ有効となります。

localの場合、バージョンは$PWD/.tool-versionsファイルに書き込まれます。存在しない場合は作成されます。

.tool-versionsファイルについて詳しくは、構成設定のリファレンスをご覧ください。

代替手段

現在のシェルセッションでのみバージョンを設定したい場合、 または、特定のツールバージョンでコマンドを実行するだけのためにバージョンを設定したい場合は、 ASDF_\${TOOL}_VERSIONという環境変数で設定することができます。

下記の例では、バージョン1.4.0のElixirプロジェクトに対して、テストを実行させています。 バージョンの表記形式は、.tool-versionsファイルでサポートされているものと同じです。

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

システムバージョンへの委任

asdfで管理されているバージョンではなく、<name>で指定されたツールのシステムバージョンを使用するには、バージョンとしてsystemを指定します。

カレントバージョンのセットと同様の方法で、globallocal、またはshellのいずれかにsystemをセットしてください。

shell
asdf local <name> system
+# asdf local python system

カレントバージョンの表示

shell
asdf current
+# asdf current
+# erlang          17.3          /Users/kim/.tool-versions
+# nodejs          6.11.5        /Users/kim/cool-node-project/.tool-versions
+
+asdf current <name>
+# asdf current erlang
+# erlang          17.3          /Users/kim/.tool-versions

バージョンのアンインストール

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

asdfがパッケージをインストールすると、そのパッケージに含まれるすべての実行プログラムのShimが$ASDF_DATA_DIR/shimsディレクトリ(デフォルトは~/.asdf/shims)に作成されます。このディレクトリが(asdf.shasdf.fishなどによって)$PATHに設定されることで、インストールされているプログラムが当該環境で利用できるようになります。

Shim自体は非常に単純なラッパーであり、asdf execというヘルパープログラムに、プラグイン名と、Shimがラップしているインストール済みパッケージの実行ファイルのパスを渡して、execします。

asdf execヘルパーは、使用するパッケージのバージョン(.tool-versionsファイルで指定されたもの、またはasdf local ...asdf global ...で指定されたもの)、パッケージのインストールディレクトリにある実行ファイルの完全パス(プラグインのexec-pathコールバックで操作可能)、および実行環境(プラグインのexec-envスクリプトで提供)を決定し、実行します。

備考

本システムはexec呼び出しを使用するため、シェルによってsourceされるパッケージ内のスクリプトは、Shimラッパーを経由させずに直接アクセスする必要があります。asdfで用意されているwhichおよびwhereコマンドは、下記のように、インストールされたパッケージへのパスを返すため、この状況を解決するのに役立ちます:

shell
# returns path to main executable in current version
+source $(asdf which \${PLUGIN})/../script.sh
+
+# returns path to the package installation directory
+source $(asdf where \${PLUGIN})/bin/script.sh

asdfのShimのバイパス

何らかの理由でasdfのShimをバイパスしたい場合や、プロジェクトのディレクトリに移動した際に自動的に環境変数を設定したい場合は、asdf-direnvプラグインが役に立ちます。詳細はREADMEをご確認ください。

`,45)]))}const c=i(t,[["render",n]]);export{o as __pageData,c as default}; diff --git a/assets/ja-jp_more_community-projects.md.Drt5Trip.js b/assets/ja-jp_more_community-projects.md.Drt5Trip.js new file mode 100644 index 00000000..127c93ca --- /dev/null +++ b/assets/ja-jp_more_community-projects.md.Drt5Trip.js @@ -0,0 +1 @@ +import{_ as t,c as a,a2 as o,o as r}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"コミュニティプロジェクト","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/more/community-projects.md","filePath":"ja-jp/more/community-projects.md","lastUpdated":1704890757000}'),s={name:"ja-jp/more/community-projects.md"};function c(n,e,i,d,l,p){return r(),a("div",null,e[0]||(e[0]=[o('

コミュニティプロジェクト

asdfに関連するコミュニティプロジェクトをいくつか紹介します:

  • asdf-community: asdfプラグインの長期的なメンテナンスを目的とした コミュニティ主導の共同プロジェクトです。
  • asdf dev container: GitHub Codespacesでasdfによるツール管理をサポートする、 GitHub Dev Container です。

備考

asdfコアチームは、これらのプロジェクトやコードを所有していません。 asdfコアでは、ここに掲載されているものに関連する品質やセキュリティについては責任を負いません。

',4)]))}const u=t(s,[["render",c]]);export{f as __pageData,u as default}; diff --git a/assets/ja-jp_more_community-projects.md.Drt5Trip.lean.js b/assets/ja-jp_more_community-projects.md.Drt5Trip.lean.js new file mode 100644 index 00000000..127c93ca --- /dev/null +++ b/assets/ja-jp_more_community-projects.md.Drt5Trip.lean.js @@ -0,0 +1 @@ +import{_ as t,c as a,a2 as o,o as r}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"コミュニティプロジェクト","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/more/community-projects.md","filePath":"ja-jp/more/community-projects.md","lastUpdated":1704890757000}'),s={name:"ja-jp/more/community-projects.md"};function c(n,e,i,d,l,p){return r(),a("div",null,e[0]||(e[0]=[o('

コミュニティプロジェクト

asdfに関連するコミュニティプロジェクトをいくつか紹介します:

  • asdf-community: asdfプラグインの長期的なメンテナンスを目的とした コミュニティ主導の共同プロジェクトです。
  • asdf dev container: GitHub Codespacesでasdfによるツール管理をサポートする、 GitHub Dev Container です。

備考

asdfコアチームは、これらのプロジェクトやコードを所有していません。 asdfコアでは、ここに掲載されているものに関連する品質やセキュリティについては責任を負いません。

',4)]))}const u=t(s,[["render",c]]);export{f as __pageData,u as default}; diff --git a/assets/ja-jp_more_faq.md.DWV2Lkfg.js b/assets/ja-jp_more_faq.md.DWV2Lkfg.js new file mode 100644 index 00000000..a352caf9 --- /dev/null +++ b/assets/ja-jp_more_faq.md.DWV2Lkfg.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as t}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"FAQ","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/more/faq.md","filePath":"ja-jp/more/faq.md","lastUpdated":1704890757000}'),s={name:"ja-jp/more/faq.md"};function i(d,e,n,c,h,l){return t(),o("div",null,e[0]||(e[0]=[r('

FAQ

ここでは、asdfに関するよくある質問を紹介します。

WSL1をサポートしていますか?

WSL1 (Windows Subsystem for Linux 1)は公式にはサポートしていません。asdfは正常に動作しない可能性があります。WSL1を公式にサポートする予定はありません。

WSL2をサポートしていますか?

WSL2 (Windows Subsystem for Linux 2)では、あなたが選択したWSLディストリビューションに基づいて、セットアップと依存関係の解決を済ませれば、動作するはずです。

重要なのは、WSL2が正常に動作するのは、カレントワークディレクトリがWindowsドライブではなくUnixドライブである場合に 限られる ということです。

GitHub Actionsでホストランナーのサポートが可能になれば、WSL2でテストスイートを実行する予定ですが、現時点ではそうではないようです。

新しくインストールした実行ファイルが実行できないのですが?

npm install -g yarnを実行したにも関わらず、yarnが実行できません。どうなっているの?

asdfShimを使って実行ファイルを管理しています。プラグインによってインストールされるものは、自動的にShimが作成されますが、asdfが管理しているツールによって実行ファイルがインストールされた場合は、Shimを作成しなければならないということをasdfに通知する必要があります。上記の例では、YarnのShimを作成しなければいけません。詳しくは、asdf reshimコマンドのドキュメントをご覧ください。

シェルが、新しくインストールされたShimを検知してくれないのですが?

asdf reshimコマンドを実行しても問題が解決しない場合、asdf.shasdf.fishのsourceが、シェルの構成ファイル(.bash_profile.zshrcconfig.fishなど)の一番下にないことが原因である可能性があります。$PATHを設定した、そしてフレームワーク(oh-my-zshなど)を使用しているのれあればそれをsourceしたに、sourceする必要があります。

',13)]))}const m=a(s,[["render",i]]);export{p as __pageData,m as default}; diff --git a/assets/ja-jp_more_faq.md.DWV2Lkfg.lean.js b/assets/ja-jp_more_faq.md.DWV2Lkfg.lean.js new file mode 100644 index 00000000..a352caf9 --- /dev/null +++ b/assets/ja-jp_more_faq.md.DWV2Lkfg.lean.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as t}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"FAQ","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/more/faq.md","filePath":"ja-jp/more/faq.md","lastUpdated":1704890757000}'),s={name:"ja-jp/more/faq.md"};function i(d,e,n,c,h,l){return t(),o("div",null,e[0]||(e[0]=[r('

FAQ

ここでは、asdfに関するよくある質問を紹介します。

WSL1をサポートしていますか?

WSL1 (Windows Subsystem for Linux 1)は公式にはサポートしていません。asdfは正常に動作しない可能性があります。WSL1を公式にサポートする予定はありません。

WSL2をサポートしていますか?

WSL2 (Windows Subsystem for Linux 2)では、あなたが選択したWSLディストリビューションに基づいて、セットアップと依存関係の解決を済ませれば、動作するはずです。

重要なのは、WSL2が正常に動作するのは、カレントワークディレクトリがWindowsドライブではなくUnixドライブである場合に 限られる ということです。

GitHub Actionsでホストランナーのサポートが可能になれば、WSL2でテストスイートを実行する予定ですが、現時点ではそうではないようです。

新しくインストールした実行ファイルが実行できないのですが?

npm install -g yarnを実行したにも関わらず、yarnが実行できません。どうなっているの?

asdfShimを使って実行ファイルを管理しています。プラグインによってインストールされるものは、自動的にShimが作成されますが、asdfが管理しているツールによって実行ファイルがインストールされた場合は、Shimを作成しなければならないということをasdfに通知する必要があります。上記の例では、YarnのShimを作成しなければいけません。詳しくは、asdf reshimコマンドのドキュメントをご覧ください。

シェルが、新しくインストールされたShimを検知してくれないのですが?

asdf reshimコマンドを実行しても問題が解決しない場合、asdf.shasdf.fishのsourceが、シェルの構成ファイル(.bash_profile.zshrcconfig.fishなど)の一番下にないことが原因である可能性があります。$PATHを設定した、そしてフレームワーク(oh-my-zshなど)を使用しているのれあればそれをsourceしたに、sourceする必要があります。

',13)]))}const m=a(s,[["render",i]]);export{p as __pageData,m as default}; diff --git a/assets/ja-jp_more_thanks.md.DgZpeSyP.js b/assets/ja-jp_more_thanks.md.DgZpeSyP.js new file mode 100644 index 00000000..f4e87cb7 --- /dev/null +++ b/assets/ja-jp_more_thanks.md.DgZpeSyP.js @@ -0,0 +1 @@ +import{_ as e,c as r,a2 as t,o as h}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"謝辞","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/more/thanks.md","filePath":"ja-jp/more/thanks.md","lastUpdated":1704890757000}'),o={name:"ja-jp/more/thanks.md"};function l(s,a,n,i,d,p){return h(),r("div",null,a[0]||(a[0]=[t('

謝辞

このページを借りて、asdfのオーサーおよびコントリビューターの皆様に感謝を申し上げます!

クレジット

私 (@HashNuke)、高熱、風邪、咳。

コピーライト 2014年から今まで (MIT License)

メンテナー

コントリビューター

GitHubのコントリビューターリスト🙏をご覧ください。

',9)]))}const u=e(o,[["render",l]]);export{f as __pageData,u as default}; diff --git a/assets/ja-jp_more_thanks.md.DgZpeSyP.lean.js b/assets/ja-jp_more_thanks.md.DgZpeSyP.lean.js new file mode 100644 index 00000000..f4e87cb7 --- /dev/null +++ b/assets/ja-jp_more_thanks.md.DgZpeSyP.lean.js @@ -0,0 +1 @@ +import{_ as e,c as r,a2 as t,o as h}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"謝辞","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/more/thanks.md","filePath":"ja-jp/more/thanks.md","lastUpdated":1704890757000}'),o={name:"ja-jp/more/thanks.md"};function l(s,a,n,i,d,p){return h(),r("div",null,a[0]||(a[0]=[t('

謝辞

このページを借りて、asdfのオーサーおよびコントリビューターの皆様に感謝を申し上げます!

クレジット

私 (@HashNuke)、高熱、風邪、咳。

コピーライト 2014年から今まで (MIT License)

メンテナー

コントリビューター

GitHubのコントリビューターリスト🙏をご覧ください。

',9)]))}const u=e(o,[["render",l]]);export{f as __pageData,u as default}; diff --git a/assets/ja-jp_plugins_create.md.CF7Jmvco.js b/assets/ja-jp_plugins_create.md.CF7Jmvco.js new file mode 100644 index 00000000..c0407b0a --- /dev/null +++ b/assets/ja-jp_plugins_create.md.CF7Jmvco.js @@ -0,0 +1,35 @@ +import{_ as n,c as p,a2 as e,j as i,a,G as l,B as d,o}from"./chunks/framework.C9NVOr0y.js";const x=JSON.parse('{"title":"プラグインの作成","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/plugins/create.md","filePath":"ja-jp/plugins/create.md","lastUpdated":1704890757000}'),h={name:"ja-jp/plugins/create.md"},r={tabindex:"0"},k={style:{"text-align":"left"}},g={style:{"text-align":"left"}},c={style:{"text-align":"left"}},u={style:{"text-align":"left"}},b={id:"bin-list-all",tabindex:"-1"},F={id:"bin-download",tabindex:"-1"},E={id:"bin-install",tabindex:"-1"},y={id:"bin-latest-stable",tabindex:"-1"},m={id:"asdf-cliの拡張コマンド",tabindex:"-1"},f={id:"カスタムshimテンプレート",tabindex:"-1"};function v(A,s,_,C,S,D){const t=d("Badge");return o(),p("div",null,[s[48]||(s[48]=e('

プラグインの作成

プラグインとは、 言語/ツールのバージョン管理をサポートするための実行スクリプトを含めたGitリポジトリのことです。 これらのスクリプトは、asdf list-all <name>asdf install <name> <version>などの機能をサポートするコマンドを使って、 asdfによって実行されます。

クイックスタート

オリジナルのプラグインを作成するには、次の2つの方法があります:

  1. asdf-vm/asdf-plugin-templateリポジトリを使用し、 デフォルトのスクリプトが実装されたプラグインリポジトリ(名前はasdf-<tool_name>)を 生成 します。 生成できたら、 そのリポジトリをクローンしてsetup.bashのスクリプトを実行し、 テンプレートを対話的に更新していきます。
  2. asdf-<tool_name>という名前のリポジトリを自分で立ち上げ、 以降に記載されている必要なスクリプトを実装します。

プラグインスクリプトの鉄則

  • スクリプト内で他のasdfコマンドを呼び出してはいけません
  • シェルのツール/コマンドへの依存関係を小さく保つようにしてください。
  • 移植性のないツールやコマンドフラグの使用は避けてください。 例えば、sort -Vなどです。 asdfコアの禁止コマンド一覧もご覧ください。

スクリプトの概要

以下は、asdfから呼び出せるスクリプトの全リストです。

',9)),i("table",r,[s[25]||(s[25]=i("thead",null,[i("tr",null,[i("th",{style:{"text-align":"left"}},"スクリプト"),i("th",{style:{"text-align":"left"}},"説明")])],-1)),i("tbody",null,[i("tr",null,[i("td",k,[s[0]||(s[0]=i("a",{href:"#bin-list-all"},"bin/list-all",-1)),s[1]||(s[1]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"})]),s[2]||(s[2]=i("td",{style:{"text-align":"left"}},"インストール可能なすべてのバージョンをリストします。",-1))]),i("tr",null,[i("td",g,[s[3]||(s[3]=i("a",{href:"#bin-download"},"bin/download",-1)),s[4]||(s[4]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"})]),s[5]||(s[5]=i("td",{style:{"text-align":"left"}},"ツールの特定バージョンのソースコードまたはバイナリをダウンロードします。",-1))]),i("tr",null,[i("td",c,[s[6]||(s[6]=i("a",{href:"#bin-install"},"bin/install",-1)),s[7]||(s[7]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"})]),s[8]||(s[8]=i("td",{style:{"text-align":"left"}},"ツールの特定バージョンをインストールします。",-1))]),i("tr",null,[i("td",u,[s[9]||(s[9]=i("a",{href:"#bin-latest-stable"},"bin/latest-stable",-1)),s[10]||(s[10]=a()),l(t,{type:"warning",text:"推奨",vertical:"middle"})]),s[11]||(s[11]=i("td",{style:{"text-align":"left"}},"指定されたツールの最新安定バージョンをリストします。",-1))]),s[12]||(s[12]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-help.overview"},"bin/help.overview")]),i("td",{style:{"text-align":"left"}},"プラグインおよびツールに関する概要説明を出力します。")],-1)),s[13]||(s[13]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-help.deps"},"bin/help.deps")]),i("td",{style:{"text-align":"left"}},"オペレーティングシステムに合わせた依存関係のリストを出力します。")],-1)),s[14]||(s[14]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-help.config"},"bin/help.config")]),i("td",{style:{"text-align":"left"}},"プラグインおよびツールの構成設定一覧を出力します。")],-1)),s[15]||(s[15]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-help.links"},"bin/help.links")]),i("td",{style:{"text-align":"left"}},"プラグインとツールに関連するリンクリストを出力します。")],-1)),s[16]||(s[16]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-list-bin-paths"},"bin/list-bin-paths")]),i("td",{style:{"text-align":"left"}},"Shimを作成するバイナリが存在するディレクトリへの相対パスの一覧を出力します。")],-1)),s[17]||(s[17]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-exec-env"},"bin/exec-env")]),i("td",{style:{"text-align":"left"}},"ツールのバイナリのShimを実行する前に環境を準備します。")],-1)),s[18]||(s[18]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-exec-path"},"bin/exec-path")]),i("td",{style:{"text-align":"left"}},"ツールの特定バージョンの実行ファイルパスを出力します。")],-1)),s[19]||(s[19]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-uninstall"},"bin/uninstall")]),i("td",{style:{"text-align":"left"}},"ツールの特定バージョンをアンインストールします。")],-1)),s[20]||(s[20]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-list-legacy-filenames"},"bin/list-legacy-filenames")]),i("td",{style:{"text-align":"left"}},[i("code",null,".ruby-version"),a("のような、レガシー構成ファイルのリストを出力します。")])],-1)),s[21]||(s[21]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-parse-legacy-file"},"bin/parse-legacy-file")]),i("td",{style:{"text-align":"left"}},"レガシーバージョンファイルのカスタムパーサーです。")],-1)),s[22]||(s[22]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-post-plugin-add"},"bin/post-plugin-add")]),i("td",{style:{"text-align":"left"}},"プラグインが追加された後に実行されるフックです。")],-1)),s[23]||(s[23]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-post-plugin-update"},"bin/post-plugin-update")]),i("td",{style:{"text-align":"left"}},"プラグインが更新された後に実行されるフックです。")],-1)),s[24]||(s[24]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-pre-plugin-remove"},"bin/pre-plugin-remove")]),i("td",{style:{"text-align":"left"}},"プラグインが削除される前に実行されるフックです。")],-1))])]),s[49]||(s[49]=e('

どのコマンドがどのスクリプトを呼び出すかについては、 各スクリプトの詳細なドキュメントを参照してください。

環境変数の概要

以下は、すべてのスクリプトで使用される環境変数の全リストです。

環境変数説明
ASDF_INSTALL_TYPEversionまたはrefです。
ASDF_INSTALL_VERSIONASDF_INSTALL_TYPEに応じてフルバージョンナンバーまたはGit Refの値が入ります。
ASDF_INSTALL_PATHツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
ASDF_CONCURRENCYソースコードのコンパイル時に使用するコア数です。make -jのようなフラグを設定する際に便利です。
ASDF_DOWNLOAD_PATHbin/downloadによってソースコードまたはバイナリがダウンロードされる場所へのパスです。
ASDF_PLUGIN_PATHプラグインがインストールされている場所へのパスです。
ASDF_PLUGIN_SOURCE_URLプラグインソースのURLです。
ASDF_PLUGIN_PREV_REFプラグインの以前のgit-refです。
ASDF_PLUGIN_POST_REF更新後のプラグインのgit-refです。
ASDF_CMD_FILEソースとなるファイルのフルパスに解決されます。

備考

すべてのスクリプトですべての環境変数が使用できるわけではありません。 以下の各スクリプトのドキュメントで、そのスクリプトで利用可能な環境変数を確認してください。

必須スクリプト

',6)),i("h3",b,[s[26]||(s[26]=i("code",null,"bin/list-all",-1)),s[27]||(s[27]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"}),s[28]||(s[28]=a()),s[29]||(s[29]=i("a",{class:"header-anchor",href:"#bin-list-all","aria-label":'Permalink to "`bin/list-all` "'},"​",-1))]),s[50]||(s[50]=e('

説明

インストール可能なすべてのバージョンをリストします。

出力フォーマット

スペース区切りのバージョンリストの文字列を出力する必要があります。例えば次のとおりです:

txt
1.0.1 1.0.2 1.3.0 1.4

最新バージョンが末尾にくる必要があります。

asdfコアは各バージョンを1行ずつ表示するため、 いくつかのバージョンは画面外にはみ出る場合があります。

並べ替え

ウェブサイト上のリリースページからバージョンを取得する場合、 提供されている順序は正しいリリース順となっていることが多いため、 そのままの順序を使用することを推奨します。 逆順にしたければ、tscをパイプで通すだけで十分です。

どうしても並べ替えが避けられない場合、sort -Vは移植性が無いため、次のいずれかの方法を使用することを推奨します:

スクリプトで使用できる環境変数

このスクリプトに環境変数は提供されません。

このスクリプトを呼び出すコマンド

  • asdf list all <name> [version]
  • asdf list all nodejs: このスクリプトで返されるすべてのバージョンを、 1行ずつリストします。
  • asdf list all nodejs 18: このスクリプトで返されるすべてのバージョンから、 18で始まるバージョンのみフィルタし、1行ずつリストします。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/list-all"

',19)),i("h3",F,[s[30]||(s[30]=i("code",null,"bin/download",-1)),s[31]||(s[31]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"}),s[32]||(s[32]=a()),s[33]||(s[33]=i("a",{class:"header-anchor",href:"#bin-download","aria-label":'Permalink to "`bin/download` "'},"​",-1))]),s[51]||(s[51]=e('

説明

ツールの特定バージョンのソースコードまたはバイナリを、指定された場所にダウンロードします。

実装内容

  • スクリプトは、ASDF_DOWNLOAD_PATHで指定されたディレクトリに、ソースコードまたはバイナリをダウンロードする必要があります。
  • 解凍されたソースコードまたはバイナリのみを、ASDF_DOWNLOAD_PATHディレクトリに配置する必要があります。
  • 失敗した場合、ASDF_DOWNLOAD_PATHディレクトリ内に何もファイルを配置しないようにしてください。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

レガシープラグイン

このスクリプトはすべてのプラグインで 必須 とされていますが、このスクリプトが導入される以前の"レガシー"プラグインでは、 オプション となっていました。

このスクリプトが存在しない場合、asdfはbin/installスクリプトがあると想定して、バージョンのダウンロード、かつ、インストールが実行されます。

レガシープラグインのサポートは最終的に削除される予定のため、今後作成するすべてのプラグインでこのスクリプトを含めるようにしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
  • ASDF_DOWNLOAD_PATH: ソースコードまたはバイナリのダウンロード先のパスです。

このスクリプトを呼び出すコマンド

  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: Node.jsのバージョン18.0.0のソースコードまたはバイナリをダウンロードし、ASDF_DOWNLOAD_PATHディレクトリに配置します。 そしてbin/installスクリプトを実行します。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}"/bin/download

',16)),i("h3",E,[s[34]||(s[34]=i("code",null,"bin/install",-1)),s[35]||(s[35]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"}),s[36]||(s[36]=a()),s[37]||(s[37]=i("a",{class:"header-anchor",href:"#bin-install","aria-label":'Permalink to "`bin/install` "'},"​",-1))]),s[52]||(s[52]=e('

説明

ツールの特定バージョンを指定された場所にインストールします。

実装内容

  • スクリプトは、指定されたバージョンをASDF_INSTALL_PATHのパスのディレクトリにインストールする必要があります。
  • Shimはデフォルトで、$ASDF_INSTALL_PATH/bin内にあるファイルに対して作成されます。 この動作は、オプションのbin/list-bin-pathsスクリプトでカスタマイズできます。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。
  • TOCTOU (Time-of-Check-to-Time-of-Use)の問題を避けるために、ツールのビルドとインストールが成功したとみなされた場合にのみ、ASDF_INSTALL_PATHにファイルを配置するようなスクリプトとしてください。

レガシープラグイン

bin/downloadスクリプトが存在しない場合、このスクリプトでは、指定されたバージョンをダウンロード、かつ、インストールをする必要があります。

0.7._以前と0.8._以降のasdfコアの互換性を保つために、ASDF_DOWNLOAD_PATH環境変数が設定されているかを確認してください。 設定されている場合は、bin/downloadスクリプトがすでにバージョンをダウンロードしていると想定し、設定されていない場合は、bin/installでソースコードをダウンロードするようにしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
  • ASDF_CONCURRENCY: ソースコードのコンパイル時に使用するコア数です。make -jのようなフラグを設定する際に便利です。
  • ASDF_DOWNLOAD_PATH: ソースコードまたはバイナリのダウンロード先のパスです。

このスクリプトを呼び出すコマンド

  • asdf install
  • asdf install <tool>
  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: ASDF_INSTALL_PATHディレクトリに、 Node.jsのバージョン18.0.0をインストールします。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}"/bin/install

オプションスクリプト

',15)),i("h3",y,[s[38]||(s[38]=i("code",null,"bin/latest-stable",-1)),s[39]||(s[39]=a()),l(t,{type:"warning",text:"推奨",vertical:"middle"}),s[40]||(s[40]=a()),s[41]||(s[41]=i("a",{class:"header-anchor",href:"#bin-latest-stable","aria-label":'Permalink to "`bin/latest-stable` "'},"​",-1))]),s[53]||(s[53]=e('

説明

ツールの最新安定バージョンを判定します。このスクリプトが存在しない場合、asdfコアはbin/list-allの出力をtailした結果をもとに判定しますが、ツールによってはこれが望ましくないことがあります。

実装内容

  • スクリプトは、ツールの最新安定バージョンを標準出力する必要があります。
  • 非安定版やリリース候補版は除外されるべきです。
  • フィルタクエリは、スクリプトの第1引数で提供されます。このクエリは、バージョン番号やツールプロバイダによる出力をフィルタするために使用されるべきです。
    • 例えば、rubyプラグインでのasdf list all rubyの出力は、jrubyrbxtrufflerubyなどの多くのプロバイダのRubyバージョンをリストアップします。ユーザが提供したフィルタは、セマンティックバージョンやプロバイダをフィルタするために、プラグインで使用できます。
      > asdf latest ruby\n3.2.2\n> asdf latest ruby 2\n2.7.8\n> asdf latest ruby truffleruby\ntruffleruby+graalvm-22.3.1
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf global <tool> latest: ツールのグローバルバージョンとして、当該ツールの最新安定バージョンにセットします。
  • asdf local <name> latest: ツールのローカルバージョンとして、当該ツールの最新安定バージョンにセットします。
  • asdf install <tool> latest: ツールの最新安定バージョンをインストールします。
  • asdf latest <tool> [<version>]: オプションのフィルタに基づいて、ツールの最新バージョンを出力します。
  • asdf latest --all: asdfによって管理されているすべてのツールの最新バージョンと、それらがインストールされているかどうかを出力します。

asdfからの呼び出しシグネチャ

このスクリプトは、フィルタクエリという1つの引数を受け取ります。

bash
"${plugin_path}"/bin/latest-stable "$query"

bin/help.overview

説明

プラグインおよび管理されているツールに関する概要説明を出力します。

実装内容

  • このスクリプトは、プラグインのヘルプを表示するために必要です。
  • ヘッダはasdfコア側で表示するため、スクリプト内では表示しないでください。
  • 自由な形式のテキストで出力して構いませんが、短い1段落程度の説明が理想です。
  • コアとなるasdf-vmドキュメントですでに説明されている情報は出力しないでください。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.overview

bin/help.deps

説明

オペレーティングシステムに合わせた依存関係のリストを出力します。依存関係を1行ごとに出力します。

bash
git\ncurl\nsed

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.deps

bin/help.config

説明

プラグインおよびツールで設定必須または任意設定可能な構成設定一覧を出力します。例えば、ツールのインストール・コンパイルに必要な環境変数やその他フラグについて説明します。

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • 自由な形式のテキストで出力できます。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.config

説明

プラグインとツールに関連するリンクリストを出力します。リンクを1行ごとに出力します。

bash
Git Repository:	https://github.com/vlang/v\nDocumentation:	https://vlang.io

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • リンクを1行ごとに出力してください。
  • 形式は以下のいずれかである必要があります:
    • <title>: <link>
    • または<link>のみ
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.links

bin/list-bin-paths

説明

ツールの特定バージョンにおける、実行ファイルが含まれるディレクトリの一覧を出力します。

実装内容

  • このスクリプトが存在しない場合、asdfは"${ASDF_INSTALL_PATH}"/binディレクトリ内にあるバイナリを探し、そのバイナリ向けのShimを作成します。
  • 実行ファイルが含まれるディレクトリのパスをスペース区切りで出力してください。
  • パスはASDF_INSTALL_PATHからの相対パスである必要があります。例えば、次のような出力となります:
bash
bin tools veggies

以上の場合、下記ディレクトリ内のファイルへのShimを作成するよう、asdfへ指示されます:

  • "${ASDF_INSTALL_PATH}"/bin
  • "${ASDF_INSTALL_PATH}"/tools
  • "${ASDF_INSTALL_PATH}"/veggies

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf install <tool> [version]: バイナリへのShimを初期作成します。
  • asdf reshim <tool> <version>: バイナリへのShimを再作成します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/list-bin-paths"

bin/exec-env

説明

ツールのバイナリのShimを実行する前に環境を準備します。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf which <command>: 実行ファイルのパスを表示します。
  • asdf exec <command> [args...]: 現在のバージョンでShimコマンドを実行します。
  • asdf env <command> [util]: Shimコマンドの実行時に使用される環境において、util(デフォルト: env)を実行します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/exec-env"

bin/exec-path

ツールの特定バージョンの実行ファイルパスを取得します。 実行ファイルへの相対パスを文字列で出力する必要があります。 これにより、プラグインはShimで指定された実行ファイルパスを条件付きで上書きして返すか、 そうでなければ、Shimで指定されたデフォルトのパスを返すことができます。

説明

ツールの特定バージョンの実行ファイルパスを取得します。

実装内容

  • 実行ファイルへの相対パスを文字列で出力する必要があります。
  • Shimで指定された実行ファイルパスを条件付きで上書きして返すか、そうでなければ、Shimで指定されたデフォルトのパスを返してください。
shell
Usage:\n  plugin/bin/exec-path <install-path> <command> <executable-path>\n\nExample Call:\n  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"\n\nOutput:\n  bin/foox

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf which <command>: 実行ファイルのパスを表示します。
  • asdf exec <command> [args...]: 現在のバージョンでShimコマンドを実行します。
  • asdf env <command> [util]: Shimコマンドの実行時に使用される環境において、util(デフォルト: env)を実行します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/exec-path" "$install_path" "$cmd" "$relative_path"

bin/uninstall

説明

ツールの特定バージョンをアンインストールします。

出力フォーマット

ユーザへの出力は、stdoutまたはstderrへ適切に送信してください。後続のコア実行によってこれらの出力が読み取られることはありません。

スクリプトで使用できる環境変数

このスクリプトに環境変数は提供されません。

このスクリプトを呼び出すコマンド

  • asdf list all <name> <version>
  • asdf uninstall nodejs 18.15.0: nodejsのバージョン18.15.0をアンインストールし、npm i -gでグローバルにインストールしたものを含むすべてのShimを削除します。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/uninstall"

bin/list-legacy-filenames

説明

ツールのバージョンを決定するために使用されるレガシー構成ファイルのリストを出力します。

実装内容

  • スペース区切りのファイル名リストを出力してください。
    bash
    .ruby-version .rvmrc
  • この内容は、"${HOME}"/.asdfrc内のlegacy_version_fileオプションを有効にしたユーザにのみ適用されます。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

ツールのバージョンを読み込むすべてのコマンドから呼び出されます。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/list-legacy-filenames"

bin/parse-legacy-file

説明

asdfによって発見されたレガシーファイルをパースして、ツールのバージョンを決定します。JavaScriptのpackage.jsonや、Go言語のgo.modのようなファイルから、バージョン番号を抽出するのに役立ちます。

実装内容

  • このスクリプトが存在しない場合、asdfは単純にレガシーファイルをcatしてバージョンを決定します。
  • 決定論的で、常に正確で同じバージョンを返す必要があります:
    • 同じレガシーファイルを解析したら、同じバージョンを返すようにしてください。
    • マシンに何がインストールされているか、また、レガシーバージョンが有効で完全かどうかは関係ありません。一部のレガシーファイルのフォーマットは適切でないときもあります。
  • 下記のように、バージョン番号を1行で出力してください:
    bash
    1.2.3

スクリプトで使用できる環境変数

このスクリプトが呼び出される前に、環境変数が設定されることはありません。

このスクリプトを呼び出すコマンド

ツールのバージョンを読み込むすべてのコマンドから呼び出されます。

asdfからの呼び出しシグネチャ

このスクリプトは、レガシーファイルの内容を読み込むために、レガシーファイルのパスという1つの引数を受け取ります。

bash
"${plugin_path}/bin/parse-legacy-file" "$file_path"

bin/post-plugin-add

説明

このスクリプトは、asdfのasdf plugin add <tool>コマンドで、プラグインが 追加 された 後に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。
  • ASDF_PLUGIN_SOURCE_URL: プラグインソースのURLです。ローカルディレクトリパスを指定することもできます。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/post-plugin-add"

bin/post-plugin-update

説明

このスクリプトは、asdfのasdf plugin update <tool> [<git-ref>]コマンドで、 更新 されたプラグインがダウンロードされた 後に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_updated
  • pre_asdf_plugin_updated_${plugin_name}
  • post_asdf_plugin_updated
  • post_asdf_plugin_updated_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。
  • ASDF_PLUGIN_PREV_REF: プラグインの以前のgit-refです。
  • ASDF_PLUGIN_POST_REF: 更新後のプラグインのgit-refです。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/post-plugin-update"

bin/pre-plugin-remove

説明

このスクリプトは、asdfのasdf plugin remove <tool>コマンドで、プラグインが 削除 される 前に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/pre-plugin-remove"
',172)),i("h2",m,[s[42]||(s[42]=a("asdf CLIの拡張コマンド ")),l(t,{type:"danger",text:"高度",vertical:"middle"}),s[43]||(s[43]=a()),s[44]||(s[44]=i("a",{class:"header-anchor",href:"#asdf-cliの拡張コマンド","aria-label":'Permalink to "asdf CLIの拡張コマンド "'},"​",-1))]),s[54]||(s[54]=e('

プラグイン名をサブコマンドとして使用し、 asdfコマンドラインインターフェースを通して呼び出すことのできるlib/commands/command*.bashスクリプトまたは実行ファイルを用意することで、 新しいasdfコマンドを定義することができます。

例えば、fooというプラグインがあるとすると:

shell
foo/\n  lib/commands/\n    command.bash\n    command-bat.bash\n    command-bat-man.bash\n    command-help.bash

ユーザは下記コマンドが実行できるようになります:

shell
$ asdf foo         # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash`\n$ asdf foo bar     # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar`\n$ asdf foo help    # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash`\n$ asdf foo bat man # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash`\n$ asdf foo bat baz # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz`

プラグイン開発者はこの機能を使って、ツールに関連するユーティリティを提供したり、 asdf自体のコマンド拡張プラグインを作成したりすることができます。

実行可能ビット(executable bit)が付与されている場合、 asdfの実行に代わって、当該スクリプトが実行されます。

実行可能ビット(executable bit)が付与されていない場合、asdfは当該スクリプトをBashスクリプトとしてsourceします。

$ASDF_CMD_FILE環境変数は、ソースとなるファイルのフルパスに解決されます。

haxeは、 この機能使ったプラグインの素晴らしい例です。 このプラグインは、asdf haxe neko-dylibs-linkを提供しており、 Haxeの実行ファイルが実行ディレクトリから相対的に動的ライブラリを見つけようとしてしまう問題を修正します。

プラグインのREADMEには、asdf拡張コマンドに関することを必ず記載するようにしてください。

',11)),i("h2",f,[s[45]||(s[45]=a("カスタムShimテンプレート ")),l(t,{type:"danger",text:"高度",vertical:"middle"}),s[46]||(s[46]=a()),s[47]||(s[47]=i("a",{class:"header-anchor",href:"#カスタムshimテンプレート","aria-label":'Permalink to "カスタムShimテンプレート "'},"​",-1))]),s[55]||(s[55]=e(`

警告

どうしても必要な場合にのみ使用してください。

asdfでは、カスタムShimテンプレートを使用することができます。 fooという実行ファイルに対して、プラグイン内にshims/fooファイルが存在すれば、 asdfは標準Shimテンプレートを使用する代わりに、そのファイルをコピーします。

この機能は賢く使う必要があります。

asdfコアチームが把握している限り、 この機能は公式プラグインであるElixirプラグインでのみ使用されています。 実行ファイルは、実行ファイルであると同時に、Elixirファイルとしても読み込まれます。 そのため、標準的なBashのShimを使用できないのです。

テスト

asdfでは、プラグインをテストするためのplugin-testコマンドを用意しており、下記のように使用できます:

shell
asdf plugin test <plugin_name> <plugin_url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git_ref>] [test_command...]
  • <plugin_name><plugin_url>は必須です。
  • オプションで[--asdf-tool-version <version>]を指定すると、そのバージョンのツールがインストールされます。 デフォルトは、asdf latest <plugin-name>です。
  • オプションで[--asdf-plugin-gitref <git_ref>]を指定すると、 そのコミット/ブランチ/タグでプラグイン自体をチェックアウトします。 これは、プラグインのCIにおいて、プルリクエストをテストする際に便利です。
  • オプションの[test_command...]パラメータは、インストールしたツールが正しく動作するかを確認するために実行するコマンドです。 通常は、<tool> --versionまたは<tool> --helpとなります。 例えば、NodeJSプラグインをテストするときは、次のように実行します:
    shell
    # asdf plugin test <plugin_name>  <plugin_url>                               [test_command]
    +  asdf plugin test nodejs         https://github.com/asdf-vm/asdf-nodejs.git node --version

備考

LinuxとmacOSの両方のCI環境でテストすることを推奨します。

GitHub Action

asdf-vm/actionsリポジトリでは、 GitHub上でホストされているプラグインをテストするためのGitHub Actionを提供しています。 \`.github/workflows/test.yamlのActionsワークフローの例は以下のとおりです:

yaml
name: Test
+on:
+  push:
+    branches:
+      - main
+  pull_request:
+
+jobs:
+  plugin_test:
+    name: asdf plugin test
+    strategy:
+      matrix:
+        os:
+          - ubuntu-latest
+          - macos-latest
+    runs-on: \${{ matrix.os }}
+    steps:
+      - name: asdf_plugin_test
+        uses: asdf-vm/actions/plugin-test@v2
+        with:
+          command: "<MY_TOOL> --version"

TravisCI 構成設定

以下は、.travis.ymlファイルの例です。必要に応じてカスタマイズしてください:

yaml
language: c
+script: asdf plugin test <MY_TOOL> $TRAVIS_BUILD_DIR '<MY_TOOL> --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

備考

他のCIを使用する場合、 プラグインの場所への相対パスを渡す必要がある場合があります:

shell
asdf plugin test <tool_name> <path> '<tool_command> --version'

APIレート制限

bin/list-allbin/latest-stableのように、コマンドが外部APIへのアクセスに依存している場合、 自動テスト中にレート制限が発生することがあります。 これを軽減するため、環境変数経由で認証トークンを提供するコードパスがあることを確認してください。 以下に例を示します:

shell
cmd="curl --silent"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

GITHUB_API_TOKEN

GITHUB_API_TOKENを利用する際は、 まず、 public_repoアクセスのみをもつ新しいパーソナルトークンを作成してください。

次に、このトークンをCIパイプライン環境変数に追加してください。

警告

認証トークンをコードリポジトリで公開してはいけません。

プラグインショートネームインデックス

ヒント

推奨されるプラグインのインストール方法は、URLをもとに直接インストールする方法です:

shell
# asdf plugin add <name> <git_url>
+  asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

asdfの各種コマンドでgit_urlが指定されなかった場合、 asdfは正確なgit_urlを決定するために、 ショートネームインデックスリポジトリを使用します。

このリポジトリの指示に従うことで、 あなたが作成したプラグインを、 ショートネームインデックスに追加することができます。

`,27))])}const B=n(h,[["render",v]]);export{x as __pageData,B as default}; diff --git a/assets/ja-jp_plugins_create.md.CF7Jmvco.lean.js b/assets/ja-jp_plugins_create.md.CF7Jmvco.lean.js new file mode 100644 index 00000000..c0407b0a --- /dev/null +++ b/assets/ja-jp_plugins_create.md.CF7Jmvco.lean.js @@ -0,0 +1,35 @@ +import{_ as n,c as p,a2 as e,j as i,a,G as l,B as d,o}from"./chunks/framework.C9NVOr0y.js";const x=JSON.parse('{"title":"プラグインの作成","description":"","frontmatter":{},"headers":[],"relativePath":"ja-jp/plugins/create.md","filePath":"ja-jp/plugins/create.md","lastUpdated":1704890757000}'),h={name:"ja-jp/plugins/create.md"},r={tabindex:"0"},k={style:{"text-align":"left"}},g={style:{"text-align":"left"}},c={style:{"text-align":"left"}},u={style:{"text-align":"left"}},b={id:"bin-list-all",tabindex:"-1"},F={id:"bin-download",tabindex:"-1"},E={id:"bin-install",tabindex:"-1"},y={id:"bin-latest-stable",tabindex:"-1"},m={id:"asdf-cliの拡張コマンド",tabindex:"-1"},f={id:"カスタムshimテンプレート",tabindex:"-1"};function v(A,s,_,C,S,D){const t=d("Badge");return o(),p("div",null,[s[48]||(s[48]=e('

プラグインの作成

プラグインとは、 言語/ツールのバージョン管理をサポートするための実行スクリプトを含めたGitリポジトリのことです。 これらのスクリプトは、asdf list-all <name>asdf install <name> <version>などの機能をサポートするコマンドを使って、 asdfによって実行されます。

クイックスタート

オリジナルのプラグインを作成するには、次の2つの方法があります:

  1. asdf-vm/asdf-plugin-templateリポジトリを使用し、 デフォルトのスクリプトが実装されたプラグインリポジトリ(名前はasdf-<tool_name>)を 生成 します。 生成できたら、 そのリポジトリをクローンしてsetup.bashのスクリプトを実行し、 テンプレートを対話的に更新していきます。
  2. asdf-<tool_name>という名前のリポジトリを自分で立ち上げ、 以降に記載されている必要なスクリプトを実装します。

プラグインスクリプトの鉄則

  • スクリプト内で他のasdfコマンドを呼び出してはいけません
  • シェルのツール/コマンドへの依存関係を小さく保つようにしてください。
  • 移植性のないツールやコマンドフラグの使用は避けてください。 例えば、sort -Vなどです。 asdfコアの禁止コマンド一覧もご覧ください。

スクリプトの概要

以下は、asdfから呼び出せるスクリプトの全リストです。

',9)),i("table",r,[s[25]||(s[25]=i("thead",null,[i("tr",null,[i("th",{style:{"text-align":"left"}},"スクリプト"),i("th",{style:{"text-align":"left"}},"説明")])],-1)),i("tbody",null,[i("tr",null,[i("td",k,[s[0]||(s[0]=i("a",{href:"#bin-list-all"},"bin/list-all",-1)),s[1]||(s[1]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"})]),s[2]||(s[2]=i("td",{style:{"text-align":"left"}},"インストール可能なすべてのバージョンをリストします。",-1))]),i("tr",null,[i("td",g,[s[3]||(s[3]=i("a",{href:"#bin-download"},"bin/download",-1)),s[4]||(s[4]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"})]),s[5]||(s[5]=i("td",{style:{"text-align":"left"}},"ツールの特定バージョンのソースコードまたはバイナリをダウンロードします。",-1))]),i("tr",null,[i("td",c,[s[6]||(s[6]=i("a",{href:"#bin-install"},"bin/install",-1)),s[7]||(s[7]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"})]),s[8]||(s[8]=i("td",{style:{"text-align":"left"}},"ツールの特定バージョンをインストールします。",-1))]),i("tr",null,[i("td",u,[s[9]||(s[9]=i("a",{href:"#bin-latest-stable"},"bin/latest-stable",-1)),s[10]||(s[10]=a()),l(t,{type:"warning",text:"推奨",vertical:"middle"})]),s[11]||(s[11]=i("td",{style:{"text-align":"left"}},"指定されたツールの最新安定バージョンをリストします。",-1))]),s[12]||(s[12]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-help.overview"},"bin/help.overview")]),i("td",{style:{"text-align":"left"}},"プラグインおよびツールに関する概要説明を出力します。")],-1)),s[13]||(s[13]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-help.deps"},"bin/help.deps")]),i("td",{style:{"text-align":"left"}},"オペレーティングシステムに合わせた依存関係のリストを出力します。")],-1)),s[14]||(s[14]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-help.config"},"bin/help.config")]),i("td",{style:{"text-align":"left"}},"プラグインおよびツールの構成設定一覧を出力します。")],-1)),s[15]||(s[15]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-help.links"},"bin/help.links")]),i("td",{style:{"text-align":"left"}},"プラグインとツールに関連するリンクリストを出力します。")],-1)),s[16]||(s[16]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-list-bin-paths"},"bin/list-bin-paths")]),i("td",{style:{"text-align":"left"}},"Shimを作成するバイナリが存在するディレクトリへの相対パスの一覧を出力します。")],-1)),s[17]||(s[17]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-exec-env"},"bin/exec-env")]),i("td",{style:{"text-align":"left"}},"ツールのバイナリのShimを実行する前に環境を準備します。")],-1)),s[18]||(s[18]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-exec-path"},"bin/exec-path")]),i("td",{style:{"text-align":"left"}},"ツールの特定バージョンの実行ファイルパスを出力します。")],-1)),s[19]||(s[19]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-uninstall"},"bin/uninstall")]),i("td",{style:{"text-align":"left"}},"ツールの特定バージョンをアンインストールします。")],-1)),s[20]||(s[20]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-list-legacy-filenames"},"bin/list-legacy-filenames")]),i("td",{style:{"text-align":"left"}},[i("code",null,".ruby-version"),a("のような、レガシー構成ファイルのリストを出力します。")])],-1)),s[21]||(s[21]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-parse-legacy-file"},"bin/parse-legacy-file")]),i("td",{style:{"text-align":"left"}},"レガシーバージョンファイルのカスタムパーサーです。")],-1)),s[22]||(s[22]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-post-plugin-add"},"bin/post-plugin-add")]),i("td",{style:{"text-align":"left"}},"プラグインが追加された後に実行されるフックです。")],-1)),s[23]||(s[23]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-post-plugin-update"},"bin/post-plugin-update")]),i("td",{style:{"text-align":"left"}},"プラグインが更新された後に実行されるフックです。")],-1)),s[24]||(s[24]=i("tr",null,[i("td",{style:{"text-align":"left"}},[i("a",{href:"#bin-pre-plugin-remove"},"bin/pre-plugin-remove")]),i("td",{style:{"text-align":"left"}},"プラグインが削除される前に実行されるフックです。")],-1))])]),s[49]||(s[49]=e('

どのコマンドがどのスクリプトを呼び出すかについては、 各スクリプトの詳細なドキュメントを参照してください。

環境変数の概要

以下は、すべてのスクリプトで使用される環境変数の全リストです。

環境変数説明
ASDF_INSTALL_TYPEversionまたはrefです。
ASDF_INSTALL_VERSIONASDF_INSTALL_TYPEに応じてフルバージョンナンバーまたはGit Refの値が入ります。
ASDF_INSTALL_PATHツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
ASDF_CONCURRENCYソースコードのコンパイル時に使用するコア数です。make -jのようなフラグを設定する際に便利です。
ASDF_DOWNLOAD_PATHbin/downloadによってソースコードまたはバイナリがダウンロードされる場所へのパスです。
ASDF_PLUGIN_PATHプラグインがインストールされている場所へのパスです。
ASDF_PLUGIN_SOURCE_URLプラグインソースのURLです。
ASDF_PLUGIN_PREV_REFプラグインの以前のgit-refです。
ASDF_PLUGIN_POST_REF更新後のプラグインのgit-refです。
ASDF_CMD_FILEソースとなるファイルのフルパスに解決されます。

備考

すべてのスクリプトですべての環境変数が使用できるわけではありません。 以下の各スクリプトのドキュメントで、そのスクリプトで利用可能な環境変数を確認してください。

必須スクリプト

',6)),i("h3",b,[s[26]||(s[26]=i("code",null,"bin/list-all",-1)),s[27]||(s[27]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"}),s[28]||(s[28]=a()),s[29]||(s[29]=i("a",{class:"header-anchor",href:"#bin-list-all","aria-label":'Permalink to "`bin/list-all` "'},"​",-1))]),s[50]||(s[50]=e('

説明

インストール可能なすべてのバージョンをリストします。

出力フォーマット

スペース区切りのバージョンリストの文字列を出力する必要があります。例えば次のとおりです:

txt
1.0.1 1.0.2 1.3.0 1.4

最新バージョンが末尾にくる必要があります。

asdfコアは各バージョンを1行ずつ表示するため、 いくつかのバージョンは画面外にはみ出る場合があります。

並べ替え

ウェブサイト上のリリースページからバージョンを取得する場合、 提供されている順序は正しいリリース順となっていることが多いため、 そのままの順序を使用することを推奨します。 逆順にしたければ、tscをパイプで通すだけで十分です。

どうしても並べ替えが避けられない場合、sort -Vは移植性が無いため、次のいずれかの方法を使用することを推奨します:

スクリプトで使用できる環境変数

このスクリプトに環境変数は提供されません。

このスクリプトを呼び出すコマンド

  • asdf list all <name> [version]
  • asdf list all nodejs: このスクリプトで返されるすべてのバージョンを、 1行ずつリストします。
  • asdf list all nodejs 18: このスクリプトで返されるすべてのバージョンから、 18で始まるバージョンのみフィルタし、1行ずつリストします。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/list-all"

',19)),i("h3",F,[s[30]||(s[30]=i("code",null,"bin/download",-1)),s[31]||(s[31]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"}),s[32]||(s[32]=a()),s[33]||(s[33]=i("a",{class:"header-anchor",href:"#bin-download","aria-label":'Permalink to "`bin/download` "'},"​",-1))]),s[51]||(s[51]=e('

説明

ツールの特定バージョンのソースコードまたはバイナリを、指定された場所にダウンロードします。

実装内容

  • スクリプトは、ASDF_DOWNLOAD_PATHで指定されたディレクトリに、ソースコードまたはバイナリをダウンロードする必要があります。
  • 解凍されたソースコードまたはバイナリのみを、ASDF_DOWNLOAD_PATHディレクトリに配置する必要があります。
  • 失敗した場合、ASDF_DOWNLOAD_PATHディレクトリ内に何もファイルを配置しないようにしてください。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

レガシープラグイン

このスクリプトはすべてのプラグインで 必須 とされていますが、このスクリプトが導入される以前の"レガシー"プラグインでは、 オプション となっていました。

このスクリプトが存在しない場合、asdfはbin/installスクリプトがあると想定して、バージョンのダウンロード、かつ、インストールが実行されます。

レガシープラグインのサポートは最終的に削除される予定のため、今後作成するすべてのプラグインでこのスクリプトを含めるようにしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
  • ASDF_DOWNLOAD_PATH: ソースコードまたはバイナリのダウンロード先のパスです。

このスクリプトを呼び出すコマンド

  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: Node.jsのバージョン18.0.0のソースコードまたはバイナリをダウンロードし、ASDF_DOWNLOAD_PATHディレクトリに配置します。 そしてbin/installスクリプトを実行します。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}"/bin/download

',16)),i("h3",E,[s[34]||(s[34]=i("code",null,"bin/install",-1)),s[35]||(s[35]=a()),l(t,{type:"tip",text:"必須",vertical:"middle"}),s[36]||(s[36]=a()),s[37]||(s[37]=i("a",{class:"header-anchor",href:"#bin-install","aria-label":'Permalink to "`bin/install` "'},"​",-1))]),s[52]||(s[52]=e('

説明

ツールの特定バージョンを指定された場所にインストールします。

実装内容

  • スクリプトは、指定されたバージョンをASDF_INSTALL_PATHのパスのディレクトリにインストールする必要があります。
  • Shimはデフォルトで、$ASDF_INSTALL_PATH/bin内にあるファイルに対して作成されます。 この動作は、オプションのbin/list-bin-pathsスクリプトでカスタマイズできます。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。
  • TOCTOU (Time-of-Check-to-Time-of-Use)の問題を避けるために、ツールのビルドとインストールが成功したとみなされた場合にのみ、ASDF_INSTALL_PATHにファイルを配置するようなスクリプトとしてください。

レガシープラグイン

bin/downloadスクリプトが存在しない場合、このスクリプトでは、指定されたバージョンをダウンロード、かつ、インストールをする必要があります。

0.7._以前と0.8._以降のasdfコアの互換性を保つために、ASDF_DOWNLOAD_PATH環境変数が設定されているかを確認してください。 設定されている場合は、bin/downloadスクリプトがすでにバージョンをダウンロードしていると想定し、設定されていない場合は、bin/installでソースコードをダウンロードするようにしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
  • ASDF_CONCURRENCY: ソースコードのコンパイル時に使用するコア数です。make -jのようなフラグを設定する際に便利です。
  • ASDF_DOWNLOAD_PATH: ソースコードまたはバイナリのダウンロード先のパスです。

このスクリプトを呼び出すコマンド

  • asdf install
  • asdf install <tool>
  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: ASDF_INSTALL_PATHディレクトリに、 Node.jsのバージョン18.0.0をインストールします。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}"/bin/install

オプションスクリプト

',15)),i("h3",y,[s[38]||(s[38]=i("code",null,"bin/latest-stable",-1)),s[39]||(s[39]=a()),l(t,{type:"warning",text:"推奨",vertical:"middle"}),s[40]||(s[40]=a()),s[41]||(s[41]=i("a",{class:"header-anchor",href:"#bin-latest-stable","aria-label":'Permalink to "`bin/latest-stable` "'},"​",-1))]),s[53]||(s[53]=e('

説明

ツールの最新安定バージョンを判定します。このスクリプトが存在しない場合、asdfコアはbin/list-allの出力をtailした結果をもとに判定しますが、ツールによってはこれが望ましくないことがあります。

実装内容

  • スクリプトは、ツールの最新安定バージョンを標準出力する必要があります。
  • 非安定版やリリース候補版は除外されるべきです。
  • フィルタクエリは、スクリプトの第1引数で提供されます。このクエリは、バージョン番号やツールプロバイダによる出力をフィルタするために使用されるべきです。
    • 例えば、rubyプラグインでのasdf list all rubyの出力は、jrubyrbxtrufflerubyなどの多くのプロバイダのRubyバージョンをリストアップします。ユーザが提供したフィルタは、セマンティックバージョンやプロバイダをフィルタするために、プラグインで使用できます。
      > asdf latest ruby\n3.2.2\n> asdf latest ruby 2\n2.7.8\n> asdf latest ruby truffleruby\ntruffleruby+graalvm-22.3.1
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf global <tool> latest: ツールのグローバルバージョンとして、当該ツールの最新安定バージョンにセットします。
  • asdf local <name> latest: ツールのローカルバージョンとして、当該ツールの最新安定バージョンにセットします。
  • asdf install <tool> latest: ツールの最新安定バージョンをインストールします。
  • asdf latest <tool> [<version>]: オプションのフィルタに基づいて、ツールの最新バージョンを出力します。
  • asdf latest --all: asdfによって管理されているすべてのツールの最新バージョンと、それらがインストールされているかどうかを出力します。

asdfからの呼び出しシグネチャ

このスクリプトは、フィルタクエリという1つの引数を受け取ります。

bash
"${plugin_path}"/bin/latest-stable "$query"

bin/help.overview

説明

プラグインおよび管理されているツールに関する概要説明を出力します。

実装内容

  • このスクリプトは、プラグインのヘルプを表示するために必要です。
  • ヘッダはasdfコア側で表示するため、スクリプト内では表示しないでください。
  • 自由な形式のテキストで出力して構いませんが、短い1段落程度の説明が理想です。
  • コアとなるasdf-vmドキュメントですでに説明されている情報は出力しないでください。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.overview

bin/help.deps

説明

オペレーティングシステムに合わせた依存関係のリストを出力します。依存関係を1行ごとに出力します。

bash
git\ncurl\nsed

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.deps

bin/help.config

説明

プラグインおよびツールで設定必須または任意設定可能な構成設定一覧を出力します。例えば、ツールのインストール・コンパイルに必要な環境変数やその他フラグについて説明します。

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • 自由な形式のテキストで出力できます。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.config

説明

プラグインとツールに関連するリンクリストを出力します。リンクを1行ごとに出力します。

bash
Git Repository:	https://github.com/vlang/v\nDocumentation:	https://vlang.io

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • リンクを1行ごとに出力してください。
  • 形式は以下のいずれかである必要があります:
    • <title>: <link>
    • または<link>のみ
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.links

bin/list-bin-paths

説明

ツールの特定バージョンにおける、実行ファイルが含まれるディレクトリの一覧を出力します。

実装内容

  • このスクリプトが存在しない場合、asdfは"${ASDF_INSTALL_PATH}"/binディレクトリ内にあるバイナリを探し、そのバイナリ向けのShimを作成します。
  • 実行ファイルが含まれるディレクトリのパスをスペース区切りで出力してください。
  • パスはASDF_INSTALL_PATHからの相対パスである必要があります。例えば、次のような出力となります:
bash
bin tools veggies

以上の場合、下記ディレクトリ内のファイルへのShimを作成するよう、asdfへ指示されます:

  • "${ASDF_INSTALL_PATH}"/bin
  • "${ASDF_INSTALL_PATH}"/tools
  • "${ASDF_INSTALL_PATH}"/veggies

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf install <tool> [version]: バイナリへのShimを初期作成します。
  • asdf reshim <tool> <version>: バイナリへのShimを再作成します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/list-bin-paths"

bin/exec-env

説明

ツールのバイナリのShimを実行する前に環境を準備します。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf which <command>: 実行ファイルのパスを表示します。
  • asdf exec <command> [args...]: 現在のバージョンでShimコマンドを実行します。
  • asdf env <command> [util]: Shimコマンドの実行時に使用される環境において、util(デフォルト: env)を実行します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/exec-env"

bin/exec-path

ツールの特定バージョンの実行ファイルパスを取得します。 実行ファイルへの相対パスを文字列で出力する必要があります。 これにより、プラグインはShimで指定された実行ファイルパスを条件付きで上書きして返すか、 そうでなければ、Shimで指定されたデフォルトのパスを返すことができます。

説明

ツールの特定バージョンの実行ファイルパスを取得します。

実装内容

  • 実行ファイルへの相対パスを文字列で出力する必要があります。
  • Shimで指定された実行ファイルパスを条件付きで上書きして返すか、そうでなければ、Shimで指定されたデフォルトのパスを返してください。
shell
Usage:\n  plugin/bin/exec-path <install-path> <command> <executable-path>\n\nExample Call:\n  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"\n\nOutput:\n  bin/foox

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf which <command>: 実行ファイルのパスを表示します。
  • asdf exec <command> [args...]: 現在のバージョンでShimコマンドを実行します。
  • asdf env <command> [util]: Shimコマンドの実行時に使用される環境において、util(デフォルト: env)を実行します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/exec-path" "$install_path" "$cmd" "$relative_path"

bin/uninstall

説明

ツールの特定バージョンをアンインストールします。

出力フォーマット

ユーザへの出力は、stdoutまたはstderrへ適切に送信してください。後続のコア実行によってこれらの出力が読み取られることはありません。

スクリプトで使用できる環境変数

このスクリプトに環境変数は提供されません。

このスクリプトを呼び出すコマンド

  • asdf list all <name> <version>
  • asdf uninstall nodejs 18.15.0: nodejsのバージョン18.15.0をアンインストールし、npm i -gでグローバルにインストールしたものを含むすべてのShimを削除します。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/uninstall"

bin/list-legacy-filenames

説明

ツールのバージョンを決定するために使用されるレガシー構成ファイルのリストを出力します。

実装内容

  • スペース区切りのファイル名リストを出力してください。
    bash
    .ruby-version .rvmrc
  • この内容は、"${HOME}"/.asdfrc内のlegacy_version_fileオプションを有効にしたユーザにのみ適用されます。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

ツールのバージョンを読み込むすべてのコマンドから呼び出されます。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/list-legacy-filenames"

bin/parse-legacy-file

説明

asdfによって発見されたレガシーファイルをパースして、ツールのバージョンを決定します。JavaScriptのpackage.jsonや、Go言語のgo.modのようなファイルから、バージョン番号を抽出するのに役立ちます。

実装内容

  • このスクリプトが存在しない場合、asdfは単純にレガシーファイルをcatしてバージョンを決定します。
  • 決定論的で、常に正確で同じバージョンを返す必要があります:
    • 同じレガシーファイルを解析したら、同じバージョンを返すようにしてください。
    • マシンに何がインストールされているか、また、レガシーバージョンが有効で完全かどうかは関係ありません。一部のレガシーファイルのフォーマットは適切でないときもあります。
  • 下記のように、バージョン番号を1行で出力してください:
    bash
    1.2.3

スクリプトで使用できる環境変数

このスクリプトが呼び出される前に、環境変数が設定されることはありません。

このスクリプトを呼び出すコマンド

ツールのバージョンを読み込むすべてのコマンドから呼び出されます。

asdfからの呼び出しシグネチャ

このスクリプトは、レガシーファイルの内容を読み込むために、レガシーファイルのパスという1つの引数を受け取ります。

bash
"${plugin_path}/bin/parse-legacy-file" "$file_path"

bin/post-plugin-add

説明

このスクリプトは、asdfのasdf plugin add <tool>コマンドで、プラグインが 追加 された 後に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。
  • ASDF_PLUGIN_SOURCE_URL: プラグインソースのURLです。ローカルディレクトリパスを指定することもできます。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/post-plugin-add"

bin/post-plugin-update

説明

このスクリプトは、asdfのasdf plugin update <tool> [<git-ref>]コマンドで、 更新 されたプラグインがダウンロードされた 後に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_updated
  • pre_asdf_plugin_updated_${plugin_name}
  • post_asdf_plugin_updated
  • post_asdf_plugin_updated_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。
  • ASDF_PLUGIN_PREV_REF: プラグインの以前のgit-refです。
  • ASDF_PLUGIN_POST_REF: 更新後のプラグインのgit-refです。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/post-plugin-update"

bin/pre-plugin-remove

説明

このスクリプトは、asdfのasdf plugin remove <tool>コマンドで、プラグインが 削除 される 前に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/pre-plugin-remove"
',172)),i("h2",m,[s[42]||(s[42]=a("asdf CLIの拡張コマンド ")),l(t,{type:"danger",text:"高度",vertical:"middle"}),s[43]||(s[43]=a()),s[44]||(s[44]=i("a",{class:"header-anchor",href:"#asdf-cliの拡張コマンド","aria-label":'Permalink to "asdf CLIの拡張コマンド "'},"​",-1))]),s[54]||(s[54]=e('

プラグイン名をサブコマンドとして使用し、 asdfコマンドラインインターフェースを通して呼び出すことのできるlib/commands/command*.bashスクリプトまたは実行ファイルを用意することで、 新しいasdfコマンドを定義することができます。

例えば、fooというプラグインがあるとすると:

shell
foo/\n  lib/commands/\n    command.bash\n    command-bat.bash\n    command-bat-man.bash\n    command-help.bash

ユーザは下記コマンドが実行できるようになります:

shell
$ asdf foo         # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash`\n$ asdf foo bar     # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar`\n$ asdf foo help    # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash`\n$ asdf foo bat man # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash`\n$ asdf foo bat baz # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz`

プラグイン開発者はこの機能を使って、ツールに関連するユーティリティを提供したり、 asdf自体のコマンド拡張プラグインを作成したりすることができます。

実行可能ビット(executable bit)が付与されている場合、 asdfの実行に代わって、当該スクリプトが実行されます。

実行可能ビット(executable bit)が付与されていない場合、asdfは当該スクリプトをBashスクリプトとしてsourceします。

$ASDF_CMD_FILE環境変数は、ソースとなるファイルのフルパスに解決されます。

haxeは、 この機能使ったプラグインの素晴らしい例です。 このプラグインは、asdf haxe neko-dylibs-linkを提供しており、 Haxeの実行ファイルが実行ディレクトリから相対的に動的ライブラリを見つけようとしてしまう問題を修正します。

プラグインのREADMEには、asdf拡張コマンドに関することを必ず記載するようにしてください。

',11)),i("h2",f,[s[45]||(s[45]=a("カスタムShimテンプレート ")),l(t,{type:"danger",text:"高度",vertical:"middle"}),s[46]||(s[46]=a()),s[47]||(s[47]=i("a",{class:"header-anchor",href:"#カスタムshimテンプレート","aria-label":'Permalink to "カスタムShimテンプレート "'},"​",-1))]),s[55]||(s[55]=e(`

警告

どうしても必要な場合にのみ使用してください。

asdfでは、カスタムShimテンプレートを使用することができます。 fooという実行ファイルに対して、プラグイン内にshims/fooファイルが存在すれば、 asdfは標準Shimテンプレートを使用する代わりに、そのファイルをコピーします。

この機能は賢く使う必要があります。

asdfコアチームが把握している限り、 この機能は公式プラグインであるElixirプラグインでのみ使用されています。 実行ファイルは、実行ファイルであると同時に、Elixirファイルとしても読み込まれます。 そのため、標準的なBashのShimを使用できないのです。

テスト

asdfでは、プラグインをテストするためのplugin-testコマンドを用意しており、下記のように使用できます:

shell
asdf plugin test <plugin_name> <plugin_url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git_ref>] [test_command...]
  • <plugin_name><plugin_url>は必須です。
  • オプションで[--asdf-tool-version <version>]を指定すると、そのバージョンのツールがインストールされます。 デフォルトは、asdf latest <plugin-name>です。
  • オプションで[--asdf-plugin-gitref <git_ref>]を指定すると、 そのコミット/ブランチ/タグでプラグイン自体をチェックアウトします。 これは、プラグインのCIにおいて、プルリクエストをテストする際に便利です。
  • オプションの[test_command...]パラメータは、インストールしたツールが正しく動作するかを確認するために実行するコマンドです。 通常は、<tool> --versionまたは<tool> --helpとなります。 例えば、NodeJSプラグインをテストするときは、次のように実行します:
    shell
    # asdf plugin test <plugin_name>  <plugin_url>                               [test_command]
    +  asdf plugin test nodejs         https://github.com/asdf-vm/asdf-nodejs.git node --version

備考

LinuxとmacOSの両方のCI環境でテストすることを推奨します。

GitHub Action

asdf-vm/actionsリポジトリでは、 GitHub上でホストされているプラグインをテストするためのGitHub Actionを提供しています。 \`.github/workflows/test.yamlのActionsワークフローの例は以下のとおりです:

yaml
name: Test
+on:
+  push:
+    branches:
+      - main
+  pull_request:
+
+jobs:
+  plugin_test:
+    name: asdf plugin test
+    strategy:
+      matrix:
+        os:
+          - ubuntu-latest
+          - macos-latest
+    runs-on: \${{ matrix.os }}
+    steps:
+      - name: asdf_plugin_test
+        uses: asdf-vm/actions/plugin-test@v2
+        with:
+          command: "<MY_TOOL> --version"

TravisCI 構成設定

以下は、.travis.ymlファイルの例です。必要に応じてカスタマイズしてください:

yaml
language: c
+script: asdf plugin test <MY_TOOL> $TRAVIS_BUILD_DIR '<MY_TOOL> --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

備考

他のCIを使用する場合、 プラグインの場所への相対パスを渡す必要がある場合があります:

shell
asdf plugin test <tool_name> <path> '<tool_command> --version'

APIレート制限

bin/list-allbin/latest-stableのように、コマンドが外部APIへのアクセスに依存している場合、 自動テスト中にレート制限が発生することがあります。 これを軽減するため、環境変数経由で認証トークンを提供するコードパスがあることを確認してください。 以下に例を示します:

shell
cmd="curl --silent"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

GITHUB_API_TOKEN

GITHUB_API_TOKENを利用する際は、 まず、 public_repoアクセスのみをもつ新しいパーソナルトークンを作成してください。

次に、このトークンをCIパイプライン環境変数に追加してください。

警告

認証トークンをコードリポジトリで公開してはいけません。

プラグインショートネームインデックス

ヒント

推奨されるプラグインのインストール方法は、URLをもとに直接インストールする方法です:

shell
# asdf plugin add <name> <git_url>
+  asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

asdfの各種コマンドでgit_urlが指定されなかった場合、 asdfは正確なgit_urlを決定するために、 ショートネームインデックスリポジトリを使用します。

このリポジトリの指示に従うことで、 あなたが作成したプラグインを、 ショートネームインデックスに追加することができます。

`,27))])}const B=n(h,[["render",v]]);export{x as __pageData,B as default}; diff --git a/assets/manage_commands.md.BSbw1HQ9.js b/assets/manage_commands.md.BSbw1HQ9.js new file mode 100644 index 00000000..78d7c5b1 --- /dev/null +++ b/assets/manage_commands.md.BSbw1HQ9.js @@ -0,0 +1,66 @@ +import{_ as a,c as n,a2 as e,o as l}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"All Commands","description":"","frontmatter":{},"headers":[],"relativePath":"manage/commands.md","filePath":"manage/commands.md","lastUpdated":1687069487000}'),p={name:"manage/commands.md"};function t(i,s,o,c,r,d){return l(),n("div",null,s[0]||(s[0]=[e(`

All Commands

The list of all commands available in asdf. This list is the asdf help command text.

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        \`ASDF_\${LANG}_VERSION\` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: \`env\`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
`,3)]))}const f=a(p,[["render",t]]);export{m as __pageData,f as default}; diff --git a/assets/manage_commands.md.BSbw1HQ9.lean.js b/assets/manage_commands.md.BSbw1HQ9.lean.js new file mode 100644 index 00000000..78d7c5b1 --- /dev/null +++ b/assets/manage_commands.md.BSbw1HQ9.lean.js @@ -0,0 +1,66 @@ +import{_ as a,c as n,a2 as e,o as l}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"All Commands","description":"","frontmatter":{},"headers":[],"relativePath":"manage/commands.md","filePath":"manage/commands.md","lastUpdated":1687069487000}'),p={name:"manage/commands.md"};function t(i,s,o,c,r,d){return l(),n("div",null,s[0]||(s[0]=[e(`

All Commands

The list of all commands available in asdf. This list is the asdf help command text.

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        \`ASDF_\${LANG}_VERSION\` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: \`env\`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
`,3)]))}const f=a(p,[["render",t]]);export{m as __pageData,f as default}; diff --git a/assets/manage_configuration.md.BTxM-Kga.js b/assets/manage_configuration.md.BTxM-Kga.js new file mode 100644 index 00000000..1718e978 --- /dev/null +++ b/assets/manage_configuration.md.BTxM-Kga.js @@ -0,0 +1,9 @@ +import{_ as n,c as i,a2 as s,j as e,a as o,G as a,B as d,o as r}from"./chunks/framework.C9NVOr0y.js";const S=JSON.parse('{"title":"Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"manage/configuration.md","filePath":"manage/configuration.md","lastUpdated":1699489504000}'),c={name:"manage/configuration.md"},u={tabindex:"0"},p={style:{"text-align":"left"}},f={tabindex:"0"},h={style:{"text-align":"left"}},g={tabindex:"0"},m={style:{"text-align":"left"}},y={tabindex:"0"},b={style:{"text-align":"left"}},v={tabindex:"0"},x={style:{"text-align":"left"}};function _(k,t,w,D,E,F){const l=d("Badge");return r(),i("div",null,[t[33]||(t[33]=s(`

Configuration

Configuration of asdf encompasses both the sharable .tool-versions files as well as user specific customisations with .asdfrc and Environment Variables.

.tool-versions

Whenever .tool-versions file is present in a directory, the tool versions it declares will be used in that directory and any subdirectories.

Note

Global defaults can be set in the file $HOME/.tool-versions

This is what a .tool-versions file looks like:

ruby 2.5.3
+nodejs 10.15.0

You can also include comments:

ruby 2.5.3 # This is a comment
+# This is another comment
+nodejs 10.15.0

The versions can be in the following format:

  • 10.15.0 - an actual version. Plugins that support downloading binaries, will download binaries.
  • ref:v1.0.2-a or ref:39cb398vb39 - tag/commit/branch to download from github and compile
  • path:~/src/elixir - a path to custom compiled version of a tool to use. For use by language developers and such.
  • system - this keyword causes asdf to passthrough to the version of the tool on the system that is not managed by asdf.

TIP

Multiple versions can be set by separating them with a space. For example, to use Python 3.7.2, fallback to Python 2.7.15 and finally to the system Python, the following line can be added to .tool-versions.

python 3.7.2 2.7.15 system

To install all the tools defined in a .tool-versions file run asdf install with no other arguments in the directory containing the .tool-versions file.

To install a single tool defined in a .tool-versions file run asdf install <name> in the directory containing the .tool-versions file. The tool will be installed at the version specified in the .tool-versions file.

Edit the file directly or use asdf local (or asdf global) which updates it.

.asdfrc

The .asdfrc file defines the user's machine specific configuration.

\${HOME}/.asdfrc is the default location used by asdf. This can be set with the Environment Variable ASDF_CONFIG_FILE.

The below file shows the required format with the default values:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

Plugins with support can read the versions files used by other version managers, for example, .ruby-version in the case of Ruby's rbenv.

`,22)),e("table",u,[t[4]||(t[4]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",p,[t[0]||(t[0]=e("code",null,"no",-1)),t[1]||(t[1]=o()),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[2]||(t[2]=e("td",{style:{"text-align":"left"}},[o("Use "),e("code",null,".tool-versions"),o(" to read versions")],-1))]),t[3]||(t[3]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},[o("Use plugin fallback to legacy version files ("),e("code",null,".ruby-version"),o(") if available")])],-1))])]),t[34]||(t[34]=e("h3",{id:"use-release-candidates",tabindex:"-1"},[e("code",null,"use_release_candidates"),o(),e("a",{class:"header-anchor",href:"#use-release-candidates","aria-label":'Permalink to "`use_release_candidates`"'},"​")],-1)),t[35]||(t[35]=e("p",null,[o("Configure the "),e("code",null,"asdf update"),o(" command to upgrade to the latest Release Candidate instead of the latest Semantic Version.")],-1)),e("table",f,[t[9]||(t[9]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",h,[t[5]||(t[5]=e("code",null,"no",-1)),t[6]||(t[6]=o()),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[7]||(t[7]=e("td",{style:{"text-align":"left"}},"Semantic Version is used",-1))]),t[8]||(t[8]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"Release Candidate is used")],-1))])]),t[36]||(t[36]=e("h3",{id:"always-keep-download",tabindex:"-1"},[e("code",null,"always_keep_download"),o(),e("a",{class:"header-anchor",href:"#always-keep-download","aria-label":'Permalink to "`always_keep_download`"'},"​")],-1)),t[37]||(t[37]=e("p",null,[o("Configure the "),e("code",null,"asdf install"),o(" command to keep or delete the source code or binary it downloads.")],-1)),e("table",g,[t[14]||(t[14]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",m,[t[10]||(t[10]=e("code",null,"no",-1)),t[11]||(t[11]=o()),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[12]||(t[12]=e("td",{style:{"text-align":"left"}},"Delete source code or binary after successful install",-1))]),t[13]||(t[13]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"Keep source code or binary after install")],-1))])]),t[38]||(t[38]=e("h3",{id:"plugin-repository-last-check-duration",tabindex:"-1"},[e("code",null,"plugin_repository_last_check_duration"),o(),e("a",{class:"header-anchor",href:"#plugin-repository-last-check-duration","aria-label":'Permalink to "`plugin_repository_last_check_duration`"'},"​")],-1)),t[39]||(t[39]=e("p",null,"Configure the duration (in minutes) between asdf plugin repository syncs. Trigger events result in a check of the duration. If more time has elapsed since the last sync than specified in the duration, a new sync occurs.",-1)),e("table",y,[t[27]||(t[27]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",b,[t[15]||(t[15]=o("integer in range ")),t[16]||(t[16]=e("code",null,"1",-1)),t[17]||(t[17]=o(" to ")),t[18]||(t[18]=e("code",null,"999999999",-1)),t[19]||(t[19]=o()),t[20]||(t[20]=e("br",null,null,-1)),t[21]||(t[21]=o()),t[22]||(t[22]=e("code",null,"60",-1)),t[23]||(t[23]=o(" is ")),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[24]||(t[24]=e("td",{style:{"text-align":"left"}},"Sync on trigger event if duration (in minutes) since last sync has been exceeded",-1))]),t[25]||(t[25]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"0")]),e("td",{style:{"text-align":"left"}},"Sync on each trigger event")],-1)),t[26]||(t[26]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"never")]),e("td",{style:{"text-align":"left"}},"Never sync")],-1))])]),t[40]||(t[40]=s('

Sync events occur when the following commands are executed:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url> does NOT trigger a plugin sync.

Note

Setting the value to never does not stop the plugin repository from being initially synced, for that behaviour see disable_plugin_short_name_repository.

disable_plugin_short_name_repository

Disable synchronization of the asdf plugin short-name repository. Sync events will exit early if the short-name repository is disabled.

',6)),e("table",v,[t[32]||(t[32]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",x,[t[28]||(t[28]=e("code",null,"no",-1)),t[29]||(t[29]=o()),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[30]||(t[30]=e("td",{style:{"text-align":"left"}},"Clone or update the asdf plugin repository on sync events",-1))]),t[31]||(t[31]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"Disable the plugin short-name repository")],-1))])]),t[41]||(t[41]=s('

Sync events occur when the following commands are executed:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url> does NOT trigger a plugin sync.

Note

Disabling the plugin short-name repository does not remove the repository if it has already synced. Remove the plugin repo with rm --recursive --trash $ASDF_DATA_DIR/repository.

Disabling the plugin short-name repository does not remove plugins previously installed from this source. Plugins can be removed with asdf plugin remove <name>. Removing a plugin will remove all installed versions of the managed tool.

concurrency

The default number of cores to use during compilation.

OptionsDescription
integerNumber of cores to use when compiling the source code
autoCalculate the number of cores using nproc, then sysctl hw.ncpu, then /proc/cpuinfo or else 1

Note: the environment variable ASDF_CONCURRENCY take precedence if set.

Plugin Hooks

It is possible to execute custom code:

  • Before or after a plugin is installed, reshimed, updated, or uninstalled
  • Before or after a plugin command is executed

For example, if a plugin called foo is installed and provides a bar executable, then the following hooks can be used to execute custom code first:

text
pre_foo_bar = echo Executing with args: $@

The following patterns are supported:

  • pre_<plugin_name>_<command>
  • pre_asdf_download_<plugin_name>
  • {pre,post}_asdf_{install,reshim,uninstall}_<plugin_name>
    • $1: full version
  • {pre,post}_asdf_plugin_{add,update,remove,reshim}
    • $1: plugin name
  • {pre,post}_asdf_plugin_{add,update,remove}_<plugin_name>

See Create a Plugin for specifics on what command hooks are ran before or after what commands.

Environment Variables

Setting environment variables varies depending on your system and Shell. Default locations depend upon your installation location and method (Git clone, Homebrew, AUR).

Environment variables should generally be set before sourcing asdf.sh/asdf.fish etc. For Elvish set above use asdf.

The following describe usage with a Bash Shell.

ASDF_CONFIG_FILE

Path to the .asdfrc configuration file. Can be set to any location. Must be an absolute path.

  • If Unset: $HOME/.asdfrc will be used.
  • Usage: export ASDF_CONFIG_FILE=/home/john_doe/.config/asdf/.asdfrc

ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

The filename of the file storing the tool names and versions. Can be any valid filename. Typically, you should not set this value unless you want to ignore .tool-versions files.

  • If Unset: .tool-versions will be used.
  • Usage: export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=tool_versions

ASDF_DIR

The location of asdf core scripts. Can be set to any location. Must be an absolute path.

  • If Unset: the parent directory of the bin/asdf executable is used.
  • Usage: export ASDF_DIR=/home/john_doe/.config/asdf

ASDF_DATA_DIR

The location where asdf will install plugins, shims and tool versions. Can be set to any location. Must be an absolute path.

  • If Unset: $HOME/.asdf if it exists, or else the value of ASDF_DIR
  • Usage: export ASDF_DATA_DIR=/home/john_doe/.asdf

ASDF_CONCURRENCY

Number of cores to use when compiling the source code. If set, this value takes precedence over the asdf config concurrency value.

  • If Unset: the asdf config concurrency value is used.
  • Usage: export ASDF_CONCURRENCY=32

ASDF_FORCE_PREPEND

Whether or not to prepend the asdf shims and path directories to the front-most (highest-priority) part of the PATH.

  • If Unset: On macOS, defaults to yes; but on other systems, defaults to no
  • If yes: Force asdf directories to the front of the PATH
  • If set to any string other than yes: Do not force asdf directories to the front of the PATH
  • Usage: ASDF_FORCE_PREPEND=no . "<path-to-asdf-directory>/asdf.sh"

Full Configuration Example

Following a simple asdf setup with:

  • a Bash Shell
  • an installation location of $HOME/.asdf
  • installed via Git
  • NO environment variables set
  • NO custom .asdfrc file

would result in the following outcomes:

ConfigurationValueCalculated by
config file location$HOME/.asdfrcASDF_CONFIG_FILE is empty, so use $HOME/.asdfrc
default tool versions filename.tool-versionsASDF_DEFAULT_TOOL_VERSIONS_FILENAME is empty, so use .tool-versions
asdf dir$HOME/.asdfASDF_DIR is empty, so use parent dir of bin/asdf
asdf data dir$HOME/.asdfASDF_DATA_DIR is empty so use $HOME/.asdf as $HOME exists.
concurrencyautoASDF_CONCURRENCY is empty, so rely on concurrency value from the default configuration
legacy_version_filenoNo custom .asdfrc, so use the default configuration
use_release_candidatesnoNo custom .asdfrc, so use the default configuration
always_keep_downloadnoNo custom .asdfrc, so use the default configuration
plugin_repository_last_check_duration60No custom .asdfrc, so use the default configuration
disable_plugin_short_name_repositorynoNo custom .asdfrc, so use the default configuration

Internal Configuration

Users should not worry about this section as it describes configuration internal to asdf useful for Package Managers and integrators.

  • $ASDF_DIR/asdf_updates_disabled: Updates via the asdf update command are disabled when this file is present (content irrelevant). This is used by package managers like Pacman or Homebrew to ensure the correct update method is used for the particular installation.
',46))])}const A=n(c,[["render",_]]);export{S as __pageData,A as default}; diff --git a/assets/manage_configuration.md.BTxM-Kga.lean.js b/assets/manage_configuration.md.BTxM-Kga.lean.js new file mode 100644 index 00000000..1718e978 --- /dev/null +++ b/assets/manage_configuration.md.BTxM-Kga.lean.js @@ -0,0 +1,9 @@ +import{_ as n,c as i,a2 as s,j as e,a as o,G as a,B as d,o as r}from"./chunks/framework.C9NVOr0y.js";const S=JSON.parse('{"title":"Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"manage/configuration.md","filePath":"manage/configuration.md","lastUpdated":1699489504000}'),c={name:"manage/configuration.md"},u={tabindex:"0"},p={style:{"text-align":"left"}},f={tabindex:"0"},h={style:{"text-align":"left"}},g={tabindex:"0"},m={style:{"text-align":"left"}},y={tabindex:"0"},b={style:{"text-align":"left"}},v={tabindex:"0"},x={style:{"text-align":"left"}};function _(k,t,w,D,E,F){const l=d("Badge");return r(),i("div",null,[t[33]||(t[33]=s(`

Configuration

Configuration of asdf encompasses both the sharable .tool-versions files as well as user specific customisations with .asdfrc and Environment Variables.

.tool-versions

Whenever .tool-versions file is present in a directory, the tool versions it declares will be used in that directory and any subdirectories.

Note

Global defaults can be set in the file $HOME/.tool-versions

This is what a .tool-versions file looks like:

ruby 2.5.3
+nodejs 10.15.0

You can also include comments:

ruby 2.5.3 # This is a comment
+# This is another comment
+nodejs 10.15.0

The versions can be in the following format:

  • 10.15.0 - an actual version. Plugins that support downloading binaries, will download binaries.
  • ref:v1.0.2-a or ref:39cb398vb39 - tag/commit/branch to download from github and compile
  • path:~/src/elixir - a path to custom compiled version of a tool to use. For use by language developers and such.
  • system - this keyword causes asdf to passthrough to the version of the tool on the system that is not managed by asdf.

TIP

Multiple versions can be set by separating them with a space. For example, to use Python 3.7.2, fallback to Python 2.7.15 and finally to the system Python, the following line can be added to .tool-versions.

python 3.7.2 2.7.15 system

To install all the tools defined in a .tool-versions file run asdf install with no other arguments in the directory containing the .tool-versions file.

To install a single tool defined in a .tool-versions file run asdf install <name> in the directory containing the .tool-versions file. The tool will be installed at the version specified in the .tool-versions file.

Edit the file directly or use asdf local (or asdf global) which updates it.

.asdfrc

The .asdfrc file defines the user's machine specific configuration.

\${HOME}/.asdfrc is the default location used by asdf. This can be set with the Environment Variable ASDF_CONFIG_FILE.

The below file shows the required format with the default values:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

Plugins with support can read the versions files used by other version managers, for example, .ruby-version in the case of Ruby's rbenv.

`,22)),e("table",u,[t[4]||(t[4]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",p,[t[0]||(t[0]=e("code",null,"no",-1)),t[1]||(t[1]=o()),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[2]||(t[2]=e("td",{style:{"text-align":"left"}},[o("Use "),e("code",null,".tool-versions"),o(" to read versions")],-1))]),t[3]||(t[3]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},[o("Use plugin fallback to legacy version files ("),e("code",null,".ruby-version"),o(") if available")])],-1))])]),t[34]||(t[34]=e("h3",{id:"use-release-candidates",tabindex:"-1"},[e("code",null,"use_release_candidates"),o(),e("a",{class:"header-anchor",href:"#use-release-candidates","aria-label":'Permalink to "`use_release_candidates`"'},"​")],-1)),t[35]||(t[35]=e("p",null,[o("Configure the "),e("code",null,"asdf update"),o(" command to upgrade to the latest Release Candidate instead of the latest Semantic Version.")],-1)),e("table",f,[t[9]||(t[9]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",h,[t[5]||(t[5]=e("code",null,"no",-1)),t[6]||(t[6]=o()),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[7]||(t[7]=e("td",{style:{"text-align":"left"}},"Semantic Version is used",-1))]),t[8]||(t[8]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"Release Candidate is used")],-1))])]),t[36]||(t[36]=e("h3",{id:"always-keep-download",tabindex:"-1"},[e("code",null,"always_keep_download"),o(),e("a",{class:"header-anchor",href:"#always-keep-download","aria-label":'Permalink to "`always_keep_download`"'},"​")],-1)),t[37]||(t[37]=e("p",null,[o("Configure the "),e("code",null,"asdf install"),o(" command to keep or delete the source code or binary it downloads.")],-1)),e("table",g,[t[14]||(t[14]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",m,[t[10]||(t[10]=e("code",null,"no",-1)),t[11]||(t[11]=o()),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[12]||(t[12]=e("td",{style:{"text-align":"left"}},"Delete source code or binary after successful install",-1))]),t[13]||(t[13]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"Keep source code or binary after install")],-1))])]),t[38]||(t[38]=e("h3",{id:"plugin-repository-last-check-duration",tabindex:"-1"},[e("code",null,"plugin_repository_last_check_duration"),o(),e("a",{class:"header-anchor",href:"#plugin-repository-last-check-duration","aria-label":'Permalink to "`plugin_repository_last_check_duration`"'},"​")],-1)),t[39]||(t[39]=e("p",null,"Configure the duration (in minutes) between asdf plugin repository syncs. Trigger events result in a check of the duration. If more time has elapsed since the last sync than specified in the duration, a new sync occurs.",-1)),e("table",y,[t[27]||(t[27]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",b,[t[15]||(t[15]=o("integer in range ")),t[16]||(t[16]=e("code",null,"1",-1)),t[17]||(t[17]=o(" to ")),t[18]||(t[18]=e("code",null,"999999999",-1)),t[19]||(t[19]=o()),t[20]||(t[20]=e("br",null,null,-1)),t[21]||(t[21]=o()),t[22]||(t[22]=e("code",null,"60",-1)),t[23]||(t[23]=o(" is ")),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[24]||(t[24]=e("td",{style:{"text-align":"left"}},"Sync on trigger event if duration (in minutes) since last sync has been exceeded",-1))]),t[25]||(t[25]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"0")]),e("td",{style:{"text-align":"left"}},"Sync on each trigger event")],-1)),t[26]||(t[26]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"never")]),e("td",{style:{"text-align":"left"}},"Never sync")],-1))])]),t[40]||(t[40]=s('

Sync events occur when the following commands are executed:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url> does NOT trigger a plugin sync.

Note

Setting the value to never does not stop the plugin repository from being initially synced, for that behaviour see disable_plugin_short_name_repository.

disable_plugin_short_name_repository

Disable synchronization of the asdf plugin short-name repository. Sync events will exit early if the short-name repository is disabled.

',6)),e("table",v,[t[32]||(t[32]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Options"),e("th",{style:{"text-align":"left"}},"Description")])],-1)),e("tbody",null,[e("tr",null,[e("td",x,[t[28]||(t[28]=e("code",null,"no",-1)),t[29]||(t[29]=o()),a(l,{type:"tip",text:"default",vertical:"middle"})]),t[30]||(t[30]=e("td",{style:{"text-align":"left"}},"Clone or update the asdf plugin repository on sync events",-1))]),t[31]||(t[31]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"Disable the plugin short-name repository")],-1))])]),t[41]||(t[41]=s('

Sync events occur when the following commands are executed:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url> does NOT trigger a plugin sync.

Note

Disabling the plugin short-name repository does not remove the repository if it has already synced. Remove the plugin repo with rm --recursive --trash $ASDF_DATA_DIR/repository.

Disabling the plugin short-name repository does not remove plugins previously installed from this source. Plugins can be removed with asdf plugin remove <name>. Removing a plugin will remove all installed versions of the managed tool.

concurrency

The default number of cores to use during compilation.

OptionsDescription
integerNumber of cores to use when compiling the source code
autoCalculate the number of cores using nproc, then sysctl hw.ncpu, then /proc/cpuinfo or else 1

Note: the environment variable ASDF_CONCURRENCY take precedence if set.

Plugin Hooks

It is possible to execute custom code:

  • Before or after a plugin is installed, reshimed, updated, or uninstalled
  • Before or after a plugin command is executed

For example, if a plugin called foo is installed and provides a bar executable, then the following hooks can be used to execute custom code first:

text
pre_foo_bar = echo Executing with args: $@

The following patterns are supported:

  • pre_<plugin_name>_<command>
  • pre_asdf_download_<plugin_name>
  • {pre,post}_asdf_{install,reshim,uninstall}_<plugin_name>
    • $1: full version
  • {pre,post}_asdf_plugin_{add,update,remove,reshim}
    • $1: plugin name
  • {pre,post}_asdf_plugin_{add,update,remove}_<plugin_name>

See Create a Plugin for specifics on what command hooks are ran before or after what commands.

Environment Variables

Setting environment variables varies depending on your system and Shell. Default locations depend upon your installation location and method (Git clone, Homebrew, AUR).

Environment variables should generally be set before sourcing asdf.sh/asdf.fish etc. For Elvish set above use asdf.

The following describe usage with a Bash Shell.

ASDF_CONFIG_FILE

Path to the .asdfrc configuration file. Can be set to any location. Must be an absolute path.

  • If Unset: $HOME/.asdfrc will be used.
  • Usage: export ASDF_CONFIG_FILE=/home/john_doe/.config/asdf/.asdfrc

ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

The filename of the file storing the tool names and versions. Can be any valid filename. Typically, you should not set this value unless you want to ignore .tool-versions files.

  • If Unset: .tool-versions will be used.
  • Usage: export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=tool_versions

ASDF_DIR

The location of asdf core scripts. Can be set to any location. Must be an absolute path.

  • If Unset: the parent directory of the bin/asdf executable is used.
  • Usage: export ASDF_DIR=/home/john_doe/.config/asdf

ASDF_DATA_DIR

The location where asdf will install plugins, shims and tool versions. Can be set to any location. Must be an absolute path.

  • If Unset: $HOME/.asdf if it exists, or else the value of ASDF_DIR
  • Usage: export ASDF_DATA_DIR=/home/john_doe/.asdf

ASDF_CONCURRENCY

Number of cores to use when compiling the source code. If set, this value takes precedence over the asdf config concurrency value.

  • If Unset: the asdf config concurrency value is used.
  • Usage: export ASDF_CONCURRENCY=32

ASDF_FORCE_PREPEND

Whether or not to prepend the asdf shims and path directories to the front-most (highest-priority) part of the PATH.

  • If Unset: On macOS, defaults to yes; but on other systems, defaults to no
  • If yes: Force asdf directories to the front of the PATH
  • If set to any string other than yes: Do not force asdf directories to the front of the PATH
  • Usage: ASDF_FORCE_PREPEND=no . "<path-to-asdf-directory>/asdf.sh"

Full Configuration Example

Following a simple asdf setup with:

  • a Bash Shell
  • an installation location of $HOME/.asdf
  • installed via Git
  • NO environment variables set
  • NO custom .asdfrc file

would result in the following outcomes:

ConfigurationValueCalculated by
config file location$HOME/.asdfrcASDF_CONFIG_FILE is empty, so use $HOME/.asdfrc
default tool versions filename.tool-versionsASDF_DEFAULT_TOOL_VERSIONS_FILENAME is empty, so use .tool-versions
asdf dir$HOME/.asdfASDF_DIR is empty, so use parent dir of bin/asdf
asdf data dir$HOME/.asdfASDF_DATA_DIR is empty so use $HOME/.asdf as $HOME exists.
concurrencyautoASDF_CONCURRENCY is empty, so rely on concurrency value from the default configuration
legacy_version_filenoNo custom .asdfrc, so use the default configuration
use_release_candidatesnoNo custom .asdfrc, so use the default configuration
always_keep_downloadnoNo custom .asdfrc, so use the default configuration
plugin_repository_last_check_duration60No custom .asdfrc, so use the default configuration
disable_plugin_short_name_repositorynoNo custom .asdfrc, so use the default configuration

Internal Configuration

Users should not worry about this section as it describes configuration internal to asdf useful for Package Managers and integrators.

  • $ASDF_DIR/asdf_updates_disabled: Updates via the asdf update command are disabled when this file is present (content irrelevant). This is used by package managers like Pacman or Homebrew to ensure the correct update method is used for the particular installation.
',46))])}const A=n(c,[["render",_]]);export{S as __pageData,A as default}; diff --git a/assets/manage_core.md.BUHLaRG4.js b/assets/manage_core.md.BUHLaRG4.js new file mode 100644 index 00000000..89e7d3ce --- /dev/null +++ b/assets/manage_core.md.BUHLaRG4.js @@ -0,0 +1,18 @@ +import{_ as i,c as a,a2 as t,o as l}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Core","description":"","frontmatter":{},"headers":[],"relativePath":"manage/core.md","filePath":"manage/core.md","lastUpdated":1687069487000}'),e={name:"manage/core.md"};function h(n,s,p,k,d,o){return l(),a("div",null,s[0]||(s[0]=[t(`

Core

The core asdf command list is rather small, but can facilitate many workflows.

Installation & Setup

Covered in the Getting Started guide.

Exec

shell
asdf exec <command> [args...]

Executes the command shim for the current version.

Env

shell
asdf env <command> [util]

Info

shell
asdf info

A helper command to print the OS, Shell and asdf debug information. Share this when making a bug report.

Reshim

shell
asdf reshim <name> <version>

This recreates the shims for the current version of a package. By default, shims are created by plugins during installation of a tool. Some tools like the npm CLI allow global installation of executables, for example, installing Yarn via npm install -g yarn. Since this executable was not installed via the plugin lifecycle, no shim exists for it yet. asdf reshim nodejs <version> will force recalculation of shims for any new executables, like yarn, for <version> of nodejs .

Shim-versions

shell
asdf shim-versions <command>

Lists the plugins and versions that provide shims for a command.

As an example, Node.js ships with two executables, node and npm. When many versions of the tools are installed with asdf-nodejs shim-versions can return:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

Update

asdf has a built in command to update which relies on Git (our recommended installation method). If you installed using a different method you should follow the steps for that method:

MethodLatest Stable ReleaseLatest commit on master
asdf (via Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
PacmanDownload a new PKGBUILD & rebuild
or use your preferred AUR helper

Uninstall

To uninstall asdf follow these steps:

Bash & Git
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. In your ~/.bash_profile remove the lines that source asdf.sh and the completions:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

Completions may have been configured as per Homebrew's instructions so follow their guide to find out what to remove.

  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. If you can't find any config in your ~/.bash_profile it may be in a ~/.zshrc in which case please follow the ZSH instructions.

  1. In your ~/.bash_profile remove the lines that source asdf.sh and the completions:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

Completions may have been configured as per Homebrew's instructions so follow their guide to find out what to remove.

  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. /opt/asdf-vm/asdf.sh
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source ~/.asdf/asdf.fish

and remove completions with this command:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. Remove the $HOME/.asdf dir:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source /opt/asdf-vm/asdf.fish
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Remove the $HOME/.asdf dir:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. In your ~/.zshrc remove the lines that source asdf.sh and completions:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(\${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

OR the ZSH Framework plugin if used.

  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. In your ~/.zshrc remove the lines that source asdf.sh:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force && brew autoremove
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. In your ~/.zshrc remove the lines that source asdf.sh:
shell
. /opt/asdf-vm/asdf.sh
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

That's it! 🎉

`,41)]))}const g=i(e,[["render",h]]);export{c as __pageData,g as default}; diff --git a/assets/manage_core.md.BUHLaRG4.lean.js b/assets/manage_core.md.BUHLaRG4.lean.js new file mode 100644 index 00000000..89e7d3ce --- /dev/null +++ b/assets/manage_core.md.BUHLaRG4.lean.js @@ -0,0 +1,18 @@ +import{_ as i,c as a,a2 as t,o as l}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Core","description":"","frontmatter":{},"headers":[],"relativePath":"manage/core.md","filePath":"manage/core.md","lastUpdated":1687069487000}'),e={name:"manage/core.md"};function h(n,s,p,k,d,o){return l(),a("div",null,s[0]||(s[0]=[t(`

Core

The core asdf command list is rather small, but can facilitate many workflows.

Installation & Setup

Covered in the Getting Started guide.

Exec

shell
asdf exec <command> [args...]

Executes the command shim for the current version.

Env

shell
asdf env <command> [util]

Info

shell
asdf info

A helper command to print the OS, Shell and asdf debug information. Share this when making a bug report.

Reshim

shell
asdf reshim <name> <version>

This recreates the shims for the current version of a package. By default, shims are created by plugins during installation of a tool. Some tools like the npm CLI allow global installation of executables, for example, installing Yarn via npm install -g yarn. Since this executable was not installed via the plugin lifecycle, no shim exists for it yet. asdf reshim nodejs <version> will force recalculation of shims for any new executables, like yarn, for <version> of nodejs .

Shim-versions

shell
asdf shim-versions <command>

Lists the plugins and versions that provide shims for a command.

As an example, Node.js ships with two executables, node and npm. When many versions of the tools are installed with asdf-nodejs shim-versions can return:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

Update

asdf has a built in command to update which relies on Git (our recommended installation method). If you installed using a different method you should follow the steps for that method:

MethodLatest Stable ReleaseLatest commit on master
asdf (via Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
PacmanDownload a new PKGBUILD & rebuild
or use your preferred AUR helper

Uninstall

To uninstall asdf follow these steps:

Bash & Git
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. In your ~/.bash_profile remove the lines that source asdf.sh and the completions:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

Completions may have been configured as per Homebrew's instructions so follow their guide to find out what to remove.

  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. If you can't find any config in your ~/.bash_profile it may be in a ~/.zshrc in which case please follow the ZSH instructions.

  1. In your ~/.bash_profile remove the lines that source asdf.sh and the completions:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

Completions may have been configured as per Homebrew's instructions so follow their guide to find out what to remove.

  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. /opt/asdf-vm/asdf.sh
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source ~/.asdf/asdf.fish

and remove completions with this command:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. Remove the $HOME/.asdf dir:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source /opt/asdf-vm/asdf.fish
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Remove the $HOME/.asdf dir:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. In your ~/.zshrc remove the lines that source asdf.sh and completions:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(\${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

OR the ZSH Framework plugin if used.

  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. In your ~/.zshrc remove the lines that source asdf.sh:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force && brew autoremove
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. In your ~/.zshrc remove the lines that source asdf.sh:
shell
. /opt/asdf-vm/asdf.sh
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

That's it! 🎉

`,41)]))}const g=i(e,[["render",h]]);export{c as __pageData,g as default}; diff --git a/assets/manage_plugins.md.BOsG6k4O.js b/assets/manage_plugins.md.BOsG6k4O.js new file mode 100644 index 00000000..f3e41889 --- /dev/null +++ b/assets/manage_plugins.md.BOsG6k4O.js @@ -0,0 +1,11 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const g=JSON.parse('{"title":"Plugins","description":"","frontmatter":{},"headers":[],"relativePath":"manage/plugins.md","filePath":"manage/plugins.md","lastUpdated":1687069487000}'),l={name:"manage/plugins.md"};function n(h,s,p,d,o,r){return t(),a("div",null,s[0]||(s[0]=[e(`

Plugins

Plugins are how asdf knows to handle different tools like Node.js, Ruby, Elixir etc.

See Creating Plugins for the plugin API used to support more tools.

Add

Add plugins via their Git URL:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

or via the short-name association in the plugins repository:

shell
asdf plugin add <name>
+# asdf plugin add erlang

Recommendation

Prefer the longer git-url method as it is independent of the short-name repo.

List Installed

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

List All in Short-name Repository

shell
asdf plugin list all

See Plugins Shortname Index for the entire short-name list of plugins.

Update

shell
asdf plugin update --all

If you want to update a specific package, just say so.

shell
asdf plugin update <name>
+# asdf plugin update erlang

This update will fetch the latest commit on the default branch of the origin of the plugin repository. Versioned plugins and updates are currently being developed (#916)

Remove

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

Removing a plugin will remove all installations of the tool made with the plugin. This can be used as a shorthand for cleaning/pruning many unused versions of a tool.

Syncing the asdf Short-name Repository

The short-name repo is synced to your local machine and periodically refreshed. This method to determine a sync is as follows:

  • sync events are triggered by commands:
    • asdf plugin add <name>
    • asdf plugin list all
  • if configuration option disable_plugin_short_name_repository is set to yes, then sync is aborted early. See the asdf config docs for more.
  • if there has not been a synchronization in the last X minutes then the sync will occur.
    • X defaults to 60, but can be configured in your .asdfrc via the plugin_repository_last_check_duration option. See the asdf config docs for more.
`,26)]))}const c=i(l,[["render",n]]);export{g as __pageData,c as default}; diff --git a/assets/manage_plugins.md.BOsG6k4O.lean.js b/assets/manage_plugins.md.BOsG6k4O.lean.js new file mode 100644 index 00000000..f3e41889 --- /dev/null +++ b/assets/manage_plugins.md.BOsG6k4O.lean.js @@ -0,0 +1,11 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const g=JSON.parse('{"title":"Plugins","description":"","frontmatter":{},"headers":[],"relativePath":"manage/plugins.md","filePath":"manage/plugins.md","lastUpdated":1687069487000}'),l={name:"manage/plugins.md"};function n(h,s,p,d,o,r){return t(),a("div",null,s[0]||(s[0]=[e(`

Plugins

Plugins are how asdf knows to handle different tools like Node.js, Ruby, Elixir etc.

See Creating Plugins for the plugin API used to support more tools.

Add

Add plugins via their Git URL:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

or via the short-name association in the plugins repository:

shell
asdf plugin add <name>
+# asdf plugin add erlang

Recommendation

Prefer the longer git-url method as it is independent of the short-name repo.

List Installed

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

List All in Short-name Repository

shell
asdf plugin list all

See Plugins Shortname Index for the entire short-name list of plugins.

Update

shell
asdf plugin update --all

If you want to update a specific package, just say so.

shell
asdf plugin update <name>
+# asdf plugin update erlang

This update will fetch the latest commit on the default branch of the origin of the plugin repository. Versioned plugins and updates are currently being developed (#916)

Remove

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

Removing a plugin will remove all installations of the tool made with the plugin. This can be used as a shorthand for cleaning/pruning many unused versions of a tool.

Syncing the asdf Short-name Repository

The short-name repo is synced to your local machine and periodically refreshed. This method to determine a sync is as follows:

  • sync events are triggered by commands:
    • asdf plugin add <name>
    • asdf plugin list all
  • if configuration option disable_plugin_short_name_repository is set to yes, then sync is aborted early. See the asdf config docs for more.
  • if there has not been a synchronization in the last X minutes then the sync will occur.
    • X defaults to 60, but can be configured in your .asdfrc via the plugin_repository_last_check_duration option. See the asdf config docs for more.
`,26)]))}const c=i(l,[["render",n]]);export{g as __pageData,c as default}; diff --git a/assets/manage_versions.md.CAp-N8AZ.js b/assets/manage_versions.md.CAp-N8AZ.js new file mode 100644 index 00000000..669d576f --- /dev/null +++ b/assets/manage_versions.md.CAp-N8AZ.js @@ -0,0 +1,30 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const g=JSON.parse('{"title":"Versions","description":"","frontmatter":{},"headers":[],"relativePath":"manage/versions.md","filePath":"manage/versions.md","lastUpdated":1687069487000}'),n={name:"manage/versions.md"};function l(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[e(`

Versions

Install Version

shell
asdf install <name> <version>
+# asdf install erlang 17.3

If a plugin supports downloading & compiling from source, you can specify ref:foo where foo is a specific branch, tag, or commit. You'll need to use the same name and reference when uninstalling too.

Install Latest Stable Version

shell
asdf install <name> latest
+# asdf install erlang latest

Install latest stable version that begins with a given string.

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

List Installed Versions

shell
asdf list <name>
+# asdf list erlang

Filter versions to those that begin with a given string.

shell
asdf list <name> <version>
+# asdf list erlang 17

List All Available Versions

shell
asdf list all <name>
+# asdf list all erlang

Filter versions to those that begin with a given string.

shell
asdf list all <name> <version>
+# asdf list all erlang 17

Show Latest Stable Version

shell
asdf latest <name>
+# asdf latest erlang

Show latest stable version that begins with a given string.

shell
asdf latest <name> <version>
+# asdf latest erlang 17

Set Current Version

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global writes the version to $HOME/.tool-versions.

shell set the version to an environment variable named ASDF_\${TOOL}_VERSION, for the current shell session only.

local writes the version to $PWD/.tool-versions, creating it if needed.

See the .tool-versions file in the Configuration section for details.

Alternatively

If you want to set a version only for the current shell session or for executing just a command under a particular tool version, you can set an environment variable like ASDF_\${TOOL}_VERSION.

The following example runs tests on an Elixir project with version 1.4.0. The version format is the same supported by the .tool-versions file.

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

Fallback to System Version

To use the system version of tool <name> instead of an asdf managed version you can set the version for the tool to system.

Set system with either global, local or shell as outlined in Set Current Version section above.

shell
asdf local <name> system
+# asdf local python system

View Current Version

shell
asdf current
+# asdf current
+# erlang          17.3          /Users/kim/.tool-versions
+# nodejs          6.11.5        /Users/kim/cool-node-project/.tool-versions
+
+asdf current <name>
+# asdf current erlang
+# erlang          17.3          /Users/kim/.tool-versions

Uninstall Version

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

When asdf installs a package it creates shims for every executable program in that package in a $ASDF_DATA_DIR/shims directory (default ~/.asdf/shims). This directory being on the $PATH (by means of asdf.sh, asdf.fish, etc) is how the installed programs are made available in the environment.

The shims themselves are really simple wrappers that exec a helper program asdf exec passing it the name of the plugin and path to the executable in the installed package that the shim is wrapping.

The asdf exec helper determines the version of the package to use (as specified in .tool-versions file, selected by asdf local ... or asdf global ...), the final path to the executable in the package installation directory (this can be manipulated by the exec-path callback in the plugin) and the environment to execute in (also provided by the plugin - exec-env script), and finally it executes it.

Note

Because this system uses exec calls, any scripts in the package that are meant to be sourced by the shell instead of executed need to be accessed directly instead of via the shim wrapper. The two asdf commands: which and where can help with this by returning the path to the installed package:

shell
# returns path to main executable in current version
+source $(asdf which \${PLUGIN})/../script.sh
+
+# returns path to the package installation directory
+source $(asdf where \${PLUGIN})/bin/script.sh

By-passing asdf shims

If for some reason you want to by-pass asdf shims or want your environment variables automatically set upon entering your project's directory, the asdf-direnv plugin can be helpful. Be sure to check its README for more details.

`,45)]))}const c=i(n,[["render",l]]);export{g as __pageData,c as default}; diff --git a/assets/manage_versions.md.CAp-N8AZ.lean.js b/assets/manage_versions.md.CAp-N8AZ.lean.js new file mode 100644 index 00000000..669d576f --- /dev/null +++ b/assets/manage_versions.md.CAp-N8AZ.lean.js @@ -0,0 +1,30 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const g=JSON.parse('{"title":"Versions","description":"","frontmatter":{},"headers":[],"relativePath":"manage/versions.md","filePath":"manage/versions.md","lastUpdated":1687069487000}'),n={name:"manage/versions.md"};function l(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[e(`

Versions

Install Version

shell
asdf install <name> <version>
+# asdf install erlang 17.3

If a plugin supports downloading & compiling from source, you can specify ref:foo where foo is a specific branch, tag, or commit. You'll need to use the same name and reference when uninstalling too.

Install Latest Stable Version

shell
asdf install <name> latest
+# asdf install erlang latest

Install latest stable version that begins with a given string.

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

List Installed Versions

shell
asdf list <name>
+# asdf list erlang

Filter versions to those that begin with a given string.

shell
asdf list <name> <version>
+# asdf list erlang 17

List All Available Versions

shell
asdf list all <name>
+# asdf list all erlang

Filter versions to those that begin with a given string.

shell
asdf list all <name> <version>
+# asdf list all erlang 17

Show Latest Stable Version

shell
asdf latest <name>
+# asdf latest erlang

Show latest stable version that begins with a given string.

shell
asdf latest <name> <version>
+# asdf latest erlang 17

Set Current Version

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global writes the version to $HOME/.tool-versions.

shell set the version to an environment variable named ASDF_\${TOOL}_VERSION, for the current shell session only.

local writes the version to $PWD/.tool-versions, creating it if needed.

See the .tool-versions file in the Configuration section for details.

Alternatively

If you want to set a version only for the current shell session or for executing just a command under a particular tool version, you can set an environment variable like ASDF_\${TOOL}_VERSION.

The following example runs tests on an Elixir project with version 1.4.0. The version format is the same supported by the .tool-versions file.

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

Fallback to System Version

To use the system version of tool <name> instead of an asdf managed version you can set the version for the tool to system.

Set system with either global, local or shell as outlined in Set Current Version section above.

shell
asdf local <name> system
+# asdf local python system

View Current Version

shell
asdf current
+# asdf current
+# erlang          17.3          /Users/kim/.tool-versions
+# nodejs          6.11.5        /Users/kim/cool-node-project/.tool-versions
+
+asdf current <name>
+# asdf current erlang
+# erlang          17.3          /Users/kim/.tool-versions

Uninstall Version

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

When asdf installs a package it creates shims for every executable program in that package in a $ASDF_DATA_DIR/shims directory (default ~/.asdf/shims). This directory being on the $PATH (by means of asdf.sh, asdf.fish, etc) is how the installed programs are made available in the environment.

The shims themselves are really simple wrappers that exec a helper program asdf exec passing it the name of the plugin and path to the executable in the installed package that the shim is wrapping.

The asdf exec helper determines the version of the package to use (as specified in .tool-versions file, selected by asdf local ... or asdf global ...), the final path to the executable in the package installation directory (this can be manipulated by the exec-path callback in the plugin) and the environment to execute in (also provided by the plugin - exec-env script), and finally it executes it.

Note

Because this system uses exec calls, any scripts in the package that are meant to be sourced by the shell instead of executed need to be accessed directly instead of via the shim wrapper. The two asdf commands: which and where can help with this by returning the path to the installed package:

shell
# returns path to main executable in current version
+source $(asdf which \${PLUGIN})/../script.sh
+
+# returns path to the package installation directory
+source $(asdf where \${PLUGIN})/bin/script.sh

By-passing asdf shims

If for some reason you want to by-pass asdf shims or want your environment variables automatically set upon entering your project's directory, the asdf-direnv plugin can be helpful. Be sure to check its README for more details.

`,45)]))}const c=i(n,[["render",l]]);export{g as __pageData,c as default}; diff --git a/assets/more_community-projects.md.B9Jb3CEv.js b/assets/more_community-projects.md.B9Jb3CEv.js new file mode 100644 index 00000000..25cd5d2b --- /dev/null +++ b/assets/more_community-projects.md.B9Jb3CEv.js @@ -0,0 +1 @@ +import{_ as t,c as o,a2 as r,o as a}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"Community Projects","description":"","frontmatter":{},"headers":[],"relativePath":"more/community-projects.md","filePath":"more/community-projects.md","lastUpdated":1687069487000}'),s={name:"more/community-projects.md"};function c(n,e,i,m,d,l){return a(),o("div",null,e[0]||(e[0]=[r('

Community Projects

Here are some community projects related to asdf:

Note

asdf core team do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

',4)]))}const f=t(s,[["render",c]]);export{u as __pageData,f as default}; diff --git a/assets/more_community-projects.md.B9Jb3CEv.lean.js b/assets/more_community-projects.md.B9Jb3CEv.lean.js new file mode 100644 index 00000000..25cd5d2b --- /dev/null +++ b/assets/more_community-projects.md.B9Jb3CEv.lean.js @@ -0,0 +1 @@ +import{_ as t,c as o,a2 as r,o as a}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"Community Projects","description":"","frontmatter":{},"headers":[],"relativePath":"more/community-projects.md","filePath":"more/community-projects.md","lastUpdated":1687069487000}'),s={name:"more/community-projects.md"};function c(n,e,i,m,d,l){return a(),o("div",null,e[0]||(e[0]=[r('

Community Projects

Here are some community projects related to asdf:

Note

asdf core team do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

',4)]))}const f=t(s,[["render",c]]);export{u as __pageData,f as default}; diff --git a/assets/more_faq.md.BjmX8xoH.js b/assets/more_faq.md.BjmX8xoH.js new file mode 100644 index 00000000..6abd27f8 --- /dev/null +++ b/assets/more_faq.md.BjmX8xoH.js @@ -0,0 +1 @@ +import{_ as o,c as t,a2 as a,o as n}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"FAQ","description":"","frontmatter":{},"headers":[],"relativePath":"more/faq.md","filePath":"more/faq.md","lastUpdated":1671778129000}'),r={name:"more/faq.md"};function s(i,e,d,l,c,h){return n(),t("div",null,e[0]||(e[0]=[a('

FAQ

Here are some common questions regarding asdf.

WSL1 support?

WSL1 (Windows Subsystem for Linux 1) is not officially supported. Some aspects of asdf may not work properly. We do not intend to add official support for WSL1.

WSL2 support?

WSL2 (Windows Subsystem for Linux 2) should work using the setup & dependency instructions for you chosen WSL distro.

Importantly, WSL2 is only expected to work properly when the current working directory is a Unix drive and not a bound Windows drive.

We intend to run out test suite on WSL2 when host runner support is available on GitHub Actions, currently this does not appear to be the case.

Newly installed executable not running?

I just npm install -g yarn, but cannot execute yarn. What gives?

asdf uses shims to manage executables. Those installed by plugins have shims automatically created, whereas installing executables via an asdf managed tool will require you to notify asdf of the need to create shims. In this instance, to create a shim for Yarn. See the asdf reshim command docs.

Shell not detecting newly installed shims?

If asdf reshim is not resolving your issue, then it is most-likely due to the sourcing of asdf.sh or asdf.fish not being at the BOTTOM of your Shell config file (.bash_profile, .zshrc, config.fish etc). It needs to be sourced AFTER you have set your $PATH and AFTER you have sourced your framework (oh-my-zsh etc) if any.

',13)]))}const f=o(r,[["render",s]]);export{p as __pageData,f as default}; diff --git a/assets/more_faq.md.BjmX8xoH.lean.js b/assets/more_faq.md.BjmX8xoH.lean.js new file mode 100644 index 00000000..6abd27f8 --- /dev/null +++ b/assets/more_faq.md.BjmX8xoH.lean.js @@ -0,0 +1 @@ +import{_ as o,c as t,a2 as a,o as n}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"FAQ","description":"","frontmatter":{},"headers":[],"relativePath":"more/faq.md","filePath":"more/faq.md","lastUpdated":1671778129000}'),r={name:"more/faq.md"};function s(i,e,d,l,c,h){return n(),t("div",null,e[0]||(e[0]=[a('

FAQ

Here are some common questions regarding asdf.

WSL1 support?

WSL1 (Windows Subsystem for Linux 1) is not officially supported. Some aspects of asdf may not work properly. We do not intend to add official support for WSL1.

WSL2 support?

WSL2 (Windows Subsystem for Linux 2) should work using the setup & dependency instructions for you chosen WSL distro.

Importantly, WSL2 is only expected to work properly when the current working directory is a Unix drive and not a bound Windows drive.

We intend to run out test suite on WSL2 when host runner support is available on GitHub Actions, currently this does not appear to be the case.

Newly installed executable not running?

I just npm install -g yarn, but cannot execute yarn. What gives?

asdf uses shims to manage executables. Those installed by plugins have shims automatically created, whereas installing executables via an asdf managed tool will require you to notify asdf of the need to create shims. In this instance, to create a shim for Yarn. See the asdf reshim command docs.

Shell not detecting newly installed shims?

If asdf reshim is not resolving your issue, then it is most-likely due to the sourcing of asdf.sh or asdf.fish not being at the BOTTOM of your Shell config file (.bash_profile, .zshrc, config.fish etc). It needs to be sourced AFTER you have set your $PATH and AFTER you have sourced your framework (oh-my-zsh etc) if any.

',13)]))}const f=o(r,[["render",s]]);export{p as __pageData,f as default}; diff --git a/assets/more_thanks.md.C4xnnmzS.js b/assets/more_thanks.md.C4xnnmzS.js new file mode 100644 index 00000000..3e4b73f1 --- /dev/null +++ b/assets/more_thanks.md.C4xnnmzS.js @@ -0,0 +1 @@ +import{_ as a,c as t,a2 as r,o}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"Thanks","description":"","frontmatter":{},"headers":[],"relativePath":"more/thanks.md","filePath":"more/thanks.md","lastUpdated":1671778129000}'),s={name:"more/thanks.md"};function n(h,e,i,l,u,c){return o(),t("div",null,e[0]||(e[0]=[r('

Thanks

Thank you page to the asdf authors & contributors!

Credits

Me (@HashNuke), High-fever, cold, cough.

Copyright 2014 to the end of time (MIT License)

Maintainers

Contributors

See the list of contributors 🙏 on GitHub

',9)]))}const b=a(s,[["render",n]]);export{f as __pageData,b as default}; diff --git a/assets/more_thanks.md.C4xnnmzS.lean.js b/assets/more_thanks.md.C4xnnmzS.lean.js new file mode 100644 index 00000000..3e4b73f1 --- /dev/null +++ b/assets/more_thanks.md.C4xnnmzS.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,a2 as r,o}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"Thanks","description":"","frontmatter":{},"headers":[],"relativePath":"more/thanks.md","filePath":"more/thanks.md","lastUpdated":1671778129000}'),s={name:"more/thanks.md"};function n(h,e,i,l,u,c){return o(),t("div",null,e[0]||(e[0]=[r('

Thanks

Thank you page to the asdf authors & contributors!

Credits

Me (@HashNuke), High-fever, cold, cough.

Copyright 2014 to the end of time (MIT License)

Maintainers

Contributors

See the list of contributors 🙏 on GitHub

',9)]))}const b=a(s,[["render",n]]);export{f as __pageData,b as default}; diff --git a/assets/plugins_create.md.Ba4Peca-.js b/assets/plugins_create.md.Ba4Peca-.js new file mode 100644 index 00000000..0a519495 --- /dev/null +++ b/assets/plugins_create.md.Ba4Peca-.js @@ -0,0 +1,35 @@ +import{_ as n,c as o,a2 as l,j as s,a as e,G as a,B as p,o as d}from"./chunks/framework.C9NVOr0y.js";const T=JSON.parse('{"title":"Create a Plugin","description":"","frontmatter":{},"headers":[],"relativePath":"plugins/create.md","filePath":"plugins/create.md","lastUpdated":1704804447000}'),r={name:"plugins/create.md"},h={tabindex:"0"},c={style:{"text-align":"left"}},g={style:{"text-align":"left"}},u={style:{"text-align":"left"}},k={style:{"text-align":"left"}},b={id:"bin-list-all",tabindex:"-1"},m={id:"bin-download",tabindex:"-1"},f={id:"bin-install",tabindex:"-1"},y={id:"bin-latest-stable",tabindex:"-1"},F={id:"extension-commands-for-asdf-cli",tabindex:"-1"},v={id:"custom-shim-templates",tabindex:"-1"};function E(A,i,C,x,_,S){const t=p("Badge");return d(),o("div",null,[i[48]||(i[48]=l('

Create a Plugin

A plugin is a Git repo with some executable scripts to support versioning a language / tool. These scripts are run by asdf using specific commands to support features such as asdf list-all <name>, asdf install <name> <version> etc.

Quickstart

There are two options to get started with creating your own plugin:

  1. use the asdf-vm/asdf-plugin-template repository to generate a plugin repo (named asdf-<tool_name>) with default scripts implemented. Once generated, clone the repo and run the setup.bash script to interactively update the template.
  2. start your own repo called asdf-<tool_name> and implement the required scripts as listed in the documentation below.

Golden Rules for Plugin Scripts

  • scripts should NOT call other asdf commands
  • keep your dependency list of Shell tools/commands small
  • avoid non-portable tools or command flags. For example, sort -V. See our asdf core list of banned commands

Scripts Overview

The full list of scripts callable from asdf.

',9)),s("table",h,[i[25]||(i[25]=s("thead",null,[s("tr",null,[s("th",{style:{"text-align":"left"}},"Script"),s("th",{style:{"text-align":"left"}},"Description")])],-1)),s("tbody",null,[s("tr",null,[s("td",c,[i[0]||(i[0]=s("a",{href:"#bin-list-all"},"bin/list-all",-1)),i[1]||(i[1]=e()),a(t,{type:"tip",text:"required",vertical:"middle"})]),i[2]||(i[2]=s("td",{style:{"text-align":"left"}},"List all installable versions",-1))]),s("tr",null,[s("td",g,[i[3]||(i[3]=s("a",{href:"#bin-download"},"bin/download",-1)),i[4]||(i[4]=e()),a(t,{type:"tip",text:"required",vertical:"middle"})]),i[5]||(i[5]=s("td",{style:{"text-align":"left"}},"Download source code or binary for the specified version",-1))]),s("tr",null,[s("td",u,[i[6]||(i[6]=s("a",{href:"#bin-install"},"bin/install",-1)),i[7]||(i[7]=e()),a(t,{type:"tip",text:"required",vertical:"middle"})]),i[8]||(i[8]=s("td",{style:{"text-align":"left"}},"Installs the specified version",-1))]),s("tr",null,[s("td",k,[i[9]||(i[9]=s("a",{href:"#bin-latest-stable"},"bin/latest-stable",-1)),i[10]||(i[10]=e()),a(t,{type:"warning",text:"recommended",vertical:"middle"})]),i[11]||(i[11]=s("td",{style:{"text-align":"left"}},"List the latest stable version of the specified tool",-1))]),i[12]||(i[12]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-help.overview"},"bin/help.overview")]),s("td",{style:{"text-align":"left"}},"Output a general description about the plugin & tool")],-1)),i[13]||(i[13]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-help.deps"},"bin/help.deps")]),s("td",{style:{"text-align":"left"}},"Output a list of dependencies per Operating System")],-1)),i[14]||(i[14]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-help.config"},"bin/help.config")]),s("td",{style:{"text-align":"left"}},"Output plugin or tool configuration information")],-1)),i[15]||(i[15]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-help.links"},"bin/help.links")]),s("td",{style:{"text-align":"left"}},"Output a list of links for the plugin or tool")],-1)),i[16]||(i[16]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-list-bin-paths"},"bin/list-bin-paths")]),s("td",{style:{"text-align":"left"}},"List relative paths to directories with binaries to create shims")],-1)),i[17]||(i[17]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-exec-env"},"bin/exec-env")]),s("td",{style:{"text-align":"left"}},"Prepare the environment for running the binaries")],-1)),i[18]||(i[18]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-exec-path"},"bin/exec-path")]),s("td",{style:{"text-align":"left"}},"Output the executable path for a version of a tool")],-1)),i[19]||(i[19]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-uninstall"},"bin/uninstall")]),s("td",{style:{"text-align":"left"}},"Uninstall a specific version of a tool")],-1)),i[20]||(i[20]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-list-legacy-filenames"},"bin/list-legacy-filenames")]),s("td",{style:{"text-align":"left"}},[e("Output filenames of legacy version files: "),s("code",null,".ruby-version")])],-1)),i[21]||(i[21]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-parse-legacy-file"},"bin/parse-legacy-file")]),s("td",{style:{"text-align":"left"}},"Custom parser for legacy version files")],-1)),i[22]||(i[22]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-post-plugin-add"},"bin/post-plugin-add")]),s("td",{style:{"text-align":"left"}},"Hook to execute after a plugin has been added")],-1)),i[23]||(i[23]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-post-plugin-update"},"bin/post-plugin-update")]),s("td",{style:{"text-align":"left"}},"Hook to execute after a plugin has been updated")],-1)),i[24]||(i[24]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-pre-plugin-remove"},"bin/pre-plugin-remove")]),s("td",{style:{"text-align":"left"}},"Hook to execute before a plugin is removed")],-1))])]),i[49]||(i[49]=l('

To see which commands invoke which scripts, see the detailed documentation for each script.

Environment Variables Overview

The full list of Environment Variables used throughout all scripts.

Environment VariablesDescription
ASDF_INSTALL_TYPEversion or ref
ASDF_INSTALL_VERSIONfull version number or Git Ref depending on ASDF_INSTALL_TYPE
ASDF_INSTALL_PATHthe path to where the tool should, or has been installed
ASDF_CONCURRENCYthe number of cores to use when compiling the source code. Useful for setting make -j
ASDF_DOWNLOAD_PATHthe path to where the source code or binary was downloaded to by bin/download
ASDF_PLUGIN_PATHthe path the plugin was installed
ASDF_PLUGIN_SOURCE_URLthe source URL of the plugin
ASDF_PLUGIN_PREV_REFprevous git-ref of the plugin repo
ASDF_PLUGIN_POST_REFupdated git-ref of the plugin repo
ASDF_CMD_FILEresolves to the full path of the file being sourced

NOTE

Not all environment variables are available in all scripts. Check the documentation for each script below to see which env vars are available to it.

Required Scripts

',6)),s("h3",b,[i[26]||(i[26]=s("code",null,"bin/list-all",-1)),i[27]||(i[27]=e()),a(t,{type:"tip",text:"required",vertical:"middle"}),i[28]||(i[28]=e()),i[29]||(i[29]=s("a",{class:"header-anchor",href:"#bin-list-all","aria-label":'Permalink to "`bin/list-all` "'},"​",-1))]),i[50]||(i[50]=l('

Description

List all installable versions.

Output Format

Must print a string with a space-separated list of versions. For example:

txt
1.0.1 1.0.2 1.3.0 1.4

Newest version should be last.

asdf core will print each version on its own line, potentially pushing some versions offscreen.

Sorting

If versions are being pulled from releases page on a website it's recommended to leave the versions in the provided order as they are often already in the correct order. If they are in reverse order piping them through tac should suffice.

If sorting is unavoidable, sort -V is not portable, so we suggest either:

Environment Variables available to script

No environment variables are provided to this script.

Commands that invoke this script

  • asdf list all <name> [version]
  • asdf list all nodejs: lists all versions as returned by this script, one on each line.
  • asdf list all nodejs 18: lists all versions as returned by this script, one on each line, with a filter matching any version beginning with 18 applied.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/list-all"

',19)),s("h3",m,[i[30]||(i[30]=s("code",null,"bin/download",-1)),i[31]||(i[31]=e()),a(t,{type:"tip",text:"required",vertical:"middle"}),i[32]||(i[32]=e()),i[33]||(i[33]=s("a",{class:"header-anchor",href:"#bin-download","aria-label":'Permalink to "`bin/download` "'},"​",-1))]),i[51]||(i[51]=l('

Description

Download the source code or binary for a specific version of a tool to a specified location.

Implementation Details

  • The script must download the source or binary to the directory specified by ASDF_DOWNLOAD_PATH.
  • Only the decompressed source code or binary should be placed in the ASDF_DOWNLOAD_PATH directory.
  • On failure, no files should be placed in ASDF_DOWNLOAD_PATH.
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Legacy Plugins

Though this script is marked as required for all plugins, it is optional for "legacy" plugins which predate its introduction.

If this script is absent, asdf will assume that the bin/install script is present and will download and install the version.

All plugins must include this script as support for legacy plugins will eventually be removed.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.
  • ASDF_DOWNLOAD_PATH: The path to where the source code or binary was downloaded to.

Commands that invoke this script

  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: downloads the source code or binary for Node.js version 18.0.0 and places it in the ASDF_DOWNLOAD_PATH directory. Then runs the bin/install script.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}"/bin/download

',16)),s("h3",f,[i[34]||(i[34]=s("code",null,"bin/install",-1)),i[35]||(i[35]=e()),a(t,{type:"tip",text:"required",vertical:"middle"}),i[36]||(i[36]=e()),i[37]||(i[37]=s("a",{class:"header-anchor",href:"#bin-install","aria-label":'Permalink to "`bin/install` "'},"​",-1))]),i[52]||(i[52]=l('

Description

Install a specific version of a tool to a specified location.

Implementation Details

  • The script should install the specified version in the path ASDF_INSTALL_PATH.
  • Shims will be created by default for any files in $ASDF_INSTALL_PATH/bin. This behaviour can be customised with the optional bin/list-bin-paths script.
  • Success should exit with 0.
  • Failure should exit with a non-zero status.
  • To avoid TOCTOU (Time-of-Check-to-Time-of-Use) issues, ensure the script only places files in ASDF_INSTALL_PATH once the build and installation of the tool is deemed a success.

Legacy Plugins

If the bin/download script is absent, this script should download and install the specified version.

For compatibility with versions of the asdf core earlier than 0.7._ and newer than 0.8._, check for the presence of the ASDF_DOWNLOAD_PATH environment variable. If set, assume the bin/download script already downloaded the version, else download the source code in the bin/install script.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.
  • ASDF_CONCURRENCY: The number of cores to use when compiling source code. Useful for setting flags like make -j.
  • ASDF_DOWNLOAD_PATH: The path where the source code or binary was downloaded to.

Commands that invoke this script

  • asdf install
  • asdf install <tool>
  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: installs Node.js version 18.0.0 in the ASDF_INSTALL_PATH directory.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}"/bin/install

Optional Scripts

',15)),s("h3",y,[i[38]||(i[38]=s("code",null,"bin/latest-stable",-1)),i[39]||(i[39]=e()),a(t,{type:"warning",text:"recommended",vertical:"middle"}),i[40]||(i[40]=e()),i[41]||(i[41]=s("a",{class:"header-anchor",href:"#bin-latest-stable","aria-label":'Permalink to "`bin/latest-stable` "'},"​",-1))]),i[53]||(i[53]=l('

Description

Determine the latest stable version of a tool. If absent, the asdf core will tail the bin/list-all output which may be undesirable.

Implementation Details

  • The script should print the latest stable version of the tool to stdout.
  • Non-stable or release candidate versions should be omitted.
  • A filter query is provided as the first argument to the script. This should be used to filter the output by version number or tool provider.
    • For instance, the output of asdf list all ruby from the ruby plugin lists versions of Ruby from many providers: jruby, rbx & truffleruby amongst others. The user provided filter could be used by the plugin to filter the semver versions and/or provider.
      > asdf latest ruby\n3.2.2\n> asdf latest ruby 2\n2.7.8\n> asdf latest ruby truffleruby\ntruffleruby+graalvm-22.3.1
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf global <tool> latest: set the global version of a tool to the latest stable version for that tool.
  • asdf local <name> latest: set the local version of a tool to the latest stable version for that tool.
  • asdf install <tool> latest: installs the latest version of a tool.
  • asdf latest <tool> [<version>]: outputs the latest version of a tool based on the optional filter.
  • asdf latest --all: outputs the latest version of all tools managed by asdf and whether they are installed.

Call signature from asdf core

The script should accept a single argument, the filter query.

bash
"${plugin_path}"/bin/latest-stable "$query"

bin/help.overview

Description

Output a general description about the plugin and the tool being managed.

Implementation Details

  • This script is required for any help output to be displayed for the plugin.
  • No heading should be printed as asdf core will print headings.
  • Output may be free-form text but ideally only one short paragraph.
  • Must not output any information that is already covered in the core asdf-vm documentation.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.overview

bin/help.deps

Description

Output the list of dependencies tailored to the operating system. One dependency per line.

bash
git\ncurl\nsed

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.deps

bin/help.config

Description

Output any required or optional configuration for the plugin and tool. For example, describe any environment variables or other flags needed to install or compile the tool.

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • Output can be free-form text.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.config

Description

Output a list of links relevant to the plugin and tool. One link per line.

bash
Git Repository:	https://github.com/vlang/v\nDocumentation:	https://vlang.io

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • One link per line.
  • Format must be either:
    • <title>: <link>
    • or just <link>
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.links

bin/list-bin-paths

Description

List directories containing executables for the specified version of the tool.

Implementation Details

  • If this script is not present, asdf will look for binaries in the "${ASDF_INSTALL_PATH}"/bin directory & create shims for those.
  • Output a space-separated list of paths containing executables.
  • Paths must be relative to ASDF_INSTALL_PATH. Example output would be:
bash
bin tools veggies

This will instruct asdf to create shims for the files in:

  • "${ASDF_INSTALL_PATH}"/bin
  • "${ASDF_INSTALL_PATH}"/tools
  • "${ASDF_INSTALL_PATH}"/veggies

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf install <tool> [version]: initially create shims for binaries.
  • asdf reshim <tool> <version>: recreate shims for binaries.

Call signature from asdf core

bash
"${plugin_path}/bin/list-bin-paths"

bin/exec-env

Description

Prepare the environment before executing the shims for the binaries for the tool.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf which <command>: Display the path to an executable
  • asdf exec <command> [args...]: Executes the command shim for current version
  • asdf env <command> [util]: Runs util (default: env) inside the environment used for command shim execution.

Call signature from asdf core

bash
"${plugin_path}/bin/exec-env"

bin/exec-path

Get the executable path for the specified version of the tool. Must print a string with the relative executable path. This allows the plugin to conditionally override the shim's specified executable path, otherwise return the default path specified by the shim.

Description

Get the executable path for the specified version of the tool.

Implementation Details

  • Must print a string with the relative executable path.
  • Conditionally override the shim's specified executable path, otherwise return the default path specified by the shim.
shell
Usage:\n  plugin/bin/exec-path <install-path> <command> <executable-path>\n\nExample Call:\n  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"\n\nOutput:\n  bin/foox

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf which <command>: Display the path to an executable
  • asdf exec <command> [args...]: Executes the command shim for current version
  • asdf env <command> [util]: Runs util (default: env) inside the environment used for command shim execution.

Call signature from asdf core

bash
"${plugin_path}/bin/exec-path" "$install_path" "$cmd" "$relative_path"

bin/uninstall

Description

Uninstall the provided version of a tool.

Output Format

Output should be sent to stdout or stderr as appropriate for the user. No output is read by subsequent execution in the core.

Environment Variables available to script

No environment variables are provided to this script.

Commands that invoke this script

  • asdf list all <name> <version>
  • asdf uninstall nodejs 18.15.0: Uninstalls the version 18.15.0 of nodejs, removing all shims including those installed global with npm i -g

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/uninstall"

bin/list-legacy-filenames

Description

List legacy configuration filenames for determining the specified version of the tool.

Implementation Details

  • Output a space-separated list of filenames.
    bash
    .ruby-version .rvmrc
  • Only applies for users who have enabled the legacy_version_file option in their "${HOME}"/.asdfrc.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

Any command which reads a tool version.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/list-legacy-filenames"

bin/parse-legacy-file

Description

Parse the legacy file found by asdf to determine the version of the tool. Useful to extract version numbers from files like JavaScript's package.json or Golangs go.mod.

Implementation Details

  • If not present, asdf will simply cat the legacy file to determine the version.
  • Should be deterministic and always return the same exact version:
    • when parsing the same legacy file.
    • regardless of what is installed on the machine or whether the legacy version is valid or complete. Some legacy file formats may not be suitable.
  • Output a single line with the version:
    bash
    1.2.3

Environment Variables available to script

No environment variables specifically set before this script is called.

Commands that invoke this script

Any command which reads a tool version.

Call signature from asdf core

The script should accept a single argument, the path to the legacy file for reading its contents.

bash
"${plugin_path}/bin/parse-legacy-file" "$file_path"

bin/post-plugin-add

Description

Execute this callback script after the plugin has been added to asdf with asdf plugin add <tool>.

See also the related command hooks:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.
  • ASDF_PLUGIN_SOURCE_URL: URL of the plugin source. Can be a local directory path.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/post-plugin-add"

bin/post-plugin-update

Description

Execute this callback script after asdf has downloaded the update plugin with asdf plugin update <tool> [<git-ref>].

See also the related command hooks:

  • pre_asdf_plugin_update
  • pre_asdf_plugin_update_${plugin_name}
  • post_asdf_plugin_update
  • post_asdf_plugin_update_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.
  • ASDF_PLUGIN_PREV_REF: the plugin's previous git-ref
  • ASDF_PLUGIN_POST_REF: the plugin's updated git-ref

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/post-plugin-update"

bin/pre-plugin-remove

Description

Execute this callback script before asdf has removed the plugin with asdf plugin remove <tool>.

See also the related command hooks:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/pre-plugin-remove"
',172)),s("h2",F,[i[42]||(i[42]=e("Extension Commands for asdf CLI ")),a(t,{type:"danger",text:"advanced",vertical:"middle"}),i[43]||(i[43]=e()),i[44]||(i[44]=s("a",{class:"header-anchor",href:"#extension-commands-for-asdf-cli","aria-label":'Permalink to "Extension Commands for asdf CLI "'},"​",-1))]),i[54]||(i[54]=l('

It's possible for plugins to define new asdf commands by providing lib/commands/command*.bash scripts or executables that will be callable using the asdf command line interface by using the plugin name as a subcommand.

For example, suppose a foo plugin has:

shell
foo/\n  lib/commands/\n    command.bash\n    command-bat.bash\n    command-bat-man.bash\n    command-help.bash

Users can now execute:

shell
$ asdf foo         # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash`\n$ asdf foo bar     # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar`\n$ asdf foo help    # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash`\n$ asdf foo bat man # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash`\n$ asdf foo bat baz # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz`

Plugin authors can use this feature to provide utilities related to their tools, or even create plugins that are just new command extensions of asdf itself.

If the executable bit is set, the script is executed, replacing the asdf execution.

If the executable bit is not set, asdf will source the scripts as Bash scripts.

$ASDF_CMD_FILE resolves to the full path of the file being sourced.

haxe is a great example of a plugin which uses this feature. It provides the asdf haxe neko-dylibs-link to fix an issue where Haxe executables expect to find dynamic libraries relative to the executable directory.

Be sure to list your asdf Extension Commands in your plugins README.

',11)),s("h2",v,[i[45]||(i[45]=e("Custom Shim Templates ")),a(t,{type:"danger",text:"advanced",vertical:"middle"}),i[46]||(i[46]=e()),i[47]||(i[47]=s("a",{class:"header-anchor",href:"#custom-shim-templates","aria-label":'Permalink to "Custom Shim Templates "'},"​",-1))]),i[55]||(i[55]=l(`

WARNING

Please only use if absolutely required

asdf allows custom shim templates. For an executable called foo, if there's a shims/foo file in the plugin, then asdf will copy that file instead of using its standard shim template.

This must be used wisely.

As far as the asdf core team is aware, this feature is only in use in the first-party Elixir plugin. This is because an executable is also read as an Elixir file in addition to being an executable. This makes it not possible to use the standard Bash shim.

Testing

asdf contains the plugin-test command to test your plugin:

shell
asdf plugin test <plugin_name> <plugin_url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git_ref>] [test_command...]
  • <plugin_name> & <plugin_url> are required
  • If optional [--asdf-tool-version <version>] is specified, the tool will be installed with that specific version. Defaults to asdf latest <plugin-name>
  • If optional [--asdf-plugin-gitref <git_ref>] is specified, the plugin itself is checked out at that commit/branch/tag. This is useful for testing a pull-request on your plugin's CI. Defaults to the default branch of the plugin's repository.
  • Optional parameter [test_command...] is the command to execute to validate the installed tool works correctly. Typically <tool> --version or <tool> --help. For example, to test the NodeJS plugin, we could run
    shell
    # asdf plugin test <plugin_name>  <plugin_url>                               [test_command]
    +  asdf plugin test nodejs         https://github.com/asdf-vm/asdf-nodejs.git node --version

Note

We recommend testing in both Linux & macOS CI environments

GitHub Action

The asdf-vm/actions repo provides a GitHub Action for testing your plugins hosted on GitHub. A sample .github/workflows/test.yaml Actions Workflow:

yaml
name: Test
+on:
+  push:
+    branches:
+      - main
+  pull_request:
+
+jobs:
+  plugin_test:
+    name: asdf plugin test
+    strategy:
+      matrix:
+        os:
+          - ubuntu-latest
+          - macos-latest
+    runs-on: \${{ matrix.os }}
+    steps:
+      - name: asdf_plugin_test
+        uses: asdf-vm/actions/plugin-test@v2
+        with:
+          command: "<MY_TOOL> --version"

TravisCI Config

A sample .travis.yml file, customize it to your needs

yaml
language: c
+script: asdf plugin test <MY_TOOL> $TRAVIS_BUILD_DIR '<MY_TOOL> --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

NOTE

When using another CI you may need to pass a relative path to the plugin location:

shell
asdf plugin test <tool_name> <path> '<tool_command> --version'

API Rate Limiting

If a command depends on accessing an external API, like bin/list-all or bin/latest-stable, it may experience rate limiting during automated testing. To mitigate this, ensure there is a code-path which provides an authentication token via an environment variable. For example:

shell
cmd="curl --silent"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

GITHUB_API_TOKEN

To utilise the GITHUB_API_TOKEN, create a new personal token with only public_repo access.

Then add this to your CI pipeline environment variables.

WARNING

NEVER publish your authentication tokens in your code repository

Plugin Shortname Index

TIP

The recommended installation method for a plugin is via direct URL installation:

shell
# asdf plugin add <name> <git_url>
+  asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

If the git_url is not provided, asdf will use the Shortname Index repository to determine the exact git_url to use.

You can add your plugin to the Shortname Index by following the instructions in that repo.

`,27))])}const L=n(r,[["render",E]]);export{T as __pageData,L as default}; diff --git a/assets/plugins_create.md.Ba4Peca-.lean.js b/assets/plugins_create.md.Ba4Peca-.lean.js new file mode 100644 index 00000000..0a519495 --- /dev/null +++ b/assets/plugins_create.md.Ba4Peca-.lean.js @@ -0,0 +1,35 @@ +import{_ as n,c as o,a2 as l,j as s,a as e,G as a,B as p,o as d}from"./chunks/framework.C9NVOr0y.js";const T=JSON.parse('{"title":"Create a Plugin","description":"","frontmatter":{},"headers":[],"relativePath":"plugins/create.md","filePath":"plugins/create.md","lastUpdated":1704804447000}'),r={name:"plugins/create.md"},h={tabindex:"0"},c={style:{"text-align":"left"}},g={style:{"text-align":"left"}},u={style:{"text-align":"left"}},k={style:{"text-align":"left"}},b={id:"bin-list-all",tabindex:"-1"},m={id:"bin-download",tabindex:"-1"},f={id:"bin-install",tabindex:"-1"},y={id:"bin-latest-stable",tabindex:"-1"},F={id:"extension-commands-for-asdf-cli",tabindex:"-1"},v={id:"custom-shim-templates",tabindex:"-1"};function E(A,i,C,x,_,S){const t=p("Badge");return d(),o("div",null,[i[48]||(i[48]=l('

Create a Plugin

A plugin is a Git repo with some executable scripts to support versioning a language / tool. These scripts are run by asdf using specific commands to support features such as asdf list-all <name>, asdf install <name> <version> etc.

Quickstart

There are two options to get started with creating your own plugin:

  1. use the asdf-vm/asdf-plugin-template repository to generate a plugin repo (named asdf-<tool_name>) with default scripts implemented. Once generated, clone the repo and run the setup.bash script to interactively update the template.
  2. start your own repo called asdf-<tool_name> and implement the required scripts as listed in the documentation below.

Golden Rules for Plugin Scripts

  • scripts should NOT call other asdf commands
  • keep your dependency list of Shell tools/commands small
  • avoid non-portable tools or command flags. For example, sort -V. See our asdf core list of banned commands

Scripts Overview

The full list of scripts callable from asdf.

',9)),s("table",h,[i[25]||(i[25]=s("thead",null,[s("tr",null,[s("th",{style:{"text-align":"left"}},"Script"),s("th",{style:{"text-align":"left"}},"Description")])],-1)),s("tbody",null,[s("tr",null,[s("td",c,[i[0]||(i[0]=s("a",{href:"#bin-list-all"},"bin/list-all",-1)),i[1]||(i[1]=e()),a(t,{type:"tip",text:"required",vertical:"middle"})]),i[2]||(i[2]=s("td",{style:{"text-align":"left"}},"List all installable versions",-1))]),s("tr",null,[s("td",g,[i[3]||(i[3]=s("a",{href:"#bin-download"},"bin/download",-1)),i[4]||(i[4]=e()),a(t,{type:"tip",text:"required",vertical:"middle"})]),i[5]||(i[5]=s("td",{style:{"text-align":"left"}},"Download source code or binary for the specified version",-1))]),s("tr",null,[s("td",u,[i[6]||(i[6]=s("a",{href:"#bin-install"},"bin/install",-1)),i[7]||(i[7]=e()),a(t,{type:"tip",text:"required",vertical:"middle"})]),i[8]||(i[8]=s("td",{style:{"text-align":"left"}},"Installs the specified version",-1))]),s("tr",null,[s("td",k,[i[9]||(i[9]=s("a",{href:"#bin-latest-stable"},"bin/latest-stable",-1)),i[10]||(i[10]=e()),a(t,{type:"warning",text:"recommended",vertical:"middle"})]),i[11]||(i[11]=s("td",{style:{"text-align":"left"}},"List the latest stable version of the specified tool",-1))]),i[12]||(i[12]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-help.overview"},"bin/help.overview")]),s("td",{style:{"text-align":"left"}},"Output a general description about the plugin & tool")],-1)),i[13]||(i[13]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-help.deps"},"bin/help.deps")]),s("td",{style:{"text-align":"left"}},"Output a list of dependencies per Operating System")],-1)),i[14]||(i[14]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-help.config"},"bin/help.config")]),s("td",{style:{"text-align":"left"}},"Output plugin or tool configuration information")],-1)),i[15]||(i[15]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-help.links"},"bin/help.links")]),s("td",{style:{"text-align":"left"}},"Output a list of links for the plugin or tool")],-1)),i[16]||(i[16]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-list-bin-paths"},"bin/list-bin-paths")]),s("td",{style:{"text-align":"left"}},"List relative paths to directories with binaries to create shims")],-1)),i[17]||(i[17]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-exec-env"},"bin/exec-env")]),s("td",{style:{"text-align":"left"}},"Prepare the environment for running the binaries")],-1)),i[18]||(i[18]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-exec-path"},"bin/exec-path")]),s("td",{style:{"text-align":"left"}},"Output the executable path for a version of a tool")],-1)),i[19]||(i[19]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-uninstall"},"bin/uninstall")]),s("td",{style:{"text-align":"left"}},"Uninstall a specific version of a tool")],-1)),i[20]||(i[20]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-list-legacy-filenames"},"bin/list-legacy-filenames")]),s("td",{style:{"text-align":"left"}},[e("Output filenames of legacy version files: "),s("code",null,".ruby-version")])],-1)),i[21]||(i[21]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-parse-legacy-file"},"bin/parse-legacy-file")]),s("td",{style:{"text-align":"left"}},"Custom parser for legacy version files")],-1)),i[22]||(i[22]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-post-plugin-add"},"bin/post-plugin-add")]),s("td",{style:{"text-align":"left"}},"Hook to execute after a plugin has been added")],-1)),i[23]||(i[23]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-post-plugin-update"},"bin/post-plugin-update")]),s("td",{style:{"text-align":"left"}},"Hook to execute after a plugin has been updated")],-1)),i[24]||(i[24]=s("tr",null,[s("td",{style:{"text-align":"left"}},[s("a",{href:"#bin-pre-plugin-remove"},"bin/pre-plugin-remove")]),s("td",{style:{"text-align":"left"}},"Hook to execute before a plugin is removed")],-1))])]),i[49]||(i[49]=l('

To see which commands invoke which scripts, see the detailed documentation for each script.

Environment Variables Overview

The full list of Environment Variables used throughout all scripts.

Environment VariablesDescription
ASDF_INSTALL_TYPEversion or ref
ASDF_INSTALL_VERSIONfull version number or Git Ref depending on ASDF_INSTALL_TYPE
ASDF_INSTALL_PATHthe path to where the tool should, or has been installed
ASDF_CONCURRENCYthe number of cores to use when compiling the source code. Useful for setting make -j
ASDF_DOWNLOAD_PATHthe path to where the source code or binary was downloaded to by bin/download
ASDF_PLUGIN_PATHthe path the plugin was installed
ASDF_PLUGIN_SOURCE_URLthe source URL of the plugin
ASDF_PLUGIN_PREV_REFprevous git-ref of the plugin repo
ASDF_PLUGIN_POST_REFupdated git-ref of the plugin repo
ASDF_CMD_FILEresolves to the full path of the file being sourced

NOTE

Not all environment variables are available in all scripts. Check the documentation for each script below to see which env vars are available to it.

Required Scripts

',6)),s("h3",b,[i[26]||(i[26]=s("code",null,"bin/list-all",-1)),i[27]||(i[27]=e()),a(t,{type:"tip",text:"required",vertical:"middle"}),i[28]||(i[28]=e()),i[29]||(i[29]=s("a",{class:"header-anchor",href:"#bin-list-all","aria-label":'Permalink to "`bin/list-all` "'},"​",-1))]),i[50]||(i[50]=l('

Description

List all installable versions.

Output Format

Must print a string with a space-separated list of versions. For example:

txt
1.0.1 1.0.2 1.3.0 1.4

Newest version should be last.

asdf core will print each version on its own line, potentially pushing some versions offscreen.

Sorting

If versions are being pulled from releases page on a website it's recommended to leave the versions in the provided order as they are often already in the correct order. If they are in reverse order piping them through tac should suffice.

If sorting is unavoidable, sort -V is not portable, so we suggest either:

Environment Variables available to script

No environment variables are provided to this script.

Commands that invoke this script

  • asdf list all <name> [version]
  • asdf list all nodejs: lists all versions as returned by this script, one on each line.
  • asdf list all nodejs 18: lists all versions as returned by this script, one on each line, with a filter matching any version beginning with 18 applied.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/list-all"

',19)),s("h3",m,[i[30]||(i[30]=s("code",null,"bin/download",-1)),i[31]||(i[31]=e()),a(t,{type:"tip",text:"required",vertical:"middle"}),i[32]||(i[32]=e()),i[33]||(i[33]=s("a",{class:"header-anchor",href:"#bin-download","aria-label":'Permalink to "`bin/download` "'},"​",-1))]),i[51]||(i[51]=l('

Description

Download the source code or binary for a specific version of a tool to a specified location.

Implementation Details

  • The script must download the source or binary to the directory specified by ASDF_DOWNLOAD_PATH.
  • Only the decompressed source code or binary should be placed in the ASDF_DOWNLOAD_PATH directory.
  • On failure, no files should be placed in ASDF_DOWNLOAD_PATH.
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Legacy Plugins

Though this script is marked as required for all plugins, it is optional for "legacy" plugins which predate its introduction.

If this script is absent, asdf will assume that the bin/install script is present and will download and install the version.

All plugins must include this script as support for legacy plugins will eventually be removed.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.
  • ASDF_DOWNLOAD_PATH: The path to where the source code or binary was downloaded to.

Commands that invoke this script

  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: downloads the source code or binary for Node.js version 18.0.0 and places it in the ASDF_DOWNLOAD_PATH directory. Then runs the bin/install script.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}"/bin/download

',16)),s("h3",f,[i[34]||(i[34]=s("code",null,"bin/install",-1)),i[35]||(i[35]=e()),a(t,{type:"tip",text:"required",vertical:"middle"}),i[36]||(i[36]=e()),i[37]||(i[37]=s("a",{class:"header-anchor",href:"#bin-install","aria-label":'Permalink to "`bin/install` "'},"​",-1))]),i[52]||(i[52]=l('

Description

Install a specific version of a tool to a specified location.

Implementation Details

  • The script should install the specified version in the path ASDF_INSTALL_PATH.
  • Shims will be created by default for any files in $ASDF_INSTALL_PATH/bin. This behaviour can be customised with the optional bin/list-bin-paths script.
  • Success should exit with 0.
  • Failure should exit with a non-zero status.
  • To avoid TOCTOU (Time-of-Check-to-Time-of-Use) issues, ensure the script only places files in ASDF_INSTALL_PATH once the build and installation of the tool is deemed a success.

Legacy Plugins

If the bin/download script is absent, this script should download and install the specified version.

For compatibility with versions of the asdf core earlier than 0.7._ and newer than 0.8._, check for the presence of the ASDF_DOWNLOAD_PATH environment variable. If set, assume the bin/download script already downloaded the version, else download the source code in the bin/install script.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.
  • ASDF_CONCURRENCY: The number of cores to use when compiling source code. Useful for setting flags like make -j.
  • ASDF_DOWNLOAD_PATH: The path where the source code or binary was downloaded to.

Commands that invoke this script

  • asdf install
  • asdf install <tool>
  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: installs Node.js version 18.0.0 in the ASDF_INSTALL_PATH directory.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}"/bin/install

Optional Scripts

',15)),s("h3",y,[i[38]||(i[38]=s("code",null,"bin/latest-stable",-1)),i[39]||(i[39]=e()),a(t,{type:"warning",text:"recommended",vertical:"middle"}),i[40]||(i[40]=e()),i[41]||(i[41]=s("a",{class:"header-anchor",href:"#bin-latest-stable","aria-label":'Permalink to "`bin/latest-stable` "'},"​",-1))]),i[53]||(i[53]=l('

Description

Determine the latest stable version of a tool. If absent, the asdf core will tail the bin/list-all output which may be undesirable.

Implementation Details

  • The script should print the latest stable version of the tool to stdout.
  • Non-stable or release candidate versions should be omitted.
  • A filter query is provided as the first argument to the script. This should be used to filter the output by version number or tool provider.
    • For instance, the output of asdf list all ruby from the ruby plugin lists versions of Ruby from many providers: jruby, rbx & truffleruby amongst others. The user provided filter could be used by the plugin to filter the semver versions and/or provider.
      > asdf latest ruby\n3.2.2\n> asdf latest ruby 2\n2.7.8\n> asdf latest ruby truffleruby\ntruffleruby+graalvm-22.3.1
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf global <tool> latest: set the global version of a tool to the latest stable version for that tool.
  • asdf local <name> latest: set the local version of a tool to the latest stable version for that tool.
  • asdf install <tool> latest: installs the latest version of a tool.
  • asdf latest <tool> [<version>]: outputs the latest version of a tool based on the optional filter.
  • asdf latest --all: outputs the latest version of all tools managed by asdf and whether they are installed.

Call signature from asdf core

The script should accept a single argument, the filter query.

bash
"${plugin_path}"/bin/latest-stable "$query"

bin/help.overview

Description

Output a general description about the plugin and the tool being managed.

Implementation Details

  • This script is required for any help output to be displayed for the plugin.
  • No heading should be printed as asdf core will print headings.
  • Output may be free-form text but ideally only one short paragraph.
  • Must not output any information that is already covered in the core asdf-vm documentation.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.overview

bin/help.deps

Description

Output the list of dependencies tailored to the operating system. One dependency per line.

bash
git\ncurl\nsed

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.deps

bin/help.config

Description

Output any required or optional configuration for the plugin and tool. For example, describe any environment variables or other flags needed to install or compile the tool.

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • Output can be free-form text.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.config

Description

Output a list of links relevant to the plugin and tool. One link per line.

bash
Git Repository:	https://github.com/vlang/v\nDocumentation:	https://vlang.io

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • One link per line.
  • Format must be either:
    • <title>: <link>
    • or just <link>
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.links

bin/list-bin-paths

Description

List directories containing executables for the specified version of the tool.

Implementation Details

  • If this script is not present, asdf will look for binaries in the "${ASDF_INSTALL_PATH}"/bin directory & create shims for those.
  • Output a space-separated list of paths containing executables.
  • Paths must be relative to ASDF_INSTALL_PATH. Example output would be:
bash
bin tools veggies

This will instruct asdf to create shims for the files in:

  • "${ASDF_INSTALL_PATH}"/bin
  • "${ASDF_INSTALL_PATH}"/tools
  • "${ASDF_INSTALL_PATH}"/veggies

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf install <tool> [version]: initially create shims for binaries.
  • asdf reshim <tool> <version>: recreate shims for binaries.

Call signature from asdf core

bash
"${plugin_path}/bin/list-bin-paths"

bin/exec-env

Description

Prepare the environment before executing the shims for the binaries for the tool.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf which <command>: Display the path to an executable
  • asdf exec <command> [args...]: Executes the command shim for current version
  • asdf env <command> [util]: Runs util (default: env) inside the environment used for command shim execution.

Call signature from asdf core

bash
"${plugin_path}/bin/exec-env"

bin/exec-path

Get the executable path for the specified version of the tool. Must print a string with the relative executable path. This allows the plugin to conditionally override the shim's specified executable path, otherwise return the default path specified by the shim.

Description

Get the executable path for the specified version of the tool.

Implementation Details

  • Must print a string with the relative executable path.
  • Conditionally override the shim's specified executable path, otherwise return the default path specified by the shim.
shell
Usage:\n  plugin/bin/exec-path <install-path> <command> <executable-path>\n\nExample Call:\n  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"\n\nOutput:\n  bin/foox

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf which <command>: Display the path to an executable
  • asdf exec <command> [args...]: Executes the command shim for current version
  • asdf env <command> [util]: Runs util (default: env) inside the environment used for command shim execution.

Call signature from asdf core

bash
"${plugin_path}/bin/exec-path" "$install_path" "$cmd" "$relative_path"

bin/uninstall

Description

Uninstall the provided version of a tool.

Output Format

Output should be sent to stdout or stderr as appropriate for the user. No output is read by subsequent execution in the core.

Environment Variables available to script

No environment variables are provided to this script.

Commands that invoke this script

  • asdf list all <name> <version>
  • asdf uninstall nodejs 18.15.0: Uninstalls the version 18.15.0 of nodejs, removing all shims including those installed global with npm i -g

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/uninstall"

bin/list-legacy-filenames

Description

List legacy configuration filenames for determining the specified version of the tool.

Implementation Details

  • Output a space-separated list of filenames.
    bash
    .ruby-version .rvmrc
  • Only applies for users who have enabled the legacy_version_file option in their "${HOME}"/.asdfrc.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

Any command which reads a tool version.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/list-legacy-filenames"

bin/parse-legacy-file

Description

Parse the legacy file found by asdf to determine the version of the tool. Useful to extract version numbers from files like JavaScript's package.json or Golangs go.mod.

Implementation Details

  • If not present, asdf will simply cat the legacy file to determine the version.
  • Should be deterministic and always return the same exact version:
    • when parsing the same legacy file.
    • regardless of what is installed on the machine or whether the legacy version is valid or complete. Some legacy file formats may not be suitable.
  • Output a single line with the version:
    bash
    1.2.3

Environment Variables available to script

No environment variables specifically set before this script is called.

Commands that invoke this script

Any command which reads a tool version.

Call signature from asdf core

The script should accept a single argument, the path to the legacy file for reading its contents.

bash
"${plugin_path}/bin/parse-legacy-file" "$file_path"

bin/post-plugin-add

Description

Execute this callback script after the plugin has been added to asdf with asdf plugin add <tool>.

See also the related command hooks:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.
  • ASDF_PLUGIN_SOURCE_URL: URL of the plugin source. Can be a local directory path.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/post-plugin-add"

bin/post-plugin-update

Description

Execute this callback script after asdf has downloaded the update plugin with asdf plugin update <tool> [<git-ref>].

See also the related command hooks:

  • pre_asdf_plugin_update
  • pre_asdf_plugin_update_${plugin_name}
  • post_asdf_plugin_update
  • post_asdf_plugin_update_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.
  • ASDF_PLUGIN_PREV_REF: the plugin's previous git-ref
  • ASDF_PLUGIN_POST_REF: the plugin's updated git-ref

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/post-plugin-update"

bin/pre-plugin-remove

Description

Execute this callback script before asdf has removed the plugin with asdf plugin remove <tool>.

See also the related command hooks:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/pre-plugin-remove"
',172)),s("h2",F,[i[42]||(i[42]=e("Extension Commands for asdf CLI ")),a(t,{type:"danger",text:"advanced",vertical:"middle"}),i[43]||(i[43]=e()),i[44]||(i[44]=s("a",{class:"header-anchor",href:"#extension-commands-for-asdf-cli","aria-label":'Permalink to "Extension Commands for asdf CLI "'},"​",-1))]),i[54]||(i[54]=l('

It's possible for plugins to define new asdf commands by providing lib/commands/command*.bash scripts or executables that will be callable using the asdf command line interface by using the plugin name as a subcommand.

For example, suppose a foo plugin has:

shell
foo/\n  lib/commands/\n    command.bash\n    command-bat.bash\n    command-bat-man.bash\n    command-help.bash

Users can now execute:

shell
$ asdf foo         # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash`\n$ asdf foo bar     # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar`\n$ asdf foo help    # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash`\n$ asdf foo bat man # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash`\n$ asdf foo bat baz # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz`

Plugin authors can use this feature to provide utilities related to their tools, or even create plugins that are just new command extensions of asdf itself.

If the executable bit is set, the script is executed, replacing the asdf execution.

If the executable bit is not set, asdf will source the scripts as Bash scripts.

$ASDF_CMD_FILE resolves to the full path of the file being sourced.

haxe is a great example of a plugin which uses this feature. It provides the asdf haxe neko-dylibs-link to fix an issue where Haxe executables expect to find dynamic libraries relative to the executable directory.

Be sure to list your asdf Extension Commands in your plugins README.

',11)),s("h2",v,[i[45]||(i[45]=e("Custom Shim Templates ")),a(t,{type:"danger",text:"advanced",vertical:"middle"}),i[46]||(i[46]=e()),i[47]||(i[47]=s("a",{class:"header-anchor",href:"#custom-shim-templates","aria-label":'Permalink to "Custom Shim Templates "'},"​",-1))]),i[55]||(i[55]=l(`

WARNING

Please only use if absolutely required

asdf allows custom shim templates. For an executable called foo, if there's a shims/foo file in the plugin, then asdf will copy that file instead of using its standard shim template.

This must be used wisely.

As far as the asdf core team is aware, this feature is only in use in the first-party Elixir plugin. This is because an executable is also read as an Elixir file in addition to being an executable. This makes it not possible to use the standard Bash shim.

Testing

asdf contains the plugin-test command to test your plugin:

shell
asdf plugin test <plugin_name> <plugin_url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git_ref>] [test_command...]
  • <plugin_name> & <plugin_url> are required
  • If optional [--asdf-tool-version <version>] is specified, the tool will be installed with that specific version. Defaults to asdf latest <plugin-name>
  • If optional [--asdf-plugin-gitref <git_ref>] is specified, the plugin itself is checked out at that commit/branch/tag. This is useful for testing a pull-request on your plugin's CI. Defaults to the default branch of the plugin's repository.
  • Optional parameter [test_command...] is the command to execute to validate the installed tool works correctly. Typically <tool> --version or <tool> --help. For example, to test the NodeJS plugin, we could run
    shell
    # asdf plugin test <plugin_name>  <plugin_url>                               [test_command]
    +  asdf plugin test nodejs         https://github.com/asdf-vm/asdf-nodejs.git node --version

Note

We recommend testing in both Linux & macOS CI environments

GitHub Action

The asdf-vm/actions repo provides a GitHub Action for testing your plugins hosted on GitHub. A sample .github/workflows/test.yaml Actions Workflow:

yaml
name: Test
+on:
+  push:
+    branches:
+      - main
+  pull_request:
+
+jobs:
+  plugin_test:
+    name: asdf plugin test
+    strategy:
+      matrix:
+        os:
+          - ubuntu-latest
+          - macos-latest
+    runs-on: \${{ matrix.os }}
+    steps:
+      - name: asdf_plugin_test
+        uses: asdf-vm/actions/plugin-test@v2
+        with:
+          command: "<MY_TOOL> --version"

TravisCI Config

A sample .travis.yml file, customize it to your needs

yaml
language: c
+script: asdf plugin test <MY_TOOL> $TRAVIS_BUILD_DIR '<MY_TOOL> --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

NOTE

When using another CI you may need to pass a relative path to the plugin location:

shell
asdf plugin test <tool_name> <path> '<tool_command> --version'

API Rate Limiting

If a command depends on accessing an external API, like bin/list-all or bin/latest-stable, it may experience rate limiting during automated testing. To mitigate this, ensure there is a code-path which provides an authentication token via an environment variable. For example:

shell
cmd="curl --silent"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

GITHUB_API_TOKEN

To utilise the GITHUB_API_TOKEN, create a new personal token with only public_repo access.

Then add this to your CI pipeline environment variables.

WARNING

NEVER publish your authentication tokens in your code repository

Plugin Shortname Index

TIP

The recommended installation method for a plugin is via direct URL installation:

shell
# asdf plugin add <name> <git_url>
+  asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

If the git_url is not provided, asdf will use the Shortname Index repository to determine the exact git_url to use.

You can add your plugin to the Shortname Index by following the instructions in that repo.

`,27))])}const L=n(r,[["render",E]]);export{T as __pageData,L as default}; diff --git a/assets/pt-br_contribute_core.md.BB7joZcW.js b/assets/pt-br_contribute_core.md.BB7joZcW.js new file mode 100644 index 00000000..28873348 --- /dev/null +++ b/assets/pt-br_contribute_core.md.BB7joZcW.js @@ -0,0 +1,25 @@ +import{_ as s,c as a,a2 as i,o as t}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"asdf","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/contribute/core.md","filePath":"pt-br/contribute/core.md","lastUpdated":1687069487000}'),n={name:"pt-br/contribute/core.md"};function o(l,e,r,p,d,c){return t(),a("div",null,e[0]||(e[0]=[i(`

asdf

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

guia de contribuição principal asdf.

Configuração inicial

Fork asdf no GitHub e/ou Git clone o branch padrão:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

As ferramentas para o desenvolvimento do núcleo estão em .tool-versions deste repositório. Se você deseja gerenciar com o próprio asdf, adicione os plugins:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

Instale as versões para desenvolver asdf com:

shell
asdf install

pode ser útil não usar asdf para gerenciar as ferramentas durante o desenvolvimento em sua máquina local, pois você pode precisar quebrar funcionalidades que, então, quebrariam suas ferramentas de desenvolvimento. Aqui está a lista bruta de ferramentas:

  • bats-core: Bash Automated Testing System, para testes unitários de scripts compatíveis com Bash ou POSIX.
  • shellcheck: Ferramenta de análise estática para scripts de shell.
  • shfmt: Um analisador, formatador e interpretador de shell com suporte a bash; inclui shfmt

Desenvolvimento

Se você quiser testar suas alterações sem fazer alterações em seu asdf instalado, você pode definir a variável $ASDF_DIR para o caminho onde você clonou o repositório e anexar temporariamente o diretório bin e shims do diretório para o seu caminho.

É melhor formatar, lint e testar seu código localmente antes de confirmar ou enviar para o controle remoto. Use os seguintes scripts/comandos:

shell
# Shellcheck
+./scripts/shellcheck.bash
+
+# Format
+./scripts/shfmt.bash
+
+# Test: all tests
+bats test/
+# Test: for specific command
+bats test/list_commands.bash

TIP

Adicione testes! - Os testes são necessários para novos recursos e aceleram a revisão de correções de bugs. Por favor, cubra novos caminhos de código antes de criar um Pull Request. Consulte documentação do bats-core

Teste de BATS

É fortemente recomendado examinar o conjunto de testes existente e a documentação do bats-core antes de escrever os testes.

A depuração de BATs pode ser difícil às vezes. Usar a saída TAP com o sinalizador -t permitirá que você imprima saídas com o descritor de arquivo especial >&3 durante a execução do teste, simplificando a depuração. Como um exemplo:

shell
# test/some_tests.bats
+
+printf "%s\\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\\n" "Will be printed during bats -t test/some_tests.bats" >&3

Isso está documentado em bats-core Imprimindo no Terminal.

Pull Requests, Releases e Commits Convencionais

O asdf está usando uma ferramenta de lançamento automatizada chamada Release Please para aumentar automaticamente a versão SemVer e gerar a Changelog. Essas informações são determinadas lendo o histórico de confirmação desde a última versão.

Mensagens de confirmação convencionais definem o formato do título da solicitação pull que se torna o formato da mensagem de confirmação na ramificação padrão. Isso é aplicado com GitHub Action amannn/action-semantic-pull-request.

O Commit Convencional segue este formato:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

A lista completa de <types> é: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.

O ! indica uma mudança de ruptura.

fix: will create a new SemVer patchfeat: will create a new SemVer minor<type>!: will create a new SemVer major

O título da solicitação pull deve seguir este formato.

TIP

Use o formato de mensagem de confirmação convencional para seu título de solicitação de pull.

Imagens Docker

Os projetos asdf-alpine e asdf-ubuntu são um esforço contínuo para fornecer imagens de algumas ferramentas asdf. Você pode usar essas imagens docker como base para seus servidores de desenvolvimento ou para executar seus aplicativos de produção.

`,34)]))}const m=s(n,[["render",o]]);export{k as __pageData,m as default}; diff --git a/assets/pt-br_contribute_core.md.BB7joZcW.lean.js b/assets/pt-br_contribute_core.md.BB7joZcW.lean.js new file mode 100644 index 00000000..28873348 --- /dev/null +++ b/assets/pt-br_contribute_core.md.BB7joZcW.lean.js @@ -0,0 +1,25 @@ +import{_ as s,c as a,a2 as i,o as t}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"asdf","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/contribute/core.md","filePath":"pt-br/contribute/core.md","lastUpdated":1687069487000}'),n={name:"pt-br/contribute/core.md"};function o(l,e,r,p,d,c){return t(),a("div",null,e[0]||(e[0]=[i(`

asdf

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

guia de contribuição principal asdf.

Configuração inicial

Fork asdf no GitHub e/ou Git clone o branch padrão:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

As ferramentas para o desenvolvimento do núcleo estão em .tool-versions deste repositório. Se você deseja gerenciar com o próprio asdf, adicione os plugins:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

Instale as versões para desenvolver asdf com:

shell
asdf install

pode ser útil não usar asdf para gerenciar as ferramentas durante o desenvolvimento em sua máquina local, pois você pode precisar quebrar funcionalidades que, então, quebrariam suas ferramentas de desenvolvimento. Aqui está a lista bruta de ferramentas:

  • bats-core: Bash Automated Testing System, para testes unitários de scripts compatíveis com Bash ou POSIX.
  • shellcheck: Ferramenta de análise estática para scripts de shell.
  • shfmt: Um analisador, formatador e interpretador de shell com suporte a bash; inclui shfmt

Desenvolvimento

Se você quiser testar suas alterações sem fazer alterações em seu asdf instalado, você pode definir a variável $ASDF_DIR para o caminho onde você clonou o repositório e anexar temporariamente o diretório bin e shims do diretório para o seu caminho.

É melhor formatar, lint e testar seu código localmente antes de confirmar ou enviar para o controle remoto. Use os seguintes scripts/comandos:

shell
# Shellcheck
+./scripts/shellcheck.bash
+
+# Format
+./scripts/shfmt.bash
+
+# Test: all tests
+bats test/
+# Test: for specific command
+bats test/list_commands.bash

TIP

Adicione testes! - Os testes são necessários para novos recursos e aceleram a revisão de correções de bugs. Por favor, cubra novos caminhos de código antes de criar um Pull Request. Consulte documentação do bats-core

Teste de BATS

É fortemente recomendado examinar o conjunto de testes existente e a documentação do bats-core antes de escrever os testes.

A depuração de BATs pode ser difícil às vezes. Usar a saída TAP com o sinalizador -t permitirá que você imprima saídas com o descritor de arquivo especial >&3 durante a execução do teste, simplificando a depuração. Como um exemplo:

shell
# test/some_tests.bats
+
+printf "%s\\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\\n" "Will be printed during bats -t test/some_tests.bats" >&3

Isso está documentado em bats-core Imprimindo no Terminal.

Pull Requests, Releases e Commits Convencionais

O asdf está usando uma ferramenta de lançamento automatizada chamada Release Please para aumentar automaticamente a versão SemVer e gerar a Changelog. Essas informações são determinadas lendo o histórico de confirmação desde a última versão.

Mensagens de confirmação convencionais definem o formato do título da solicitação pull que se torna o formato da mensagem de confirmação na ramificação padrão. Isso é aplicado com GitHub Action amannn/action-semantic-pull-request.

O Commit Convencional segue este formato:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

A lista completa de <types> é: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.

O ! indica uma mudança de ruptura.

fix: will create a new SemVer patchfeat: will create a new SemVer minor<type>!: will create a new SemVer major

O título da solicitação pull deve seguir este formato.

TIP

Use o formato de mensagem de confirmação convencional para seu título de solicitação de pull.

Imagens Docker

Os projetos asdf-alpine e asdf-ubuntu são um esforço contínuo para fornecer imagens de algumas ferramentas asdf. Você pode usar essas imagens docker como base para seus servidores de desenvolvimento ou para executar seus aplicativos de produção.

`,34)]))}const m=s(n,[["render",o]]);export{k as __pageData,m as default}; diff --git a/assets/pt-br_contribute_documentation.md.D_CeZJ9y.js b/assets/pt-br_contribute_documentation.md.D_CeZJ9y.js new file mode 100644 index 00000000..d63042f8 --- /dev/null +++ b/assets/pt-br_contribute_documentation.md.D_CeZJ9y.js @@ -0,0 +1,29 @@ +import{_ as a,c as i,a2 as e,o as n}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"Docs & Site","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/contribute/documentation.md","filePath":"pt-br/contribute/documentation.md","lastUpdated":1687069487000}'),t={name:"pt-br/contribute/documentation.md"};function o(l,s,p,r,d,h){return n(),i("div",null,s[0]||(s[0]=[e(`

Docs & Site

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Documentação e guia de contribuição do site.

Configuração inicial

Fork asdf no GitHub e/ou Git clone o branch padrão:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

As ferramentas para desenvolvimento de sites Docs são gerenciadas com asdf em docs/.tool-versions. Adicione os plugins com:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

Instale a(s) versão(ões) da ferramenta com:

shell
asdf install
  • Node.js: tempo de execução JavaScript criado no mecanismo JavaScript V8 do Chrome.

Instale as dependências do Node.js do docs/package.json:

shell
npm install

Desenvolvimento

Vuepress (v2) é o Static Site Generator (SSG) que usamos para construir o site de documentação do asdf. Foi escolhido para substituir Docsify.js, pois gostaríamos de oferecer suporte a um substituto somente HTML quando os usuários não tiverem JavaScript disponível ou ativado. Isso não era possível com o Docsify. Fora isso, o conjunto de recursos é basicamente o mesmo, com foco em escrever arquivos Markdown com configuração mínima.

package.json contém os scripts necessários para o desenvolvimento:

@code json{3-5}

Para iniciar o servidor de desenvolvimento local:

shell
npm run dev

Formate o código antes de confirmar:

shell
npm run format

Pull Requests, Releases e Commits Convencionais

asdf está usando um pipeline de lançamento automatizado que depende de Commits Convencionais em títulos de PR. Documentação detalhada encontrada no guia de contribuição principal.

Ao criar um PR para alterações na documentação, por favor, faça o título do PR com o tipo de Commit Convencional docs no formato docs: <description>.

Vuepress

A configuração do site está contida em alguns arquivos JavaScript com objetos JS usados para representar a configuração. Eles estão:

  • docs/.vuepress/config.js: o arquivo de configuração raiz do site. Leia a documentação do Vuepress para obter as especificações.

Para simplificar a configuração raiz, os objetos JS maiores que representam a configuração navbar e sidebar foram extraídos e separados por sua localidade. Veja os dois em:

  • docs/.vuepress/navbar.js
  • docs/.vuepress/sidebar.js

Com a documentação oficial para essas configurações vivendo na Referência de tema padrão.

I18n

Vuepress tem suporte de primeira classe para internacionalização. O root config docs/.vuepress/config.js define os locais suportados com sua URL, título no menu suspenso de seleção e referências de configurações navbar/sidebar.

As configurações da barra de navegação/barra lateral são capturadas nos arquivos de configuração mencionados acima, separadas por localidade e exportadas individualmente.

O conteúdo de markdown para cada localidade deve estar em uma pasta com o mesmo nome das chaves para locales na configuração raiz. Isso é:

js
{
+  ...
+  themeConfig: {
+    locales: {
+      "/": {
+        selectLanguageName: "English (US)",
+        sidebar: sidebar.en,
+        navbar: navbar.en
+      },
+      "/pt-BR/": {
+        selectLanguageName: "Brazilian Portuguese",
+        sidebar: sidebar.pt_br,
+        navbar: navbar.pt_br
+      }
+    }
+  }
+}

/pt-BR/ exigirá o mesmo conjunto de arquivos markdown localizados em docs/pt-BR/, assim:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

A documentação oficial do Vuepress i18n entra em mais detalhes.

`,38)]))}const u=a(t,[["render",o]]);export{k as __pageData,u as default}; diff --git a/assets/pt-br_contribute_documentation.md.D_CeZJ9y.lean.js b/assets/pt-br_contribute_documentation.md.D_CeZJ9y.lean.js new file mode 100644 index 00000000..d63042f8 --- /dev/null +++ b/assets/pt-br_contribute_documentation.md.D_CeZJ9y.lean.js @@ -0,0 +1,29 @@ +import{_ as a,c as i,a2 as e,o as n}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"Docs & Site","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/contribute/documentation.md","filePath":"pt-br/contribute/documentation.md","lastUpdated":1687069487000}'),t={name:"pt-br/contribute/documentation.md"};function o(l,s,p,r,d,h){return n(),i("div",null,s[0]||(s[0]=[e(`

Docs & Site

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Documentação e guia de contribuição do site.

Configuração inicial

Fork asdf no GitHub e/ou Git clone o branch padrão:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

As ferramentas para desenvolvimento de sites Docs são gerenciadas com asdf em docs/.tool-versions. Adicione os plugins com:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

Instale a(s) versão(ões) da ferramenta com:

shell
asdf install
  • Node.js: tempo de execução JavaScript criado no mecanismo JavaScript V8 do Chrome.

Instale as dependências do Node.js do docs/package.json:

shell
npm install

Desenvolvimento

Vuepress (v2) é o Static Site Generator (SSG) que usamos para construir o site de documentação do asdf. Foi escolhido para substituir Docsify.js, pois gostaríamos de oferecer suporte a um substituto somente HTML quando os usuários não tiverem JavaScript disponível ou ativado. Isso não era possível com o Docsify. Fora isso, o conjunto de recursos é basicamente o mesmo, com foco em escrever arquivos Markdown com configuração mínima.

package.json contém os scripts necessários para o desenvolvimento:

@code json{3-5}

Para iniciar o servidor de desenvolvimento local:

shell
npm run dev

Formate o código antes de confirmar:

shell
npm run format

Pull Requests, Releases e Commits Convencionais

asdf está usando um pipeline de lançamento automatizado que depende de Commits Convencionais em títulos de PR. Documentação detalhada encontrada no guia de contribuição principal.

Ao criar um PR para alterações na documentação, por favor, faça o título do PR com o tipo de Commit Convencional docs no formato docs: <description>.

Vuepress

A configuração do site está contida em alguns arquivos JavaScript com objetos JS usados para representar a configuração. Eles estão:

  • docs/.vuepress/config.js: o arquivo de configuração raiz do site. Leia a documentação do Vuepress para obter as especificações.

Para simplificar a configuração raiz, os objetos JS maiores que representam a configuração navbar e sidebar foram extraídos e separados por sua localidade. Veja os dois em:

  • docs/.vuepress/navbar.js
  • docs/.vuepress/sidebar.js

Com a documentação oficial para essas configurações vivendo na Referência de tema padrão.

I18n

Vuepress tem suporte de primeira classe para internacionalização. O root config docs/.vuepress/config.js define os locais suportados com sua URL, título no menu suspenso de seleção e referências de configurações navbar/sidebar.

As configurações da barra de navegação/barra lateral são capturadas nos arquivos de configuração mencionados acima, separadas por localidade e exportadas individualmente.

O conteúdo de markdown para cada localidade deve estar em uma pasta com o mesmo nome das chaves para locales na configuração raiz. Isso é:

js
{
+  ...
+  themeConfig: {
+    locales: {
+      "/": {
+        selectLanguageName: "English (US)",
+        sidebar: sidebar.en,
+        navbar: navbar.en
+      },
+      "/pt-BR/": {
+        selectLanguageName: "Brazilian Portuguese",
+        sidebar: sidebar.pt_br,
+        navbar: navbar.pt_br
+      }
+    }
+  }
+}

/pt-BR/ exigirá o mesmo conjunto de arquivos markdown localizados em docs/pt-BR/, assim:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

A documentação oficial do Vuepress i18n entra em mais detalhes.

`,38)]))}const u=a(t,[["render",o]]);export{k as __pageData,u as default}; diff --git a/assets/pt-br_contribute_first-party-plugins.md.TUKlMnR4.js b/assets/pt-br_contribute_first-party-plugins.md.TUKlMnR4.js new file mode 100644 index 00000000..0ce717ac --- /dev/null +++ b/assets/pt-br_contribute_first-party-plugins.md.TUKlMnR4.js @@ -0,0 +1 @@ +import{_ as a,c as t,a2 as r,o as i}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"First-Party Plugins","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/contribute/first-party-plugins.md","filePath":"pt-br/contribute/first-party-plugins.md","lastUpdated":1650978118000}'),o={name:"pt-br/contribute/first-party-plugins.md"};function s(l,e,n,d,p,u){return i(),t("div",null,e[0]||(e[0]=[r('

First-Party Plugins

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A equipe principal do asdf criou alguns plugins relevantes para sua vida profissional diária. A ajuda é sempre bem-vinda na manutenção e melhoria desses plugins. Veja o repositório associado para cada link abaixo:

Para plugins da comunidade, consulte:

',6)]))}const g=a(o,[["render",s]]);export{f as __pageData,g as default}; diff --git a/assets/pt-br_contribute_first-party-plugins.md.TUKlMnR4.lean.js b/assets/pt-br_contribute_first-party-plugins.md.TUKlMnR4.lean.js new file mode 100644 index 00000000..0ce717ac --- /dev/null +++ b/assets/pt-br_contribute_first-party-plugins.md.TUKlMnR4.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,a2 as r,o as i}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"First-Party Plugins","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/contribute/first-party-plugins.md","filePath":"pt-br/contribute/first-party-plugins.md","lastUpdated":1650978118000}'),o={name:"pt-br/contribute/first-party-plugins.md"};function s(l,e,n,d,p,u){return i(),t("div",null,e[0]||(e[0]=[r('

First-Party Plugins

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A equipe principal do asdf criou alguns plugins relevantes para sua vida profissional diária. A ajuda é sempre bem-vinda na manutenção e melhoria desses plugins. Veja o repositório associado para cada link abaixo:

Para plugins da comunidade, consulte:

',6)]))}const g=a(o,[["render",s]]);export{f as __pageData,g as default}; diff --git a/assets/pt-br_contribute_github-actions.md.BpD2TMaX.js b/assets/pt-br_contribute_github-actions.md.BpD2TMaX.js new file mode 100644 index 00000000..a883c2c0 --- /dev/null +++ b/assets/pt-br_contribute_github-actions.md.BpD2TMaX.js @@ -0,0 +1 @@ +import{_ as o,c as s,j as e,a as t,o as i}from"./chunks/framework.C9NVOr0y.js";const h=JSON.parse('{"title":"GitHub Actions","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/contribute/github-actions.md","filePath":"pt-br/contribute/github-actions.md","lastUpdated":1650978118000}'),r={name:"pt-br/contribute/github-actions.md"};function n(c,a,l,d,u,p){return i(),s("div",null,a[0]||(a[0]=[e("h1",{id:"github-actions",tabindex:"-1"},[t("GitHub Actions "),e("a",{class:"header-anchor",href:"#github-actions","aria-label":'Permalink to "GitHub Actions"'},"​")],-1),e("blockquote",null,[e("p",null,`Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.`)],-1),e("p",null,[t("Obrigado pelo seu interesse, consulte o "),e("a",{href:"https://github.com/asdf-vm/actions",target:"_blank",rel:"noreferrer"},"repositório de ações asdf"),t(" para ver os problemas, conversas e diretrizes de contribuição existentes.")],-1)]))}const m=o(r,[["render",n]]);export{h as __pageData,m as default}; diff --git a/assets/pt-br_contribute_github-actions.md.BpD2TMaX.lean.js b/assets/pt-br_contribute_github-actions.md.BpD2TMaX.lean.js new file mode 100644 index 00000000..a883c2c0 --- /dev/null +++ b/assets/pt-br_contribute_github-actions.md.BpD2TMaX.lean.js @@ -0,0 +1 @@ +import{_ as o,c as s,j as e,a as t,o as i}from"./chunks/framework.C9NVOr0y.js";const h=JSON.parse('{"title":"GitHub Actions","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/contribute/github-actions.md","filePath":"pt-br/contribute/github-actions.md","lastUpdated":1650978118000}'),r={name:"pt-br/contribute/github-actions.md"};function n(c,a,l,d,u,p){return i(),s("div",null,a[0]||(a[0]=[e("h1",{id:"github-actions",tabindex:"-1"},[t("GitHub Actions "),e("a",{class:"header-anchor",href:"#github-actions","aria-label":'Permalink to "GitHub Actions"'},"​")],-1),e("blockquote",null,[e("p",null,`Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.`)],-1),e("p",null,[t("Obrigado pelo seu interesse, consulte o "),e("a",{href:"https://github.com/asdf-vm/actions",target:"_blank",rel:"noreferrer"},"repositório de ações asdf"),t(" para ver os problemas, conversas e diretrizes de contribuição existentes.")],-1)]))}const m=o(r,[["render",n]]);export{h as __pageData,m as default}; diff --git a/assets/pt-br_guide_getting-started.md.Bxtluukf.js b/assets/pt-br_guide_getting-started.md.Bxtluukf.js new file mode 100644 index 00000000..89cd9998 --- /dev/null +++ b/assets/pt-br_guide_getting-started.md.Bxtluukf.js @@ -0,0 +1,13 @@ +import{_ as a,c as i,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"Começando","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/guide/getting-started.md","filePath":"pt-br/guide/getting-started.md","lastUpdated":1724080713000}'),l={name:"pt-br/guide/getting-started.md"};function n(o,s,h,d,p,r){return t(),i("div",null,s[0]||(s[0]=[e(`

Começando

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A instalação do asdf envolve:

  1. Instalar as dependências
  2. Instalar o núcleo do asdf
  3. Adicionar o asdf ao seu shell
  4. Instalar um plugin para cada ferramenta que você gostaria de gerenciar
  5. Instalar uma versão desta ferramenta
  6. Definir uma versão global e uma versão local através do arquivo de configuração .tool-versions

Você pode também acompanhar o passo a passo da instalação através deste vídeo.

1. Instalando as dependências

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. Download asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. Adicionando ao seu shell

Existem diversas combinações de shells, sistemas operacionais e métodos de instalação que podem impactar a configuração. Abaixo, expanda a seção que se adeque mais com o seu sistema:

Bash & Git

Adicione esta linha ao seu ~/.bashrc:

shell
. "$HOME/.asdf/asdf.sh"

O auto completar deve ser configurado manualmente a partir da adição da seguinte linha ao .bashrc:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

Se você estiver usando o macOS Catalina ou mais recente, o shell padrão mudou para o ZSH. A não ser que você tenha voltado para o bash, siga as instruções de instalação para o ZSH.

Adicione esta linha ao seu ~/.bash_profile:

shell
. "$HOME/.asdf/asdf.sh"

O auto completar deve ser configurado manualmente a partir da adição da seguinte linha ao .bash_profile:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

Adicione asdf.sh ao ~/.bashrc através do comando:

shell
echo -e "\\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bashrc

O auto completar deve ser configurado seguindo as instruções da Homebrew, ou as seguintes:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bashrc
Bash & Homebrew (macOS)

Se você estiver usando o macOS Catalina ou mais recente, o shell padrão mudou para o ZSH. A não ser que você tenha voltado para o bash, siga as instruções de instalação para o ZSH.

Adicione asdf.sh ao ~/.bash_profile através do comando:

shell
echo -e "\\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bash_profile

O auto completar deve ser configurado seguindo as instruções da Homebrew, ou as seguintes:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bash_profile
Bash & Pacman

Adicione a seguinte linha ao seu ~/.bashrc:

shell
. /opt/asdf-vm/asdf.sh

O pacote bash-completion precisa ser instalado para o auto completar funcionar.

Fish & Git

Adicione a seguinte linha ao seu ~/.config/fish/config.fish:

shell
source ~/.asdf/asdf.fish

O auto completar deve ser configurado manualmente através do seguinte comando:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

Adicione asdf.fish ao seu ~/.config/fish/config.fish através do comando:

shell
echo -e "\\nsource "(brew --prefix asdf)"/asdf.fish" >> ~/.config/fish/config.fish

O auto completar é configurado pela Homebrew para o fish shell.

Fish & Pacman

Adicione a seguinte linha ao seu ~/.config/fish/config.fish:

shell
source /opt/asdf-vm/asdf.fish

O auto completar é configurado automaticamente durante a instalação do pacote AUR.

Elvish & Git

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

Elvish & Homebrew

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

Elvish & Pacman

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

ZSH & Git

Adicione a seguinte linha ao seu ~/.zshrc:

shell
. "$HOME/.asdf/asdf.sh"

OU utilize um framework para ZSH, como asdf para oh-my-zsh que irá adicionar o script e o auto completar.

O auto completar pode ser configurado ou pelo plugin do asdf para framework para ZSH, ou através da adição das seguintes linhas ao seu .zshrc:

shell
# append completions to fpath
+fpath=(\${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • Se você está utilizando uma configuração compinit customizada, garanta que compinit esteja abaixo chamada asdf.sh
  • Se você está utilizando uma configuração compinit customizada com um framework para ZSH, garanta que compinit esteja abaixo da chamada do framework.

Aviso

Se você está utilizando um framework para ZSH, o plugin do asdf pode precisar ser atualizado para utilização adequada do novo auto completar do ZSH através do fpath. O plugin do asdf para o oh-my-zsh ainda não foi atualizado, veja: ohmyzsh/ohmyzsh#8837.

ZSH & Homebrew

Adicione asdf.sh ao seu ~/.zshrc através do comando:

shell
echo -e "\\n. $(brew --prefix asdf)/asdf.sh" >> \${ZDOTDIR:-~}/.zshrc

OU utilize um framework para ZSH, como asdf para oh-my-zsh que irá adicionar o script e o auto completar.

O auto completar pode ser configurado ou pelo framework para ZSH, ou de acordo com as instruções da Homebrew. Se você está usando um framework para ZSH, pode ser que seja necessário atualizar o plugin do asdf para que o novo auto completar funcione adequadamente através do fpath. O plugin do asdf para o Oh-My-ZSH ainda será atualizado, veja: ohmyzsh/ohmyzsh#8837.

ZSH & Pacman

Adicione a seguinte linha ao seu ~/.zshrc:

shell
. /opt/asdf-vm/asdf.sh
PowerShell Core & Git

Adicione a seguinte linha ao seu ~/.config/powershell/profile.ps1:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

Adicione asdf.ps1 ao seu ~/.config/powershell/profile.ps1 através do comando:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.ps1\\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

Adicione a seguinte linha ao seu ~/.config/powershell/profile.ps1:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

Ao concluir atualizará automaticamente

Nushell & Homebrew

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

Ao concluir atualizará automaticamente

Nushell & Pacman

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\\n$env.ASDF_DIR = '/opt/asdf-vm/'\\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

Ao concluir atualizará automaticamente

POSIX Shell & Git

Adicione a seguinte linha ao seu ~/.profile:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

Adicione asdf.sh ao ~/.profile através do comando:

shell
echo -e "\\nexport ASDF_DIR=\\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
+echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
POSIX Shell & Pacman

Adicione a seguinte linha ao seu ~/.profile:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

O auto completar é colocado em um local familiar para o ZSH, mas o ZSH deve ser configurado para conseguir utilizá-lo. :::

Os scripts do asdf precisam ser chamados depois de ter configurado a sua variável $PATH e depois de ter chamado o seu framework para ZSH (oh-my-zsh etc).

Reinicie seu shell para que as mudanças na variável PATH tenham efeito. Abrir uma nova janela/sessão de terminal o fará.

4. Instalando um plugin

Para demonstração, vamos instalar e configurar o Node.js através do plugin asdf-nodejs.

Dependências dos plugins

Cada plugin possui algumas dependências, por isso precisamos checar no repositório onde elas estão listadas. Por exemplo, para o asdf-nodejs são:

SOInstalação de dependencia
Linux (Debian)apt-get install dirmngr gpg curl gawk
macOSbrew install gpg gawk

Devemos instalar instalar as dependências primeiro, pois alguns plugins exigem algumas ações após a instalação.

Instalando o plugin

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. Instalando uma versão

Agora temos o plugin para o Node.js, nós podemos instalar uma versão desta ferramenta.

Podemos ver quais versões tão disponíveis através do comando asdf list all nodejs, ou uma lista específica de versões com asdf list all nodejs 14

Vamos instalar somente a última versão disponível, utilizando a tag latest:

shell
asdf install nodejs latest

Nota

asdf exige versões exatas. A palavra latest resulta na instalação da versão atual na data da execução.

6. Definindo uma versão

asdf executa uma verificação das versões das ferramentas a serem utilizadas através do arquivo .tool-versions presente desde diretório atual, até o diretório $HOME. A varredura ocorre no momento em que você executa uma ferramenta que o asdf gerencia.

WARNING

Se uma versão não for especificada para uma ferramenta, ao executá-la resultará em erro. asdf current mostrará a ferramenta e sua versão, ou então a falta dela no seu diretório atual para que você possa observar quais ferramentas falharão ao serem executadas.

Versões globais

Os padrões globais são gerenciados em $HOME/.tool-versions. Defina uma versão global através do comando:

shell
asdf global nodejs latest

$HOME/.tool-versions ficará assim:

nodejs 16.5.0

Alguns sistemas operacionais vêm por padrão com ferramentas que são gerenciadas pelo próprio sistema e não pelo asdf, python é um exemplo. Você precisa indicar para o asdf para devolver o gerenciamento para o sistema. A seção de referência de versões irá guiá-lo.

Versões locais

Versões locais são definidas no arquivo $PWD/.tool-versions (seu diretório atual). Geralmente, será um repositório Git para um projeto. Quando estiver no diretório desejado, execute:

shell
asdf local nodejs latest

$PWD/.tool-versions ficará assim:

nodejs 16.5.0

Usando arquivos de versão existentes

asdf suporta a migração de arquivos de versão provenientes de outros gerenciadores de versão. Por exemplo: .ruby-version para o rbenv. Essa funcionalidade é baseada no plugin de cada ferramenta.

O asdf-nodejs suporta tanto arquivos .nvmrc quanto .node-version. Para ativar essa funcionalidade, adicione a seguinte linha ao seu arquivo de configuração do asdf - $HOME/.asdfrc:

legacy_version_file = yes

Veja a página de refencia da configuração para mais opções de configuração.

Setup finalizado!

A configuração inicial do asdf foi finalizada 🎉. Agora, você pode gerenciar versões do nodejs para o seus projetos. Siga passos semelhantes para cada ferramenta do seu projeto.

O asdf possui diversos outros comandos para se acustomar ainda, você pode ver todos eles através do comando asdf --help ou simplesmente asdf. Eles estão divididos em três categorias:

`,79)]))}const g=a(l,[["render",n]]);export{k as __pageData,g as default}; diff --git a/assets/pt-br_guide_getting-started.md.Bxtluukf.lean.js b/assets/pt-br_guide_getting-started.md.Bxtluukf.lean.js new file mode 100644 index 00000000..89cd9998 --- /dev/null +++ b/assets/pt-br_guide_getting-started.md.Bxtluukf.lean.js @@ -0,0 +1,13 @@ +import{_ as a,c as i,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"Começando","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/guide/getting-started.md","filePath":"pt-br/guide/getting-started.md","lastUpdated":1724080713000}'),l={name:"pt-br/guide/getting-started.md"};function n(o,s,h,d,p,r){return t(),i("div",null,s[0]||(s[0]=[e(`

Começando

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A instalação do asdf envolve:

  1. Instalar as dependências
  2. Instalar o núcleo do asdf
  3. Adicionar o asdf ao seu shell
  4. Instalar um plugin para cada ferramenta que você gostaria de gerenciar
  5. Instalar uma versão desta ferramenta
  6. Definir uma versão global e uma versão local através do arquivo de configuração .tool-versions

Você pode também acompanhar o passo a passo da instalação através deste vídeo.

1. Instalando as dependências

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. Download asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. Adicionando ao seu shell

Existem diversas combinações de shells, sistemas operacionais e métodos de instalação que podem impactar a configuração. Abaixo, expanda a seção que se adeque mais com o seu sistema:

Bash & Git

Adicione esta linha ao seu ~/.bashrc:

shell
. "$HOME/.asdf/asdf.sh"

O auto completar deve ser configurado manualmente a partir da adição da seguinte linha ao .bashrc:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

Se você estiver usando o macOS Catalina ou mais recente, o shell padrão mudou para o ZSH. A não ser que você tenha voltado para o bash, siga as instruções de instalação para o ZSH.

Adicione esta linha ao seu ~/.bash_profile:

shell
. "$HOME/.asdf/asdf.sh"

O auto completar deve ser configurado manualmente a partir da adição da seguinte linha ao .bash_profile:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

Adicione asdf.sh ao ~/.bashrc através do comando:

shell
echo -e "\\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bashrc

O auto completar deve ser configurado seguindo as instruções da Homebrew, ou as seguintes:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bashrc
Bash & Homebrew (macOS)

Se você estiver usando o macOS Catalina ou mais recente, o shell padrão mudou para o ZSH. A não ser que você tenha voltado para o bash, siga as instruções de instalação para o ZSH.

Adicione asdf.sh ao ~/.bash_profile através do comando:

shell
echo -e "\\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bash_profile

O auto completar deve ser configurado seguindo as instruções da Homebrew, ou as seguintes:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bash_profile
Bash & Pacman

Adicione a seguinte linha ao seu ~/.bashrc:

shell
. /opt/asdf-vm/asdf.sh

O pacote bash-completion precisa ser instalado para o auto completar funcionar.

Fish & Git

Adicione a seguinte linha ao seu ~/.config/fish/config.fish:

shell
source ~/.asdf/asdf.fish

O auto completar deve ser configurado manualmente através do seguinte comando:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

Adicione asdf.fish ao seu ~/.config/fish/config.fish através do comando:

shell
echo -e "\\nsource "(brew --prefix asdf)"/asdf.fish" >> ~/.config/fish/config.fish

O auto completar é configurado pela Homebrew para o fish shell.

Fish & Pacman

Adicione a seguinte linha ao seu ~/.config/fish/config.fish:

shell
source /opt/asdf-vm/asdf.fish

O auto completar é configurado automaticamente durante a instalação do pacote AUR.

Elvish & Git

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

Elvish & Homebrew

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

Elvish & Pacman

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

ZSH & Git

Adicione a seguinte linha ao seu ~/.zshrc:

shell
. "$HOME/.asdf/asdf.sh"

OU utilize um framework para ZSH, como asdf para oh-my-zsh que irá adicionar o script e o auto completar.

O auto completar pode ser configurado ou pelo plugin do asdf para framework para ZSH, ou através da adição das seguintes linhas ao seu .zshrc:

shell
# append completions to fpath
+fpath=(\${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • Se você está utilizando uma configuração compinit customizada, garanta que compinit esteja abaixo chamada asdf.sh
  • Se você está utilizando uma configuração compinit customizada com um framework para ZSH, garanta que compinit esteja abaixo da chamada do framework.

Aviso

Se você está utilizando um framework para ZSH, o plugin do asdf pode precisar ser atualizado para utilização adequada do novo auto completar do ZSH através do fpath. O plugin do asdf para o oh-my-zsh ainda não foi atualizado, veja: ohmyzsh/ohmyzsh#8837.

ZSH & Homebrew

Adicione asdf.sh ao seu ~/.zshrc através do comando:

shell
echo -e "\\n. $(brew --prefix asdf)/asdf.sh" >> \${ZDOTDIR:-~}/.zshrc

OU utilize um framework para ZSH, como asdf para oh-my-zsh que irá adicionar o script e o auto completar.

O auto completar pode ser configurado ou pelo framework para ZSH, ou de acordo com as instruções da Homebrew. Se você está usando um framework para ZSH, pode ser que seja necessário atualizar o plugin do asdf para que o novo auto completar funcione adequadamente através do fpath. O plugin do asdf para o Oh-My-ZSH ainda será atualizado, veja: ohmyzsh/ohmyzsh#8837.

ZSH & Pacman

Adicione a seguinte linha ao seu ~/.zshrc:

shell
. /opt/asdf-vm/asdf.sh
PowerShell Core & Git

Adicione a seguinte linha ao seu ~/.config/powershell/profile.ps1:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

Adicione asdf.ps1 ao seu ~/.config/powershell/profile.ps1 através do comando:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.ps1\\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

Adicione a seguinte linha ao seu ~/.config/powershell/profile.ps1:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

Ao concluir atualizará automaticamente

Nushell & Homebrew

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

Ao concluir atualizará automaticamente

Nushell & Pacman

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\\n$env.ASDF_DIR = '/opt/asdf-vm/'\\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

Ao concluir atualizará automaticamente

POSIX Shell & Git

Adicione a seguinte linha ao seu ~/.profile:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

Adicione asdf.sh ao ~/.profile através do comando:

shell
echo -e "\\nexport ASDF_DIR=\\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
+echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
POSIX Shell & Pacman

Adicione a seguinte linha ao seu ~/.profile:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

O auto completar é colocado em um local familiar para o ZSH, mas o ZSH deve ser configurado para conseguir utilizá-lo. :::

Os scripts do asdf precisam ser chamados depois de ter configurado a sua variável $PATH e depois de ter chamado o seu framework para ZSH (oh-my-zsh etc).

Reinicie seu shell para que as mudanças na variável PATH tenham efeito. Abrir uma nova janela/sessão de terminal o fará.

4. Instalando um plugin

Para demonstração, vamos instalar e configurar o Node.js através do plugin asdf-nodejs.

Dependências dos plugins

Cada plugin possui algumas dependências, por isso precisamos checar no repositório onde elas estão listadas. Por exemplo, para o asdf-nodejs são:

SOInstalação de dependencia
Linux (Debian)apt-get install dirmngr gpg curl gawk
macOSbrew install gpg gawk

Devemos instalar instalar as dependências primeiro, pois alguns plugins exigem algumas ações após a instalação.

Instalando o plugin

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. Instalando uma versão

Agora temos o plugin para o Node.js, nós podemos instalar uma versão desta ferramenta.

Podemos ver quais versões tão disponíveis através do comando asdf list all nodejs, ou uma lista específica de versões com asdf list all nodejs 14

Vamos instalar somente a última versão disponível, utilizando a tag latest:

shell
asdf install nodejs latest

Nota

asdf exige versões exatas. A palavra latest resulta na instalação da versão atual na data da execução.

6. Definindo uma versão

asdf executa uma verificação das versões das ferramentas a serem utilizadas através do arquivo .tool-versions presente desde diretório atual, até o diretório $HOME. A varredura ocorre no momento em que você executa uma ferramenta que o asdf gerencia.

WARNING

Se uma versão não for especificada para uma ferramenta, ao executá-la resultará em erro. asdf current mostrará a ferramenta e sua versão, ou então a falta dela no seu diretório atual para que você possa observar quais ferramentas falharão ao serem executadas.

Versões globais

Os padrões globais são gerenciados em $HOME/.tool-versions. Defina uma versão global através do comando:

shell
asdf global nodejs latest

$HOME/.tool-versions ficará assim:

nodejs 16.5.0

Alguns sistemas operacionais vêm por padrão com ferramentas que são gerenciadas pelo próprio sistema e não pelo asdf, python é um exemplo. Você precisa indicar para o asdf para devolver o gerenciamento para o sistema. A seção de referência de versões irá guiá-lo.

Versões locais

Versões locais são definidas no arquivo $PWD/.tool-versions (seu diretório atual). Geralmente, será um repositório Git para um projeto. Quando estiver no diretório desejado, execute:

shell
asdf local nodejs latest

$PWD/.tool-versions ficará assim:

nodejs 16.5.0

Usando arquivos de versão existentes

asdf suporta a migração de arquivos de versão provenientes de outros gerenciadores de versão. Por exemplo: .ruby-version para o rbenv. Essa funcionalidade é baseada no plugin de cada ferramenta.

O asdf-nodejs suporta tanto arquivos .nvmrc quanto .node-version. Para ativar essa funcionalidade, adicione a seguinte linha ao seu arquivo de configuração do asdf - $HOME/.asdfrc:

legacy_version_file = yes

Veja a página de refencia da configuração para mais opções de configuração.

Setup finalizado!

A configuração inicial do asdf foi finalizada 🎉. Agora, você pode gerenciar versões do nodejs para o seus projetos. Siga passos semelhantes para cada ferramenta do seu projeto.

O asdf possui diversos outros comandos para se acustomar ainda, você pode ver todos eles através do comando asdf --help ou simplesmente asdf. Eles estão divididos em três categorias:

`,79)]))}const g=a(l,[["render",n]]);export{k as __pageData,g as default}; diff --git a/assets/pt-br_guide_introduction.md.C231JBSG.js b/assets/pt-br_guide_introduction.md.C231JBSG.js new file mode 100644 index 00000000..6e4988e3 --- /dev/null +++ b/assets/pt-br_guide_introduction.md.C231JBSG.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as s}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"Introdução","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/guide/introduction.md","filePath":"pt-br/guide/introduction.md","lastUpdated":1643288544000}'),t={name:"pt-br/guide/introduction.md"};function n(i,e,d,c,m,u){return s(),o("div",null,e[0]||(e[0]=[r('

Introdução

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

O asdf é um gerenciador de versões. Todas as definições de versão das ferramentas estão contidas no arquivo (.tool-versions), o qual você pode compartilhar com o seu time no repositório Git de um projeto e garantir que todos estejam usando exatamente a mesma versão das ferramentas.

A maneira antiga de trabalhar necessitava diversos gerenciadores de versão, cada um deles com uma documentação, arquivos de configuração diferentes (manipulação do $PATH, shims e variáveis de ambiente, por exemplo). O asdf provê um único arquivo de configuração e uma única interface para simplificar o fluxo de desenvolvimento, podendo ser ampliado para todas as ferramentas através de um simples plugin.

Funcionamento

Após instalar e configurar o asdf no seu shell, plugins podem ser instalados para gerenciar determinadas ferramentas. Quando uma ferramenta é instalada por um plugin, os executáveis que foram instalados possuem shims criados para cada um deles. Quando você roda algum destes executáveis, o shim é executado, permitindo que o asdf identifique qual versão da ferramenta está configurada no arquivo .tool-versions e execute esta versão.

Projetos relacionados

nvm / n / rbenv etc

Ferramentas como o nvm, n e rbenv são escritas em shell scripts que criam shims para os executáveis instalados para essas ferramentas.

O asdf é bem similar e foi criado para competir neste meio de ferramentas de gerenciamento de versão. O grande diferencial do asdf é que seu sistema de plugins elimina a necessidade de um gerenciador de versões para cada ferramenta, esta com diferentes comandos e arquivos de configuração.

direnv

Aumenta os shells existentes com a possibilidade de utilizar diferentes variáveis de ambiente com base no diretório atual.

O asdf não gerencia variáveis de ambiente, entretanto existe o plugin asdf-direnv para integrar o comportamento do direnv ao asdf.

Veja a documentação do direnv para mais detalhes.

Homebrew

O gerenciador de pacotes faltante para o macOS (ou Linux)

O Homebrew gerencia seus pacotes e dependências destes pacotes. O asdf não gerencia dependencias, não é um gerenciador de pacotes, a escolha do gerenciador de pacotes é reservada ao usuário.

Veja a documentação do Homebrew para mais detalhes.

NixOS

O Nix é uma ferramenta que relaciona o gerenciamento de pacotes e as configurações de sistema.

O NixOS visa construir ambientes verdadeiramente replicáveis através da gerência das versões exatas dos pacotes e dependências de cada ferramenta, algo que o asdf não faz. O NixOS faz isso através da sua própria linguagem de programação, muitas ferramentas da linha de comando e uma coleção de pacotes contendo mais de 60,000 destes.

Novamente, o asdf não gerencia dependências/pacotes e não é um gerenciador de pacotes.

Veja a documentação do NixOS para mais detalhes.

Por que usar o asdf?

O asdf garante que equipes utilizem exatamente a mesma versão de alguma ferramenta, com suporte para diversas delas através do sistema de plugins e a simplicidade e familiaridade de ser um único shell script que você inclui na configuração do seu shell

Nota

O asdf não foi feito para ser o gerenciador de pacotes do seu sistema, mas sim uma ferramenta para gerenciar versões de outras ferramentas. Não é por que é possível criar um plugin para qualquer ferramenta/linguagem com o asdf que esta sempre será a solução mais adequada.

',26)]))}const f=a(t,[["render",n]]);export{p as __pageData,f as default}; diff --git a/assets/pt-br_guide_introduction.md.C231JBSG.lean.js b/assets/pt-br_guide_introduction.md.C231JBSG.lean.js new file mode 100644 index 00000000..6e4988e3 --- /dev/null +++ b/assets/pt-br_guide_introduction.md.C231JBSG.lean.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as s}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"Introdução","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/guide/introduction.md","filePath":"pt-br/guide/introduction.md","lastUpdated":1643288544000}'),t={name:"pt-br/guide/introduction.md"};function n(i,e,d,c,m,u){return s(),o("div",null,e[0]||(e[0]=[r('

Introdução

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

O asdf é um gerenciador de versões. Todas as definições de versão das ferramentas estão contidas no arquivo (.tool-versions), o qual você pode compartilhar com o seu time no repositório Git de um projeto e garantir que todos estejam usando exatamente a mesma versão das ferramentas.

A maneira antiga de trabalhar necessitava diversos gerenciadores de versão, cada um deles com uma documentação, arquivos de configuração diferentes (manipulação do $PATH, shims e variáveis de ambiente, por exemplo). O asdf provê um único arquivo de configuração e uma única interface para simplificar o fluxo de desenvolvimento, podendo ser ampliado para todas as ferramentas através de um simples plugin.

Funcionamento

Após instalar e configurar o asdf no seu shell, plugins podem ser instalados para gerenciar determinadas ferramentas. Quando uma ferramenta é instalada por um plugin, os executáveis que foram instalados possuem shims criados para cada um deles. Quando você roda algum destes executáveis, o shim é executado, permitindo que o asdf identifique qual versão da ferramenta está configurada no arquivo .tool-versions e execute esta versão.

Projetos relacionados

nvm / n / rbenv etc

Ferramentas como o nvm, n e rbenv são escritas em shell scripts que criam shims para os executáveis instalados para essas ferramentas.

O asdf é bem similar e foi criado para competir neste meio de ferramentas de gerenciamento de versão. O grande diferencial do asdf é que seu sistema de plugins elimina a necessidade de um gerenciador de versões para cada ferramenta, esta com diferentes comandos e arquivos de configuração.

direnv

Aumenta os shells existentes com a possibilidade de utilizar diferentes variáveis de ambiente com base no diretório atual.

O asdf não gerencia variáveis de ambiente, entretanto existe o plugin asdf-direnv para integrar o comportamento do direnv ao asdf.

Veja a documentação do direnv para mais detalhes.

Homebrew

O gerenciador de pacotes faltante para o macOS (ou Linux)

O Homebrew gerencia seus pacotes e dependências destes pacotes. O asdf não gerencia dependencias, não é um gerenciador de pacotes, a escolha do gerenciador de pacotes é reservada ao usuário.

Veja a documentação do Homebrew para mais detalhes.

NixOS

O Nix é uma ferramenta que relaciona o gerenciamento de pacotes e as configurações de sistema.

O NixOS visa construir ambientes verdadeiramente replicáveis através da gerência das versões exatas dos pacotes e dependências de cada ferramenta, algo que o asdf não faz. O NixOS faz isso através da sua própria linguagem de programação, muitas ferramentas da linha de comando e uma coleção de pacotes contendo mais de 60,000 destes.

Novamente, o asdf não gerencia dependências/pacotes e não é um gerenciador de pacotes.

Veja a documentação do NixOS para mais detalhes.

Por que usar o asdf?

O asdf garante que equipes utilizem exatamente a mesma versão de alguma ferramenta, com suporte para diversas delas através do sistema de plugins e a simplicidade e familiaridade de ser um único shell script que você inclui na configuração do seu shell

Nota

O asdf não foi feito para ser o gerenciador de pacotes do seu sistema, mas sim uma ferramenta para gerenciar versões de outras ferramentas. Não é por que é possível criar um plugin para qualquer ferramenta/linguagem com o asdf que esta sempre será a solução mais adequada.

',26)]))}const f=a(t,[["render",n]]);export{p as __pageData,f as default}; diff --git a/assets/pt-br_index.md.B18T-HnP.js b/assets/pt-br_index.md.B18T-HnP.js new file mode 100644 index 00000000..6c2e6168 --- /dev/null +++ b/assets/pt-br_index.md.B18T-HnP.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a}from"./chunks/framework.C9NVOr0y.js";const l=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"asdf","text":"O Gerenciador de Múltiplas Versões de Tempo de Execução","tagline":"Gerencie todas as suas versões de tempo de execução com uma ferramenta!","actions":[{"theme":"brand","text":"Começar","link":"/pt-br/guide/getting-started"},{"theme":"alt","text":"O que é asdf?","link":"/pt-br/guide/introduction"},{"theme":"alt","text":"Ver no GitHub","link":"https://github.com/asdf-vm/asdf"}]},"features":[{"title":"Uma super ferramenta","details":"Gerencie cada um dos runtimes e ferramentas dos seus projetos com uma única ferramenta de CLI","icon":"🎉"},{"title":"Plugins","details":"Grande ecossistema de runtimes e ferramentas existentes. API simples para adicionar suporte para novas ferramentas conforme necessário!","icon":"🔌"},{"title":"Compatível com vários arquivos de configuração","details":"Suporte para arquivos de configuração existentes .nvmrc, .node-version, .ruby-version para uma migração tranquila!","icon":"⏮"},{"title":"Só um arquivo de configuração","details":".tool-versions para gerenciar todas as suas ferramentas, runtimes e suas versões em um único arquivo","icon":"📄"},{"title":"Shells","details":"Suporta Bash, ZSH, Fish & Elvish com autocomplete.","icon":"🐚"},{"title":"GitHub Actions","details":"Fornece um GitHub Action para instalar e utilizar seu .tool-verions em seu fluxo de trabalho CICD.","icon":"🤖"}]},"headers":[],"relativePath":"pt-br/index.md","filePath":"pt-br/index.md","lastUpdated":1700090238000}'),r={name:"pt-br/index.md"};function s(o,i,n,d,m,c){return a(),t("div")}const p=e(r,[["render",s]]);export{l as __pageData,p as default}; diff --git a/assets/pt-br_index.md.B18T-HnP.lean.js b/assets/pt-br_index.md.B18T-HnP.lean.js new file mode 100644 index 00000000..6c2e6168 --- /dev/null +++ b/assets/pt-br_index.md.B18T-HnP.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a}from"./chunks/framework.C9NVOr0y.js";const l=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"asdf","text":"O Gerenciador de Múltiplas Versões de Tempo de Execução","tagline":"Gerencie todas as suas versões de tempo de execução com uma ferramenta!","actions":[{"theme":"brand","text":"Começar","link":"/pt-br/guide/getting-started"},{"theme":"alt","text":"O que é asdf?","link":"/pt-br/guide/introduction"},{"theme":"alt","text":"Ver no GitHub","link":"https://github.com/asdf-vm/asdf"}]},"features":[{"title":"Uma super ferramenta","details":"Gerencie cada um dos runtimes e ferramentas dos seus projetos com uma única ferramenta de CLI","icon":"🎉"},{"title":"Plugins","details":"Grande ecossistema de runtimes e ferramentas existentes. API simples para adicionar suporte para novas ferramentas conforme necessário!","icon":"🔌"},{"title":"Compatível com vários arquivos de configuração","details":"Suporte para arquivos de configuração existentes .nvmrc, .node-version, .ruby-version para uma migração tranquila!","icon":"⏮"},{"title":"Só um arquivo de configuração","details":".tool-versions para gerenciar todas as suas ferramentas, runtimes e suas versões em um único arquivo","icon":"📄"},{"title":"Shells","details":"Suporta Bash, ZSH, Fish & Elvish com autocomplete.","icon":"🐚"},{"title":"GitHub Actions","details":"Fornece um GitHub Action para instalar e utilizar seu .tool-verions em seu fluxo de trabalho CICD.","icon":"🤖"}]},"headers":[],"relativePath":"pt-br/index.md","filePath":"pt-br/index.md","lastUpdated":1700090238000}'),r={name:"pt-br/index.md"};function s(o,i,n,d,m,c){return a(),t("div")}const p=e(r,[["render",s]]);export{l as __pageData,p as default}; diff --git a/assets/pt-br_manage_commands.md.C9u0wbDc.js b/assets/pt-br_manage_commands.md.C9u0wbDc.js new file mode 100644 index 00000000..c784ed82 --- /dev/null +++ b/assets/pt-br_manage_commands.md.C9u0wbDc.js @@ -0,0 +1,66 @@ +import{_ as a,c as n,a2 as e,o as p}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"All Commands","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/commands.md","filePath":"pt-br/manage/commands.md","lastUpdated":1687069487000}'),l={name:"pt-br/manage/commands.md"};function t(i,s,o,c,r,d){return p(),n("div",null,s[0]||(s[0]=[e(`

All Commands

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A lista de todos os comandos disponíveis em asdf. Esta lista é o texto do comando asdf help.

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        \`ASDF_\${LANG}_VERSION\` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: \`env\`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
`,4)]))}const f=a(l,[["render",t]]);export{m as __pageData,f as default}; diff --git a/assets/pt-br_manage_commands.md.C9u0wbDc.lean.js b/assets/pt-br_manage_commands.md.C9u0wbDc.lean.js new file mode 100644 index 00000000..c784ed82 --- /dev/null +++ b/assets/pt-br_manage_commands.md.C9u0wbDc.lean.js @@ -0,0 +1,66 @@ +import{_ as a,c as n,a2 as e,o as p}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"All Commands","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/commands.md","filePath":"pt-br/manage/commands.md","lastUpdated":1687069487000}'),l={name:"pt-br/manage/commands.md"};function t(i,s,o,c,r,d){return p(),n("div",null,s[0]||(s[0]=[e(`

All Commands

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A lista de todos os comandos disponíveis em asdf. Esta lista é o texto do comando asdf help.

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        \`ASDF_\${LANG}_VERSION\` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: \`env\`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
`,4)]))}const f=a(l,[["render",t]]);export{m as __pageData,f as default}; diff --git a/assets/pt-br_manage_configuration.md.Bo5UByU1.js b/assets/pt-br_manage_configuration.md.Bo5UByU1.js new file mode 100644 index 00000000..93b3ff71 --- /dev/null +++ b/assets/pt-br_manage_configuration.md.Bo5UByU1.js @@ -0,0 +1 @@ +import{_ as o,c as a,a2 as s,o as d}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/configuration.md","filePath":"pt-br/manage/configuration.md","lastUpdated":1687069487000}'),i={name:"pt-br/manage/configuration.md"};function r(c,e,n,t,l,p){return d(),a("div",null,e[0]||(e[0]=[s('

Configuration

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A configuração do asdf abrange tanto os arquivos .tool-versions compartilháveis quanto as personalizações específicas do usuário com .asdfrc e variáveis de ambiente.

.tool-versions

Sempre que o arquivo .tool-versions estiver presente em um diretório, as versões da ferramenta que ele declara serão usadas nesse diretório e em seus subdiretórios.

Configurações globais podem ser modificadas no arquivo $HOME/.tool-versions

O arquivo .tool-versions se parece assim:

ruby 2.5.3\nnodejs 10.15.0

As versões podem estar no seguinte formato:

  • 10.15.0 - uma versão real. Os plugins que suportam o download de binários farão o download de binários.
  • ref:v1.0.2-a ou ref:39cb398vb39 - tag/commit/branch para download pelo github e compilação um path costumizado e compi
  • path:~/src/elixir - um path para uma versão compilada e personalizada de uma ferramenta pronta para usar. Para uso por linguagens de desenvolvimento e outros.
  • system - faz com que asdf passe para a versão da ferramenta no sistema que não é gerenciada por asdf .

Várias versões podem ser definidas, separando-as com um espaço. Por exemplo, para usar Python 3.7.2, e também Python 2.7.15, use a linha abaixo em seu arquivo .tool-versions.

python 3.7.2 2.7.15 system

Para instalar todas as ferramentas definidas em .tool-versions, execute o camando asdf install sem argumentos no mesmo diretório de .tool-versions.

Para isntalar somente uma ferramenta definida em .tool-versions, execute o camando asdf install sem argumentos no mesmo diretório de .tool-versions. A ferramenta será instalada na versão especificada no arquivo .tool-versions.

Edite o arquivo diretamente no diretório ou use asdf local (ou asdf global) para atualiza-lo.

$HOME/.asdfrc

Adicione um arquivo .asdfrc ao seu diretório home e asdf usará as configurações especificadas no arquivo. O arquivo deve ser formatado assim:

legacy_version_file = yes

Configurações

  • legacy_version_file - por padrão é no. Se definido como yes, fará com que os plug-ins que suportam esse recurso leiam os arquivos de versão usados por outros gerenciadores de versão (por exemplo, .ruby-version no caso do rbenv do Ruby).

  • use_release_candidates - por padrão é no. Se definido como yes, fará com que o comando asdf update atualize para o mais recente em vez da versão semântica mais recente.

  • always_keep_download - por padrão é no. Se definido como yes, fará com que o asdf install sempre mantenha o código-fonte ou binário baixado. Se definido como no, o código fonte ou binário baixado por asdf install será excluído após a instalação bem sucedida.

  • plugin_repository_last_check_duration - por padrão é 60 min (1 hrs). Ele define a duração da última verificação do repositório de plugins asdf. Quando o comando asdf plugin add <nome>, asdf plugin list all for executado, ele verificará a duração da última atualização para atualizar o repositório. Se definido como 0, ele atualizará o repositório de plugins asdf todas as vezes.

Variáveis de ambiente

  • ASDF_CONFIG_FILE - O padrão é ~ /.asdfrc conforme descrito acima. Pode ser definido para qualquer local.
  • ASDF_DEFAULT_TOOL_VERSIONS_FILENAME - O nome do arquivo que armazena os nomes e versões das ferramentas. O padrão é .tool-versions. Pode ser qualquer nome de arquivo válido. Normalmente você não deve substituir o valor padrão, a menos que deseja que o asdf ignore os arquivos .tool-versions.
  • ASDF_DIR - O padrão é ~/.asdf - Localização dos arquivos asdf. Se você instalar asdf em algum outro diretório, defina-o para esse diretório. Por exemplo, se você estiver instalando através do AUR, você deve definir isso para /opt/asdf-vm.
  • ASDF_DATA_DIR - O padrão é ~/.asdf - Local onde asdf instala plugins, correções e instalações. Pode ser definido para qualquer local antes de fornecer asdf.sh ou asdf.fish mencionado na seção acima. Para Elvish, isso pode ser definido acima de use asdf.
',22)]))}const f=o(i,[["render",r]]);export{m as __pageData,f as default}; diff --git a/assets/pt-br_manage_configuration.md.Bo5UByU1.lean.js b/assets/pt-br_manage_configuration.md.Bo5UByU1.lean.js new file mode 100644 index 00000000..93b3ff71 --- /dev/null +++ b/assets/pt-br_manage_configuration.md.Bo5UByU1.lean.js @@ -0,0 +1 @@ +import{_ as o,c as a,a2 as s,o as d}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/configuration.md","filePath":"pt-br/manage/configuration.md","lastUpdated":1687069487000}'),i={name:"pt-br/manage/configuration.md"};function r(c,e,n,t,l,p){return d(),a("div",null,e[0]||(e[0]=[s('

Configuration

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A configuração do asdf abrange tanto os arquivos .tool-versions compartilháveis quanto as personalizações específicas do usuário com .asdfrc e variáveis de ambiente.

.tool-versions

Sempre que o arquivo .tool-versions estiver presente em um diretório, as versões da ferramenta que ele declara serão usadas nesse diretório e em seus subdiretórios.

Configurações globais podem ser modificadas no arquivo $HOME/.tool-versions

O arquivo .tool-versions se parece assim:

ruby 2.5.3\nnodejs 10.15.0

As versões podem estar no seguinte formato:

  • 10.15.0 - uma versão real. Os plugins que suportam o download de binários farão o download de binários.
  • ref:v1.0.2-a ou ref:39cb398vb39 - tag/commit/branch para download pelo github e compilação um path costumizado e compi
  • path:~/src/elixir - um path para uma versão compilada e personalizada de uma ferramenta pronta para usar. Para uso por linguagens de desenvolvimento e outros.
  • system - faz com que asdf passe para a versão da ferramenta no sistema que não é gerenciada por asdf .

Várias versões podem ser definidas, separando-as com um espaço. Por exemplo, para usar Python 3.7.2, e também Python 2.7.15, use a linha abaixo em seu arquivo .tool-versions.

python 3.7.2 2.7.15 system

Para instalar todas as ferramentas definidas em .tool-versions, execute o camando asdf install sem argumentos no mesmo diretório de .tool-versions.

Para isntalar somente uma ferramenta definida em .tool-versions, execute o camando asdf install sem argumentos no mesmo diretório de .tool-versions. A ferramenta será instalada na versão especificada no arquivo .tool-versions.

Edite o arquivo diretamente no diretório ou use asdf local (ou asdf global) para atualiza-lo.

$HOME/.asdfrc

Adicione um arquivo .asdfrc ao seu diretório home e asdf usará as configurações especificadas no arquivo. O arquivo deve ser formatado assim:

legacy_version_file = yes

Configurações

  • legacy_version_file - por padrão é no. Se definido como yes, fará com que os plug-ins que suportam esse recurso leiam os arquivos de versão usados por outros gerenciadores de versão (por exemplo, .ruby-version no caso do rbenv do Ruby).

  • use_release_candidates - por padrão é no. Se definido como yes, fará com que o comando asdf update atualize para o mais recente em vez da versão semântica mais recente.

  • always_keep_download - por padrão é no. Se definido como yes, fará com que o asdf install sempre mantenha o código-fonte ou binário baixado. Se definido como no, o código fonte ou binário baixado por asdf install será excluído após a instalação bem sucedida.

  • plugin_repository_last_check_duration - por padrão é 60 min (1 hrs). Ele define a duração da última verificação do repositório de plugins asdf. Quando o comando asdf plugin add <nome>, asdf plugin list all for executado, ele verificará a duração da última atualização para atualizar o repositório. Se definido como 0, ele atualizará o repositório de plugins asdf todas as vezes.

Variáveis de ambiente

  • ASDF_CONFIG_FILE - O padrão é ~ /.asdfrc conforme descrito acima. Pode ser definido para qualquer local.
  • ASDF_DEFAULT_TOOL_VERSIONS_FILENAME - O nome do arquivo que armazena os nomes e versões das ferramentas. O padrão é .tool-versions. Pode ser qualquer nome de arquivo válido. Normalmente você não deve substituir o valor padrão, a menos que deseja que o asdf ignore os arquivos .tool-versions.
  • ASDF_DIR - O padrão é ~/.asdf - Localização dos arquivos asdf. Se você instalar asdf em algum outro diretório, defina-o para esse diretório. Por exemplo, se você estiver instalando através do AUR, você deve definir isso para /opt/asdf-vm.
  • ASDF_DATA_DIR - O padrão é ~/.asdf - Local onde asdf instala plugins, correções e instalações. Pode ser definido para qualquer local antes de fornecer asdf.sh ou asdf.fish mencionado na seção acima. Para Elvish, isso pode ser definido acima de use asdf.
',22)]))}const f=o(i,[["render",r]]);export{m as __pageData,f as default}; diff --git a/assets/pt-br_manage_core.md.CTnvZ9A5.js b/assets/pt-br_manage_core.md.CTnvZ9A5.js new file mode 100644 index 00000000..e5e0f510 --- /dev/null +++ b/assets/pt-br_manage_core.md.CTnvZ9A5.js @@ -0,0 +1,18 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Core","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/core.md","filePath":"pt-br/manage/core.md","lastUpdated":1687069487000}'),l={name:"pt-br/manage/core.md"};function h(n,s,p,d,k,o){return t(),a("div",null,s[0]||(s[0]=[e(`

Core

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A lista de comandos do núcleo asdf é bastante pequena, mas pode facilitar muitos fluxos de trabalho.

Instalação e configuração

Baseado no Guia de Introdução.

Execute

shell
asdf exec <command> [args...]

Executa o comando shim para a versão atual

Variável de Ambiente

shell
asdf env <command> [util]

Informações

shell
asdf info

Um comando auxiliar para imprimir as informações de depuração do SO, Shell e asdf. Compartilhe isso ao fazer um relatório de bug.

Reshim

shell
asdf reshim <name> <version>

Isso recria os shims para a versão atual de um pacote. Por padrão, os calços são criados por plugins durante a instalação de uma ferramenta. Algumas ferramentas como a npm CLI permitem a instalação global de executáveis, por exemplo, instalando Yarn via npm install -g fio. Como este executável não foi instalado por meio do ciclo de vida do plug-in, ainda não existe shim para ele. asdf reshim nodejs <version> forçará o recálculo de shims para quaisquer novos executáveis, como yarn, para <version> de nodejs.

Versionamento do Shim

shell
asdf shim-versions <command>

Lista os plugins e versões que fornecem shims para um comando.

Como exemplo, o Node.js vem com dois executáveis, node e npm. Quando muitas versões das ferramentas são instaladas com asdf-nodejs shim-versions pode retornar:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

Atualizar

asdf tem um comando embutido para atualização que depende do Git (nosso método de instalação recomendado). Se você instalou usando um método diferente, siga as etapas para esse método:

MethodLatest Stable ReleaseLatest commit on master
asdf (via Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
PacmanObter manualmente um novo PKGBUILD e
reconstruir ou usar suas preferências de AUR.

Desinstalar

Para desinstalar asdf siga os passos:

Bash & Git
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. Em seu ~/.bash_profile remova as linhas do asdf.sh e remova seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e remova seus complementos:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

?> Os complementos precisam instruções de configuração do Homebrew e siga o guia de remoção.

  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

Caso esteja usando macOs Catalina ou mais recente, por padrão o shell é ZSH. Se não achar alguma configuração em seu ~/.bash_profile talvez esteja em ~/.zshrc em cada caso siga as intruções do ZSH.

  1. Em seu ~/.bash_profile remova as linhas do asdf.sh e remova seus complementos:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

?> Os complementos precisam instruções de configuração do Homebrew e siga o guia de remoção.

  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e seus complementos:
shell
. /opt/asdf-vm/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.sh:
shell
source ~/.asdf/asdf.fish

e remova os complementos de com esse comando:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.fish:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.fish:
shell
source /opt/asdf-vm/asdf.fish
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Remova o diretório $HOME/.asdf:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Desinstale com seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Desinstale com seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $ HOME/.asdf:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. Em seu ~/.zshrc remova as linhas do asdf.sh e seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(\${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

Ou use ZSH Framework plugin.

  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. Em seu ~/.zshrc remova as linhas do asdf.sh:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. Em seu ~/.zshrc remova as linhas do asdf.sh:
shell
. /opt/asdf-vm/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

Tudo pronto! 🎉

`,42)]))}const g=i(l,[["render",h]]);export{c as __pageData,g as default}; diff --git a/assets/pt-br_manage_core.md.CTnvZ9A5.lean.js b/assets/pt-br_manage_core.md.CTnvZ9A5.lean.js new file mode 100644 index 00000000..e5e0f510 --- /dev/null +++ b/assets/pt-br_manage_core.md.CTnvZ9A5.lean.js @@ -0,0 +1,18 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Core","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/core.md","filePath":"pt-br/manage/core.md","lastUpdated":1687069487000}'),l={name:"pt-br/manage/core.md"};function h(n,s,p,d,k,o){return t(),a("div",null,s[0]||(s[0]=[e(`

Core

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A lista de comandos do núcleo asdf é bastante pequena, mas pode facilitar muitos fluxos de trabalho.

Instalação e configuração

Baseado no Guia de Introdução.

Execute

shell
asdf exec <command> [args...]

Executa o comando shim para a versão atual

Variável de Ambiente

shell
asdf env <command> [util]

Informações

shell
asdf info

Um comando auxiliar para imprimir as informações de depuração do SO, Shell e asdf. Compartilhe isso ao fazer um relatório de bug.

Reshim

shell
asdf reshim <name> <version>

Isso recria os shims para a versão atual de um pacote. Por padrão, os calços são criados por plugins durante a instalação de uma ferramenta. Algumas ferramentas como a npm CLI permitem a instalação global de executáveis, por exemplo, instalando Yarn via npm install -g fio. Como este executável não foi instalado por meio do ciclo de vida do plug-in, ainda não existe shim para ele. asdf reshim nodejs <version> forçará o recálculo de shims para quaisquer novos executáveis, como yarn, para <version> de nodejs.

Versionamento do Shim

shell
asdf shim-versions <command>

Lista os plugins e versões que fornecem shims para um comando.

Como exemplo, o Node.js vem com dois executáveis, node e npm. Quando muitas versões das ferramentas são instaladas com asdf-nodejs shim-versions pode retornar:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

Atualizar

asdf tem um comando embutido para atualização que depende do Git (nosso método de instalação recomendado). Se você instalou usando um método diferente, siga as etapas para esse método:

MethodLatest Stable ReleaseLatest commit on master
asdf (via Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
PacmanObter manualmente um novo PKGBUILD e
reconstruir ou usar suas preferências de AUR.

Desinstalar

Para desinstalar asdf siga os passos:

Bash & Git
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. Em seu ~/.bash_profile remova as linhas do asdf.sh e remova seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e remova seus complementos:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

?> Os complementos precisam instruções de configuração do Homebrew e siga o guia de remoção.

  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

Caso esteja usando macOs Catalina ou mais recente, por padrão o shell é ZSH. Se não achar alguma configuração em seu ~/.bash_profile talvez esteja em ~/.zshrc em cada caso siga as intruções do ZSH.

  1. Em seu ~/.bash_profile remova as linhas do asdf.sh e remova seus complementos:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

?> Os complementos precisam instruções de configuração do Homebrew e siga o guia de remoção.

  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e seus complementos:
shell
. /opt/asdf-vm/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.sh:
shell
source ~/.asdf/asdf.fish

e remova os complementos de com esse comando:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.fish:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.fish:
shell
source /opt/asdf-vm/asdf.fish
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Remova o diretório $HOME/.asdf:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Desinstale com seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Desinstale com seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $ HOME/.asdf:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. Em seu ~/.zshrc remova as linhas do asdf.sh e seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(\${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

Ou use ZSH Framework plugin.

  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. Em seu ~/.zshrc remova as linhas do asdf.sh:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. Em seu ~/.zshrc remova as linhas do asdf.sh:
shell
. /opt/asdf-vm/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

Tudo pronto! 🎉

`,42)]))}const g=i(l,[["render",h]]);export{c as __pageData,g as default}; diff --git a/assets/pt-br_manage_plugins.md.CuNF9gHf.js b/assets/pt-br_manage_plugins.md.CuNF9gHf.js new file mode 100644 index 00000000..4f3656fd --- /dev/null +++ b/assets/pt-br_manage_plugins.md.CuNF9gHf.js @@ -0,0 +1,11 @@ +import{_ as a,c as i,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Plugins","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/plugins.md","filePath":"pt-br/manage/plugins.md","lastUpdated":1687069487000}'),n={name:"pt-br/manage/plugins.md"};function l(p,s,o,d,h,r){return t(),i("div",null,s[0]||(s[0]=[e(`

Plugins

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Plugins são como asdf sabe lidar com diferentes ferramentas, tais quais Node.js, Ruby, Elixir etc.

Veja Criando Plugins para a API do plugin usada para suportar mais ferramentas.

Adicionar

Adicione os plugins via sua Url Git:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

ou pelo nome abreviado dentro do repositório de plugins:

shell
asdf plugin add <name>
+# asdf plugin add erlang

Recommendation

Prefira o método mais longo git-url, pois ele é independente do repositório de nome abreviado.

Listar Instalados

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

Listar todos nomes abreviados no repositório

shell
asdf plugin list all

Veja Plugins Shortname Index para toda a lista de nomes curtos de plugins.

Atualizar

shell
asdf plugin update --all

Se você quiser atualizar um pacote específico, apenas use.

shell
asdf plugin update <name>
+# asdf plugin update erlang

Esta atualização irá buscar o último commit na branch padrão no origin de seu respositório. Plugins e atualizações das versões estão sendo desenvolvidas (#916)

Remover

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

Removendo o plugin irá remover todas as instalações feitas com o plugin. Isso pode ser usado como um atalho para apagar/remover sujeiras de versões não utilizadas de uma ferramenta.

Sincronizar nome abreviado no repositório

O nome abreviado do repositório é sincronizado em seu máquina local e periodicamente atualizado. Esse período pode ser determinado com o seguinte método:

  • comandos asdf plugin add <name> ou asdf plugin list all disparam a sincronização
  • ocorre uma sincronização se não houver nenhuma nos últimos X minutos
  • X por padrão é 60, mas pode ser mudado em .asdfrc via as opções do plugin_repository_last_check_duration. Seja mais em asdf documentação de configuração.
`,27)]))}const g=a(n,[["render",l]]);export{c as __pageData,g as default}; diff --git a/assets/pt-br_manage_plugins.md.CuNF9gHf.lean.js b/assets/pt-br_manage_plugins.md.CuNF9gHf.lean.js new file mode 100644 index 00000000..4f3656fd --- /dev/null +++ b/assets/pt-br_manage_plugins.md.CuNF9gHf.lean.js @@ -0,0 +1,11 @@ +import{_ as a,c as i,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Plugins","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/plugins.md","filePath":"pt-br/manage/plugins.md","lastUpdated":1687069487000}'),n={name:"pt-br/manage/plugins.md"};function l(p,s,o,d,h,r){return t(),i("div",null,s[0]||(s[0]=[e(`

Plugins

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Plugins são como asdf sabe lidar com diferentes ferramentas, tais quais Node.js, Ruby, Elixir etc.

Veja Criando Plugins para a API do plugin usada para suportar mais ferramentas.

Adicionar

Adicione os plugins via sua Url Git:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

ou pelo nome abreviado dentro do repositório de plugins:

shell
asdf plugin add <name>
+# asdf plugin add erlang

Recommendation

Prefira o método mais longo git-url, pois ele é independente do repositório de nome abreviado.

Listar Instalados

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

Listar todos nomes abreviados no repositório

shell
asdf plugin list all

Veja Plugins Shortname Index para toda a lista de nomes curtos de plugins.

Atualizar

shell
asdf plugin update --all

Se você quiser atualizar um pacote específico, apenas use.

shell
asdf plugin update <name>
+# asdf plugin update erlang

Esta atualização irá buscar o último commit na branch padrão no origin de seu respositório. Plugins e atualizações das versões estão sendo desenvolvidas (#916)

Remover

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

Removendo o plugin irá remover todas as instalações feitas com o plugin. Isso pode ser usado como um atalho para apagar/remover sujeiras de versões não utilizadas de uma ferramenta.

Sincronizar nome abreviado no repositório

O nome abreviado do repositório é sincronizado em seu máquina local e periodicamente atualizado. Esse período pode ser determinado com o seguinte método:

  • comandos asdf plugin add <name> ou asdf plugin list all disparam a sincronização
  • ocorre uma sincronização se não houver nenhuma nos últimos X minutos
  • X por padrão é 60, mas pode ser mudado em .asdfrc via as opções do plugin_repository_last_check_duration. Seja mais em asdf documentação de configuração.
`,27)]))}const g=a(n,[["render",l]]);export{c as __pageData,g as default}; diff --git a/assets/pt-br_manage_versions.md.Ctc109hL.js b/assets/pt-br_manage_versions.md.Ctc109hL.js new file mode 100644 index 00000000..9739bf15 --- /dev/null +++ b/assets/pt-br_manage_versions.md.Ctc109hL.js @@ -0,0 +1,30 @@ +import{_ as a,c as i,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Versões","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/versions.md","filePath":"pt-br/manage/versions.md","lastUpdated":1687069487000}'),l={name:"pt-br/manage/versions.md"};function n(h,s,p,k,d,o){return t(),i("div",null,s[0]||(s[0]=[e(`

Versões

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Instalar Versão

shell
asdf install <name> <version>
+# asdf install erlang 17.3

Se um plugin suporta o download e compilação do código-fonte, você pode especificar ref:foo no qual foo é uma 'branch' especifica, 'tag', ou 'commit'. Você também precisará usar o mesmo nome e referência ao desinstalar.

Instalar última versão estável

shell
asdf install <name> latest
+# asdf install erlang latest

Instale a última versão estável que inicia com um texto.

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

Listar versões instaladas

shell
asdf list <name>
+# asdf list erlang

Limite as versões que inicie com um determinado texto.

shell
asdf list <name> <version>
+# asdf list erlang 17

Listar todas as versões disponíveis

shell
asdf list all <name>
+# asdf list all erlang

Limite as versões que inicie com um determinado texto.

shell
asdf list all <name> <version>
+# asdf list all erlang 17

Mostrar última versão estável

shell
asdf latest <name>
+# asdf latest erlang

Mostrar última versão estável que inicie com um determinado texto.

shell
asdf latest <name> <version>
+# asdf latest erlang 17

Selecionar versão atual

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global escreve a versão para $HOME/.tool-versions.

shell selecione a versão na variável de ambiente ASDF_\${LANG}_VERSION, para a atual seção do shell.

local escreve a versão para $PWD/.tool-versions, crie se necessário .

Veja em .tool-versions arquivo de seleção de configuração para mais detalhes.

Alternativa

Se você quiser selecionar a versão atual do seu shell ou para executar um comando em uma versão específica de sua ferramenta, você pode selecionar a versão na variável de ambiente ASDF_\${TOOL}_VERSION.

O seguinte exemplo executa os testes em um projeto Elixir na versão 1.4.0. O formato da versão é o mesmo suportado pelo arquivo .tool-versions.

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

Resposta do sistema de versão

Para usar o sistema de versão da ferramenta <name> inicie um gerenciador de versões do asdf para selecionar a versão na ferramenta do system.

Selecione o sistema com global, local ou shell Set system with either global, local or shell conforme descrito em Selecionar versão atual.

shell
asdf local <name> system
+# asdf local python system

Verificar a versão atual

shell
asdf current
+# asdf current
+# erlang 17.3 (set by /Users/kim/.tool-versions)
+# nodejs 6.11.5 (set by /Users/kim/cool-node-project/.tool-versions)
+
+asdf current <name>
+# asdf current erlang
+# 17.3 (set by /Users/kim/.tool-versions)

Desinstalar versão

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

Quando asdf instala um pacote é criado shims para cada programa executado no pacote do diretório $ASDF_DATA_DIR/shims (padrão ~/.asdf/shims). Esse diretório começa no $PATH (pelos asdf.sh, asdf.fish, etc) é como o programa instalado é disponibilizado no ambiente do sistema.

Os shims em si são atalhos simples que executam um programa auxiliar asdf exec passando o nome do plugin e o caminho para o executável no pacote instalado que o shim está contido.

O asdf exec ajuda a determinar a versão do pacote usado (como especificado no arquivo .tool-versions, pelo asdf local ... ou asdf global ...), o final do path do executavél no pacote instalado no diretório (pode ser manipulado pelo exec-path no callback do plugin) e o ambiente executado em (também fornecido pelo plugin - exec-env) e finalmente executado.

Observação

Observe que, como este sistema usa chamadas exec, qualquer scripts no pacote devem ser fornecidos pelo shell, a instancia em execução precisa ser aessado diretamente ao invés do shim. Os dois comandos do asdf: which e where pode ajudar com o retorno do caminho para o pacote instalado:

shell
# retorna o 'path' da versão atual em execução
+source $(asdf which \${PLUGIN})/../script.sh
+
+# retorna o 'path' do pacote instalado no diretório
+source $(asdf where \${PLUGIN} $(asdf current \${PLUGIN}))/bin/script.sh

Ignorando shims do asdf

Se por algum motivo você deseja ignorar shims do asdf ou deseja que suas variáveis de ambiente sejam definidas automaticamente ao entrar no diretório do seu projeto, pode ser útil o asdf-direnv. Verifique o README para mais detalhes.

`,46)]))}const g=a(l,[["render",n]]);export{c as __pageData,g as default}; diff --git a/assets/pt-br_manage_versions.md.Ctc109hL.lean.js b/assets/pt-br_manage_versions.md.Ctc109hL.lean.js new file mode 100644 index 00000000..9739bf15 --- /dev/null +++ b/assets/pt-br_manage_versions.md.Ctc109hL.lean.js @@ -0,0 +1,30 @@ +import{_ as a,c as i,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"Versões","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/manage/versions.md","filePath":"pt-br/manage/versions.md","lastUpdated":1687069487000}'),l={name:"pt-br/manage/versions.md"};function n(h,s,p,k,d,o){return t(),i("div",null,s[0]||(s[0]=[e(`

Versões

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Instalar Versão

shell
asdf install <name> <version>
+# asdf install erlang 17.3

Se um plugin suporta o download e compilação do código-fonte, você pode especificar ref:foo no qual foo é uma 'branch' especifica, 'tag', ou 'commit'. Você também precisará usar o mesmo nome e referência ao desinstalar.

Instalar última versão estável

shell
asdf install <name> latest
+# asdf install erlang latest

Instale a última versão estável que inicia com um texto.

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

Listar versões instaladas

shell
asdf list <name>
+# asdf list erlang

Limite as versões que inicie com um determinado texto.

shell
asdf list <name> <version>
+# asdf list erlang 17

Listar todas as versões disponíveis

shell
asdf list all <name>
+# asdf list all erlang

Limite as versões que inicie com um determinado texto.

shell
asdf list all <name> <version>
+# asdf list all erlang 17

Mostrar última versão estável

shell
asdf latest <name>
+# asdf latest erlang

Mostrar última versão estável que inicie com um determinado texto.

shell
asdf latest <name> <version>
+# asdf latest erlang 17

Selecionar versão atual

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global escreve a versão para $HOME/.tool-versions.

shell selecione a versão na variável de ambiente ASDF_\${LANG}_VERSION, para a atual seção do shell.

local escreve a versão para $PWD/.tool-versions, crie se necessário .

Veja em .tool-versions arquivo de seleção de configuração para mais detalhes.

Alternativa

Se você quiser selecionar a versão atual do seu shell ou para executar um comando em uma versão específica de sua ferramenta, você pode selecionar a versão na variável de ambiente ASDF_\${TOOL}_VERSION.

O seguinte exemplo executa os testes em um projeto Elixir na versão 1.4.0. O formato da versão é o mesmo suportado pelo arquivo .tool-versions.

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

Resposta do sistema de versão

Para usar o sistema de versão da ferramenta <name> inicie um gerenciador de versões do asdf para selecionar a versão na ferramenta do system.

Selecione o sistema com global, local ou shell Set system with either global, local or shell conforme descrito em Selecionar versão atual.

shell
asdf local <name> system
+# asdf local python system

Verificar a versão atual

shell
asdf current
+# asdf current
+# erlang 17.3 (set by /Users/kim/.tool-versions)
+# nodejs 6.11.5 (set by /Users/kim/cool-node-project/.tool-versions)
+
+asdf current <name>
+# asdf current erlang
+# 17.3 (set by /Users/kim/.tool-versions)

Desinstalar versão

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

Quando asdf instala um pacote é criado shims para cada programa executado no pacote do diretório $ASDF_DATA_DIR/shims (padrão ~/.asdf/shims). Esse diretório começa no $PATH (pelos asdf.sh, asdf.fish, etc) é como o programa instalado é disponibilizado no ambiente do sistema.

Os shims em si são atalhos simples que executam um programa auxiliar asdf exec passando o nome do plugin e o caminho para o executável no pacote instalado que o shim está contido.

O asdf exec ajuda a determinar a versão do pacote usado (como especificado no arquivo .tool-versions, pelo asdf local ... ou asdf global ...), o final do path do executavél no pacote instalado no diretório (pode ser manipulado pelo exec-path no callback do plugin) e o ambiente executado em (também fornecido pelo plugin - exec-env) e finalmente executado.

Observação

Observe que, como este sistema usa chamadas exec, qualquer scripts no pacote devem ser fornecidos pelo shell, a instancia em execução precisa ser aessado diretamente ao invés do shim. Os dois comandos do asdf: which e where pode ajudar com o retorno do caminho para o pacote instalado:

shell
# retorna o 'path' da versão atual em execução
+source $(asdf which \${PLUGIN})/../script.sh
+
+# retorna o 'path' do pacote instalado no diretório
+source $(asdf where \${PLUGIN} $(asdf current \${PLUGIN}))/bin/script.sh

Ignorando shims do asdf

Se por algum motivo você deseja ignorar shims do asdf ou deseja que suas variáveis de ambiente sejam definidas automaticamente ao entrar no diretório do seu projeto, pode ser útil o asdf-direnv. Verifique o README para mais detalhes.

`,46)]))}const g=a(l,[["render",n]]);export{c as __pageData,g as default}; diff --git a/assets/pt-br_more_community-projects.md.C3m600b2.js b/assets/pt-br_more_community-projects.md.C3m600b2.js new file mode 100644 index 00000000..16aff5bf --- /dev/null +++ b/assets/pt-br_more_community-projects.md.C3m600b2.js @@ -0,0 +1 @@ +import{_ as t,c as o,a2 as r,o as a}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"Community Projects","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/more/community-projects.md","filePath":"pt-br/more/community-projects.md","lastUpdated":1687069487000}'),s={name:"pt-br/more/community-projects.md"};function c(n,e,i,m,d,l){return a(),o("div",null,e[0]||(e[0]=[r('

Community Projects

Here are some community projects related to asdf:

Note

asdf core do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

',4)]))}const f=t(s,[["render",c]]);export{u as __pageData,f as default}; diff --git a/assets/pt-br_more_community-projects.md.C3m600b2.lean.js b/assets/pt-br_more_community-projects.md.C3m600b2.lean.js new file mode 100644 index 00000000..16aff5bf --- /dev/null +++ b/assets/pt-br_more_community-projects.md.C3m600b2.lean.js @@ -0,0 +1 @@ +import{_ as t,c as o,a2 as r,o as a}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"Community Projects","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/more/community-projects.md","filePath":"pt-br/more/community-projects.md","lastUpdated":1687069487000}'),s={name:"pt-br/more/community-projects.md"};function c(n,e,i,m,d,l){return a(),o("div",null,e[0]||(e[0]=[r('

Community Projects

Here are some community projects related to asdf:

Note

asdf core do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

',4)]))}const f=t(s,[["render",c]]);export{u as __pageData,f as default}; diff --git a/assets/pt-br_more_faq.md.Bch3gpm2.js b/assets/pt-br_more_faq.md.Bch3gpm2.js new file mode 100644 index 00000000..10ea5206 --- /dev/null +++ b/assets/pt-br_more_faq.md.Bch3gpm2.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as s}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"Perguntas frequentes","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/more/faq.md","filePath":"pt-br/more/faq.md","lastUpdated":1671778129000}'),t={name:"pt-br/more/faq.md"};function n(i,e,d,c,u,l){return s(),o("div",null,e[0]||(e[0]=[r('

Perguntas frequentes

Aqui estão algumas perguntas comuns sobre asdf.

Suporte WSL1?

WSL1 (Windows Subsystem for Linux 1) não é oficialmente suportado. Alguns aspectos do asdf podem não funcionar corretamente. Não temos a intenção de adicionar suporte oficial para WSL1.

Suporte WSL2?

WSL2 (Subsistema Windows para Linux 2) deve funcionar usando as instruções de configuração e dependência para a distribuição WSL escolhida.

É importante ressaltar que o WSL2 apenas deve funcionar corretamente quando o diretório de trabalho atual é uma unidade Unix e não uma unidade Windows vinculada.

Pretendemos executar o conjunto de testes no WSL2 quando o suporte ao host runner estiver disponível nas Ações do GitHub; atualmente, esse não parece ser o caso.

Exectable recém-instalado não está funcionando?

Acabei de instalar o npm -g yarn, mas não consigo executar o yarn. O que da?

asdf usa shims para gerenciar executáveis. Aqueles instalados por plug-ins têm shims criados automaticamente, enquanto a instalação de executáveis ​​por meio de uma ferramenta gerenciada asdf exigirá que você notifique oasdf sobre a necessidade de criar shims. Neste caso, para criar um shim para Yarn. Veja a documentação do comando [asdf reshim](/ manage / core.md # reshim).

Shell não detecta shims recém-instalados?

Se asdf reshim não está resolvendo seu problema, então é mais provável devido ao sourcing deasdf.sh ou asdf.fish não estar no ** BOTTOM ** de seu arquivo de configuração Shell (.bash_profile, .zshrc, config.fish, etc). Ele precisa ser fornecido DEPOIS de você definir seu $PATH e DEPOIS de ter fornecido seu framework (oh-meu-zsh etc), se houver.

',13)]))}const f=a(t,[["render",n]]);export{p as __pageData,f as default}; diff --git a/assets/pt-br_more_faq.md.Bch3gpm2.lean.js b/assets/pt-br_more_faq.md.Bch3gpm2.lean.js new file mode 100644 index 00000000..10ea5206 --- /dev/null +++ b/assets/pt-br_more_faq.md.Bch3gpm2.lean.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as s}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"Perguntas frequentes","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/more/faq.md","filePath":"pt-br/more/faq.md","lastUpdated":1671778129000}'),t={name:"pt-br/more/faq.md"};function n(i,e,d,c,u,l){return s(),o("div",null,e[0]||(e[0]=[r('

Perguntas frequentes

Aqui estão algumas perguntas comuns sobre asdf.

Suporte WSL1?

WSL1 (Windows Subsystem for Linux 1) não é oficialmente suportado. Alguns aspectos do asdf podem não funcionar corretamente. Não temos a intenção de adicionar suporte oficial para WSL1.

Suporte WSL2?

WSL2 (Subsistema Windows para Linux 2) deve funcionar usando as instruções de configuração e dependência para a distribuição WSL escolhida.

É importante ressaltar que o WSL2 apenas deve funcionar corretamente quando o diretório de trabalho atual é uma unidade Unix e não uma unidade Windows vinculada.

Pretendemos executar o conjunto de testes no WSL2 quando o suporte ao host runner estiver disponível nas Ações do GitHub; atualmente, esse não parece ser o caso.

Exectable recém-instalado não está funcionando?

Acabei de instalar o npm -g yarn, mas não consigo executar o yarn. O que da?

asdf usa shims para gerenciar executáveis. Aqueles instalados por plug-ins têm shims criados automaticamente, enquanto a instalação de executáveis ​​por meio de uma ferramenta gerenciada asdf exigirá que você notifique oasdf sobre a necessidade de criar shims. Neste caso, para criar um shim para Yarn. Veja a documentação do comando [asdf reshim](/ manage / core.md # reshim).

Shell não detecta shims recém-instalados?

Se asdf reshim não está resolvendo seu problema, então é mais provável devido ao sourcing deasdf.sh ou asdf.fish não estar no ** BOTTOM ** de seu arquivo de configuração Shell (.bash_profile, .zshrc, config.fish, etc). Ele precisa ser fornecido DEPOIS de você definir seu $PATH e DEPOIS de ter fornecido seu framework (oh-meu-zsh etc), se houver.

',13)]))}const f=a(t,[["render",n]]);export{p as __pageData,f as default}; diff --git a/assets/pt-br_more_thanks.md.BziNXVH9.js b/assets/pt-br_more_thanks.md.BziNXVH9.js new file mode 100644 index 00000000..787afdd7 --- /dev/null +++ b/assets/pt-br_more_thanks.md.BziNXVH9.js @@ -0,0 +1 @@ +import{_ as r,c as t,a2 as a,o}from"./chunks/framework.C9NVOr0y.js";const b=JSON.parse('{"title":"Créditos","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/more/thanks.md","filePath":"pt-br/more/thanks.md","lastUpdated":1671778129000}'),s={name:"pt-br/more/thanks.md"};function i(n,e,h,l,d,u){return o(),t("div",null,e[0]||(e[0]=[a('

Créditos

Eu (@HashNuke), febre alta, resfriado e tosse.

Copyright 2014 até o final dos tempos (MIT License)

Mantenedores

Contribuidores

Veja em lista de contribuidores 🙏 no GitHub

',7)]))}const f=r(s,[["render",i]]);export{b as __pageData,f as default}; diff --git a/assets/pt-br_more_thanks.md.BziNXVH9.lean.js b/assets/pt-br_more_thanks.md.BziNXVH9.lean.js new file mode 100644 index 00000000..787afdd7 --- /dev/null +++ b/assets/pt-br_more_thanks.md.BziNXVH9.lean.js @@ -0,0 +1 @@ +import{_ as r,c as t,a2 as a,o}from"./chunks/framework.C9NVOr0y.js";const b=JSON.parse('{"title":"Créditos","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/more/thanks.md","filePath":"pt-br/more/thanks.md","lastUpdated":1671778129000}'),s={name:"pt-br/more/thanks.md"};function i(n,e,h,l,d,u){return o(),t("div",null,e[0]||(e[0]=[a('

Créditos

Eu (@HashNuke), febre alta, resfriado e tosse.

Copyright 2014 até o final dos tempos (MIT License)

Mantenedores

Contribuidores

Veja em lista de contribuidores 🙏 no GitHub

',7)]))}const f=r(s,[["render",i]]);export{b as __pageData,f as default}; diff --git a/assets/pt-br_plugins_create.md.CnPY6mOB.js b/assets/pt-br_plugins_create.md.CnPY6mOB.js new file mode 100644 index 00000000..26743f82 --- /dev/null +++ b/assets/pt-br_plugins_create.md.CnPY6mOB.js @@ -0,0 +1,35 @@ +import{_ as s,c as e,a2 as i,o}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"Criar um plug-in","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/plugins/create.md","filePath":"pt-br/plugins/create.md","lastUpdated":1704804447000}'),n={name:"pt-br/plugins/create.md"};function t(l,a,p,d,r,h){return o(),e("div",null,a[0]||(a[0]=[i(`

Criar um plug-in

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

O que há em um plug-in

Um plugin é um repositório git, com alguns scripts executáveis, para dar suporte ao versionamento de outra linguagem ou ferramenta. Esses scripts são executados quando os comandos list-all, install ou uninstall são executados. Você pode definir ou desmarcar env vars e fazer qualquer coisa necessária para configurar o ambiente para a ferramenta.

Scripts obrigatórios

  • bin/list-all - lista todas as versões instaláveis
  • bin/download - baixe o código fonte ou binário para a versão especificada
  • bin/install - instala a versão especificada

Variavéis de Ambiente

Todos os scripts, exceto bin/list-all, terão acesso aos seguintes env vars para agir:

  • ASDF_INSTALL_TYPE - version ou ref
  • ASDF_INSTALL_VERSION - se ASDF_INSTALL_TYPE é version então este será o número da versão. Caso contrário, será o git ref que será passado. Pode apontar para uma tag/commit/branch no repositório.
  • ASDF_INSTALL_PATH - o diretório onde foi instalado (ou deve ser instalado no caso do script bin/install)

Essas variáveis de ambiente adicionais estarão disponíveis para o script bin/install:

  • ASDF_CONCURRENCY - o número de núcleos a serem usados ao compilar o código-fonte. Útil para definir make -j.
  • ASDF_DOWNLOAD_PATH - o caminho para onde o código fonte ou binário foi baixado pelo script bin/download.

Essas variáveis de ambiente adicionais estarão disponíveis para o script bin/download:

  • ASDF_DOWNLOAD_PATH - o caminho para onde o código-fonte ou binário deve ser baixado.

bin/list-all

Deve imprimir uma string com uma lista de versões separadas por espaço. A saída de exemplo seria a seguinte:

shell
1.0.1 1.0.2 1.3.0 1.4

Observe que a versão mais recente deve ser listada por último para que apareça mais próxima do prompt do usuário. Isso é útil já que o comando list-all imprime cada versão em sua própria linha. Se houver muitas versões, é possível que as primeiras versões fiquem fora da tela.

Se as versões estiverem sendo extraídas da página de lançamentos em um site, é recomendável não classificar as versões, se possível. Muitas vezes as versões já estão na ordem correta ou, na ordem inversa, nesse caso algo como tac deve ser suficiente. Se você precisar classificar as versões manualmente, não poderá confiar em sort -V, pois não é suportado no OSX. Uma função de classificação alternativa como esta é uma escolha melhor.

bin/download

Este script deve baixar o código fonte ou binário, no caminho contido na variável de ambiente ASDF_DOWNLOAD_PATH. Se o código-fonte ou binário baixado estiver compactado, apenas o código-fonte ou binário descompactado poderá ser colocado no diretório ASDF_DOWNLOAD_PATH.

O script deve sair com um status de 0 quando o download for bem-sucedido. Se o download falhar, o script deve sair com qualquer status de saída diferente de zero.

Se possível, o script deve apenas colocar arquivos no ASDF_DOWNLOAD_PATH. Se o download falhar, nenhum arquivo deve ser colocado no diretório.

Se este script não estiver presente, o asdf assumirá que o script bin/install está presente e fará o download e instalará a versão. asdf só funciona sem este script para suportar plugins legados. Todos os plugins devem incluir este script e, eventualmente, o suporte para plugins legados será removido.

bin/install

Este script deve instalar a versão, no caminho mencionado em ASDF_INSTALL_PATH. Por padrão, o asdf criará shims para qualquer arquivo em $ASDF_INSTALL_PATH/bin (isso pode ser personalizado com o script opcional bin/list-bin-paths).

O script de instalação deve sair com um status de 0 quando a instalação for bem-sucedida. Se a instalação falhar, o script deve sair com qualquer status de saída diferente de zero.

Se possível, o script deve apenas colocar os arquivos no diretório ASDF_INSTALL_PATH uma vez que a compilação e instalação da ferramenta são consideradas bem sucedidas pelo script de instalação. asdf verifica a existência do diretório ASDF_INSTALL_PATH para determinar se essa versão da ferramenta está instalado. Se o diretório ASDF_INSTALL_PATH for preenchido no início do processo de instalação, outros comandos asdf executados em outros terminais durante a instalação podem considerar essa versão da ferramenta instalada, mesmo quando não estiver totalmente instalada.

Se você quiser que seu plugin funcione com asdf versão 0.7._ e anterior e versão 0.8._ e mais recente, verifique a presença da variável de ambiente ASDF_DOWNLOAD_PATH. Se não estiver definido, baixe o código-fonte no retorno de chamada bin/install. Se estiver definido, suponha que o script bin/download já tenha baixado.

Scripts Opcional

scripts bin/help

Este não é um script de retorno de chamada, mas sim um conjunto de scripts de retorno de chamada que imprimem documentação diferente para STDOUT. Os scripts de retorno de chamada possíveis estão listados abaixo. Observe que bin/help.overview é um caso especial, pois deve estar presente para que qualquer saída de ajuda seja exibida para o script.

  • bin/help.overview - Este script deve gerar uma descrição geral sobre o plugin e a ferramenta que está sendo gerenciada. Nenhum título deve ser impresso, pois o asdf imprimirá títulos. A saída pode ser um texto de formato livre, mas idealmente apenas um parágrafo curto. Este script deve estar presente se você quiser que o asdf forneça informações de ajuda para seu plugin. Todos os outros scripts de retorno de chamada de ajuda são opcionais.
  • bin/help.deps - Esse script deve gerar a lista de dependências adaptadas ao sistema operacional. Uma dependência por linha.
  • bin/help.config - Este script deve imprimir qualquer configuração obrigatória ou opcional que possa estar disponível para o plug-in e a ferramenta. Quaisquer variáveis de ambiente ou outros sinalizadores necessários para instalar ou compilar a ferramenta (para o sistema operacional dos usuários quando possível). A saída pode ser texto de formato livre.
  • bin/help.links - Esta deve ser uma lista de links relevantes para o plug-in e a ferramenta (mais uma vez, adaptados ao sistema operacional atual, quando possível). Um link por linha. As linhas podem estar no formato <title>: <link> ou apenas <link>.

Cada um desses scripts deve adaptar sua saída ao sistema operacional atual. Por exemplo, quando no Ubuntu, o script deps pode gerar as dependências como pacotes apt-get que devem ser instalados. O script também deve adaptar sua saída ao valor de ASDF_INSTALL_VERSION e ASDF_INSTALL_TYPE quando as variáveis forem definidas. Eles são opcionais e nem sempre serão definidos.

O script de retorno de chamada de ajuda NÃO DEVE gerar nenhuma informação que já esteja coberta na documentação principal do asdf-vm. As informações gerais de uso do asdf não devem estar presentes.

bin/list-bin-paths

Liste os executáveis para a versão especificada da ferramenta. Deve imprimir uma string com uma lista separada por espaços de caminhos de diretórios que contêm executáveis. Os caminhos devem ser relativos ao caminho de instalação passado. A saída de exemplo seria:

shell
bin tools veggies

Isso instruirá o asdf a criar shims para os arquivos em <install-path>/bin, <install-path>/tools e <install-path>/veggies

Se este script não for especificado, o asdf procurará o diretório bin em uma instalação e criará shims para eles.

bin/exec-env

Configure o env para executar os binários no pacote.

bin/exec-path

Obtenha o caminho executável para a versão especificada da ferramenta. Deve imprimir uma string com o caminho executável relativo. Isso permite que o plug-in substitua condicionalmente o caminho executável especificado do shim, caso contrário, retorne o caminho padrão especificado pelo shim.

shell
Usage:
+  plugin/bin/exec-path <install-path> <command> <executable-path>
+
+Example Call:
+  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"
+
+Output:
+  bin/foox

bin/uninstall

Desinstala uma versão específica de uma ferramenta.

bin/list-legacy-filenames

Registre arquivos setter adicionais para este plugin. Deve imprimir uma string com uma lista de nomes de arquivos separados por espaços.

shell
.ruby-version .rvmrc

Nota: Isso só se aplica a usuários que habilitaram a opção legacy_version_file em seu ~/.asdfrc.

bin/parse-legacy-file

Isso pode ser usado para analisar ainda mais o arquivo legado encontrado pelo asdf. Se o parse-legacy-file não for implementado, o asdf simplesmente irá cat o arquivo para determinar a versão. O script receberá o caminho do arquivo como seu primeiro argumento.

bin/post-plugin-add

Isso pode ser usado para executar qualquer ação pós-instalação depois que o plug-in for adicionado ao asdf.

O script tem acesso ao caminho em que o plugin foi instalado (\${ASDF_PLUGIN_PATH}) e o URL de origem (\${ASDF_PLUGIN_SOURCE_URL}), se algum foi usado.

Veja também os ganchos relacionados:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_\${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_\${plugin_name}

bin/pre-plugin-remove

Isso pode ser usado para executar qualquer ação de pré-remoção antes que o plug-in seja removido do asdf.

O script tem acesso ao caminho em que o plugin foi instalado (\${ASDF_PLUGIN_PATH}).

Veja também os ganchos relacionados:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_\${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_\${plugin_name}

Comandos de extensão para asdf CLI.

É possível que plugins definam novos comandos asdf fornecendo scripts ou executáveis lib/commands/command*.bash que será chamado usando a interface de linha de comando asdf usando o nome do plug-in como um subcomando.

Por exemplo, suponha que um plugin foo tenha:

shell
foo/
+  lib/commands/
+    command.bash
+    command-bat.bash
+    command-bat-man.bash
+    command-help.bash

Os usuários agora podem executar

shell
$ asdf foo         # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash\`
+$ asdf foo bar     # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar\`
+$ asdf foo help    # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash\`
+$ asdf foo bat man # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash\`
+$ asdf foo bat baz # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz\`

Os autores de plugins podem usar esse recurso para fornecer utilitários relacionados às suas ferramentas, ou até mesmo criar plugins que são apenas novas extensões de comando para o próprio asdf.

Quando invocados, se os comandos de extensão não tiverem seus bits executáveis definidos, eles serão originado como scripts bash, tendo todas as funções de $ASDF_DIR/lib/utils.bash disponíveis. Além disso, o $ASDF_CMD_FILE resolve para o caminho completo do arquivo que está sendo originado. Se o bit executável estiver definido, eles são apenas executados e substituem a execução do asdf.

Um bom exemplo desse recurso é para plugins como haxe que fornece o asdf haxe neko-dylibs-link para corrigir um problema onde os executáveis haxe esperam encontrar bibliotecas dinâmicas relativas ao diretório executável.

Se o seu plug-in fornecer um comando de extensão asdf, certifique-se de mencioná-lo no README do seu plug-in.

Modelos de calços personalizados

POR FAVOR, use este recurso apenas se for absolutamente necessário

asdf permite modelos de calços personalizados. Para um executável chamado foo, se houver um arquivo shims/foo no plug-in, o asdf copiará esse arquivo em vez de usar seu modelo padrão de shim.

Isso deve ser usado com sabedoria. Por enquanto AFAIK, está sendo usado apenas no plugin Elixir, porque um executável também é lido como um arquivo Elixir, além de ser apenas um executável. O que torna impossível usar o calço bash padrão.

Testando plug-ins

asdf contém o comando plugin-test para testar seu plugin. Você pode usá-lo da seguinte forma

shell
asdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]

Apenas os dois primeiros argumentos são necessários. Se _version for especificado, a ferramenta será instalada com essa versão específica. O padrão é o que retorna asdf latest <plugin-name>. Se git-ref for especificado, o plug-in em si é verificado nesse commit/branch/tag, útil para testar um pull-request no CI do seu plug-in. O padrão é o branch default do repositório do plugin.

Os argumentos Rest são considerados o comando a ser executado para garantir que a ferramenta instalada funcione corretamente. Normalmente seria algo que leva --version ou --help. Por exemplo, para testar o plugin NodeJS, podemos executar

shell
asdf plugin test nodejs https://github.com/asdf-vm/asdf-nodejs.git node --version

É altamente recomendável que você teste seu plug-in em um ambiente CI e verifique se ele funciona no Linux e no OSX.

Exemplo GitHub Action

O repositório asdf-vm/actions fornece uma ação do GitHub para testar seus plugins hospedados no github.

yaml
steps:
+  - name: asdf_plugin_test
+    uses: asdf-vm/actions/plugin-test@v1
+    with:
+      command: "my_tool --version"
+    env:
+      GITHUB_API_TOKEN: \${{ secrets.GITHUB_TOKEN }} # automatically provided

Exemplo de configuração do TravisCI

Aqui está um arquivo .travis.yml de amostra, personalize-o de acordo com suas necessidades

yaml
language: c
+script: asdf plugin test nodejs $TRAVIS_BUILD_DIR 'node --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

Notas: Ao usar outro IC, você precisará verificar qual variável mapeia para o caminho do repositório.

Você também tem a opção de passar um caminho relativo para plugin-test.

Por exemplo, se o script de teste for executado no diretório: asdf plugin test nodejs . 'node --version'.

Limitação de taxa da API do GitHub

Se o list-all do seu plug-in depender do acesso à API do GitHub, certifique-se de fornecer um token de autorização ao acessá-lo, caso contrário, seus testes podem falhar devido à limitação de taxa.

Para fazer isso, crie um novo token pessoal com apenas acesso public_repo.

Em seguida, nas configurações de compilação do travis.ci, adicione uma variável de ambiente secure para ela chamada algo como GITHUB_API_TOKEN. E NUNCA publique seu token em seu código.

Finalmente, adicione algo como o seguinte para bin/list-all

shell
cmd="curl -s"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

Enviando plugins para o repositório oficial de plugins

asdf pode facilmente instalar plugins especificando o url do repositório de plugins, por exemplo. plugin add my-plugin https://github.com/user/asdf-my-plugin.git.

Para facilitar para seus usuários, você pode adicionar seu plugin ao repositório oficial de plugins para ter seu plugin listado e facilmente instalável usando um comando mais curto, por exemplo asdf plugin add my-plugin.

Siga as instruções no repositório de plugins: asdf-vm/asdf-plugins.

`,102)]))}const k=s(n,[["render",t]]);export{u as __pageData,k as default}; diff --git a/assets/pt-br_plugins_create.md.CnPY6mOB.lean.js b/assets/pt-br_plugins_create.md.CnPY6mOB.lean.js new file mode 100644 index 00000000..26743f82 --- /dev/null +++ b/assets/pt-br_plugins_create.md.CnPY6mOB.lean.js @@ -0,0 +1,35 @@ +import{_ as s,c as e,a2 as i,o}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"Criar um plug-in","description":"","frontmatter":{},"headers":[],"relativePath":"pt-br/plugins/create.md","filePath":"pt-br/plugins/create.md","lastUpdated":1704804447000}'),n={name:"pt-br/plugins/create.md"};function t(l,a,p,d,r,h){return o(),e("div",null,a[0]||(a[0]=[i(`

Criar um plug-in

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

O que há em um plug-in

Um plugin é um repositório git, com alguns scripts executáveis, para dar suporte ao versionamento de outra linguagem ou ferramenta. Esses scripts são executados quando os comandos list-all, install ou uninstall são executados. Você pode definir ou desmarcar env vars e fazer qualquer coisa necessária para configurar o ambiente para a ferramenta.

Scripts obrigatórios

  • bin/list-all - lista todas as versões instaláveis
  • bin/download - baixe o código fonte ou binário para a versão especificada
  • bin/install - instala a versão especificada

Variavéis de Ambiente

Todos os scripts, exceto bin/list-all, terão acesso aos seguintes env vars para agir:

  • ASDF_INSTALL_TYPE - version ou ref
  • ASDF_INSTALL_VERSION - se ASDF_INSTALL_TYPE é version então este será o número da versão. Caso contrário, será o git ref que será passado. Pode apontar para uma tag/commit/branch no repositório.
  • ASDF_INSTALL_PATH - o diretório onde foi instalado (ou deve ser instalado no caso do script bin/install)

Essas variáveis de ambiente adicionais estarão disponíveis para o script bin/install:

  • ASDF_CONCURRENCY - o número de núcleos a serem usados ao compilar o código-fonte. Útil para definir make -j.
  • ASDF_DOWNLOAD_PATH - o caminho para onde o código fonte ou binário foi baixado pelo script bin/download.

Essas variáveis de ambiente adicionais estarão disponíveis para o script bin/download:

  • ASDF_DOWNLOAD_PATH - o caminho para onde o código-fonte ou binário deve ser baixado.

bin/list-all

Deve imprimir uma string com uma lista de versões separadas por espaço. A saída de exemplo seria a seguinte:

shell
1.0.1 1.0.2 1.3.0 1.4

Observe que a versão mais recente deve ser listada por último para que apareça mais próxima do prompt do usuário. Isso é útil já que o comando list-all imprime cada versão em sua própria linha. Se houver muitas versões, é possível que as primeiras versões fiquem fora da tela.

Se as versões estiverem sendo extraídas da página de lançamentos em um site, é recomendável não classificar as versões, se possível. Muitas vezes as versões já estão na ordem correta ou, na ordem inversa, nesse caso algo como tac deve ser suficiente. Se você precisar classificar as versões manualmente, não poderá confiar em sort -V, pois não é suportado no OSX. Uma função de classificação alternativa como esta é uma escolha melhor.

bin/download

Este script deve baixar o código fonte ou binário, no caminho contido na variável de ambiente ASDF_DOWNLOAD_PATH. Se o código-fonte ou binário baixado estiver compactado, apenas o código-fonte ou binário descompactado poderá ser colocado no diretório ASDF_DOWNLOAD_PATH.

O script deve sair com um status de 0 quando o download for bem-sucedido. Se o download falhar, o script deve sair com qualquer status de saída diferente de zero.

Se possível, o script deve apenas colocar arquivos no ASDF_DOWNLOAD_PATH. Se o download falhar, nenhum arquivo deve ser colocado no diretório.

Se este script não estiver presente, o asdf assumirá que o script bin/install está presente e fará o download e instalará a versão. asdf só funciona sem este script para suportar plugins legados. Todos os plugins devem incluir este script e, eventualmente, o suporte para plugins legados será removido.

bin/install

Este script deve instalar a versão, no caminho mencionado em ASDF_INSTALL_PATH. Por padrão, o asdf criará shims para qualquer arquivo em $ASDF_INSTALL_PATH/bin (isso pode ser personalizado com o script opcional bin/list-bin-paths).

O script de instalação deve sair com um status de 0 quando a instalação for bem-sucedida. Se a instalação falhar, o script deve sair com qualquer status de saída diferente de zero.

Se possível, o script deve apenas colocar os arquivos no diretório ASDF_INSTALL_PATH uma vez que a compilação e instalação da ferramenta são consideradas bem sucedidas pelo script de instalação. asdf verifica a existência do diretório ASDF_INSTALL_PATH para determinar se essa versão da ferramenta está instalado. Se o diretório ASDF_INSTALL_PATH for preenchido no início do processo de instalação, outros comandos asdf executados em outros terminais durante a instalação podem considerar essa versão da ferramenta instalada, mesmo quando não estiver totalmente instalada.

Se você quiser que seu plugin funcione com asdf versão 0.7._ e anterior e versão 0.8._ e mais recente, verifique a presença da variável de ambiente ASDF_DOWNLOAD_PATH. Se não estiver definido, baixe o código-fonte no retorno de chamada bin/install. Se estiver definido, suponha que o script bin/download já tenha baixado.

Scripts Opcional

scripts bin/help

Este não é um script de retorno de chamada, mas sim um conjunto de scripts de retorno de chamada que imprimem documentação diferente para STDOUT. Os scripts de retorno de chamada possíveis estão listados abaixo. Observe que bin/help.overview é um caso especial, pois deve estar presente para que qualquer saída de ajuda seja exibida para o script.

  • bin/help.overview - Este script deve gerar uma descrição geral sobre o plugin e a ferramenta que está sendo gerenciada. Nenhum título deve ser impresso, pois o asdf imprimirá títulos. A saída pode ser um texto de formato livre, mas idealmente apenas um parágrafo curto. Este script deve estar presente se você quiser que o asdf forneça informações de ajuda para seu plugin. Todos os outros scripts de retorno de chamada de ajuda são opcionais.
  • bin/help.deps - Esse script deve gerar a lista de dependências adaptadas ao sistema operacional. Uma dependência por linha.
  • bin/help.config - Este script deve imprimir qualquer configuração obrigatória ou opcional que possa estar disponível para o plug-in e a ferramenta. Quaisquer variáveis de ambiente ou outros sinalizadores necessários para instalar ou compilar a ferramenta (para o sistema operacional dos usuários quando possível). A saída pode ser texto de formato livre.
  • bin/help.links - Esta deve ser uma lista de links relevantes para o plug-in e a ferramenta (mais uma vez, adaptados ao sistema operacional atual, quando possível). Um link por linha. As linhas podem estar no formato <title>: <link> ou apenas <link>.

Cada um desses scripts deve adaptar sua saída ao sistema operacional atual. Por exemplo, quando no Ubuntu, o script deps pode gerar as dependências como pacotes apt-get que devem ser instalados. O script também deve adaptar sua saída ao valor de ASDF_INSTALL_VERSION e ASDF_INSTALL_TYPE quando as variáveis forem definidas. Eles são opcionais e nem sempre serão definidos.

O script de retorno de chamada de ajuda NÃO DEVE gerar nenhuma informação que já esteja coberta na documentação principal do asdf-vm. As informações gerais de uso do asdf não devem estar presentes.

bin/list-bin-paths

Liste os executáveis para a versão especificada da ferramenta. Deve imprimir uma string com uma lista separada por espaços de caminhos de diretórios que contêm executáveis. Os caminhos devem ser relativos ao caminho de instalação passado. A saída de exemplo seria:

shell
bin tools veggies

Isso instruirá o asdf a criar shims para os arquivos em <install-path>/bin, <install-path>/tools e <install-path>/veggies

Se este script não for especificado, o asdf procurará o diretório bin em uma instalação e criará shims para eles.

bin/exec-env

Configure o env para executar os binários no pacote.

bin/exec-path

Obtenha o caminho executável para a versão especificada da ferramenta. Deve imprimir uma string com o caminho executável relativo. Isso permite que o plug-in substitua condicionalmente o caminho executável especificado do shim, caso contrário, retorne o caminho padrão especificado pelo shim.

shell
Usage:
+  plugin/bin/exec-path <install-path> <command> <executable-path>
+
+Example Call:
+  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"
+
+Output:
+  bin/foox

bin/uninstall

Desinstala uma versão específica de uma ferramenta.

bin/list-legacy-filenames

Registre arquivos setter adicionais para este plugin. Deve imprimir uma string com uma lista de nomes de arquivos separados por espaços.

shell
.ruby-version .rvmrc

Nota: Isso só se aplica a usuários que habilitaram a opção legacy_version_file em seu ~/.asdfrc.

bin/parse-legacy-file

Isso pode ser usado para analisar ainda mais o arquivo legado encontrado pelo asdf. Se o parse-legacy-file não for implementado, o asdf simplesmente irá cat o arquivo para determinar a versão. O script receberá o caminho do arquivo como seu primeiro argumento.

bin/post-plugin-add

Isso pode ser usado para executar qualquer ação pós-instalação depois que o plug-in for adicionado ao asdf.

O script tem acesso ao caminho em que o plugin foi instalado (\${ASDF_PLUGIN_PATH}) e o URL de origem (\${ASDF_PLUGIN_SOURCE_URL}), se algum foi usado.

Veja também os ganchos relacionados:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_\${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_\${plugin_name}

bin/pre-plugin-remove

Isso pode ser usado para executar qualquer ação de pré-remoção antes que o plug-in seja removido do asdf.

O script tem acesso ao caminho em que o plugin foi instalado (\${ASDF_PLUGIN_PATH}).

Veja também os ganchos relacionados:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_\${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_\${plugin_name}

Comandos de extensão para asdf CLI.

É possível que plugins definam novos comandos asdf fornecendo scripts ou executáveis lib/commands/command*.bash que será chamado usando a interface de linha de comando asdf usando o nome do plug-in como um subcomando.

Por exemplo, suponha que um plugin foo tenha:

shell
foo/
+  lib/commands/
+    command.bash
+    command-bat.bash
+    command-bat-man.bash
+    command-help.bash

Os usuários agora podem executar

shell
$ asdf foo         # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash\`
+$ asdf foo bar     # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar\`
+$ asdf foo help    # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash\`
+$ asdf foo bat man # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash\`
+$ asdf foo bat baz # same as running \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz\`

Os autores de plugins podem usar esse recurso para fornecer utilitários relacionados às suas ferramentas, ou até mesmo criar plugins que são apenas novas extensões de comando para o próprio asdf.

Quando invocados, se os comandos de extensão não tiverem seus bits executáveis definidos, eles serão originado como scripts bash, tendo todas as funções de $ASDF_DIR/lib/utils.bash disponíveis. Além disso, o $ASDF_CMD_FILE resolve para o caminho completo do arquivo que está sendo originado. Se o bit executável estiver definido, eles são apenas executados e substituem a execução do asdf.

Um bom exemplo desse recurso é para plugins como haxe que fornece o asdf haxe neko-dylibs-link para corrigir um problema onde os executáveis haxe esperam encontrar bibliotecas dinâmicas relativas ao diretório executável.

Se o seu plug-in fornecer um comando de extensão asdf, certifique-se de mencioná-lo no README do seu plug-in.

Modelos de calços personalizados

POR FAVOR, use este recurso apenas se for absolutamente necessário

asdf permite modelos de calços personalizados. Para um executável chamado foo, se houver um arquivo shims/foo no plug-in, o asdf copiará esse arquivo em vez de usar seu modelo padrão de shim.

Isso deve ser usado com sabedoria. Por enquanto AFAIK, está sendo usado apenas no plugin Elixir, porque um executável também é lido como um arquivo Elixir, além de ser apenas um executável. O que torna impossível usar o calço bash padrão.

Testando plug-ins

asdf contém o comando plugin-test para testar seu plugin. Você pode usá-lo da seguinte forma

shell
asdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]

Apenas os dois primeiros argumentos são necessários. Se _version for especificado, a ferramenta será instalada com essa versão específica. O padrão é o que retorna asdf latest <plugin-name>. Se git-ref for especificado, o plug-in em si é verificado nesse commit/branch/tag, útil para testar um pull-request no CI do seu plug-in. O padrão é o branch default do repositório do plugin.

Os argumentos Rest são considerados o comando a ser executado para garantir que a ferramenta instalada funcione corretamente. Normalmente seria algo que leva --version ou --help. Por exemplo, para testar o plugin NodeJS, podemos executar

shell
asdf plugin test nodejs https://github.com/asdf-vm/asdf-nodejs.git node --version

É altamente recomendável que você teste seu plug-in em um ambiente CI e verifique se ele funciona no Linux e no OSX.

Exemplo GitHub Action

O repositório asdf-vm/actions fornece uma ação do GitHub para testar seus plugins hospedados no github.

yaml
steps:
+  - name: asdf_plugin_test
+    uses: asdf-vm/actions/plugin-test@v1
+    with:
+      command: "my_tool --version"
+    env:
+      GITHUB_API_TOKEN: \${{ secrets.GITHUB_TOKEN }} # automatically provided

Exemplo de configuração do TravisCI

Aqui está um arquivo .travis.yml de amostra, personalize-o de acordo com suas necessidades

yaml
language: c
+script: asdf plugin test nodejs $TRAVIS_BUILD_DIR 'node --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

Notas: Ao usar outro IC, você precisará verificar qual variável mapeia para o caminho do repositório.

Você também tem a opção de passar um caminho relativo para plugin-test.

Por exemplo, se o script de teste for executado no diretório: asdf plugin test nodejs . 'node --version'.

Limitação de taxa da API do GitHub

Se o list-all do seu plug-in depender do acesso à API do GitHub, certifique-se de fornecer um token de autorização ao acessá-lo, caso contrário, seus testes podem falhar devido à limitação de taxa.

Para fazer isso, crie um novo token pessoal com apenas acesso public_repo.

Em seguida, nas configurações de compilação do travis.ci, adicione uma variável de ambiente secure para ela chamada algo como GITHUB_API_TOKEN. E NUNCA publique seu token em seu código.

Finalmente, adicione algo como o seguinte para bin/list-all

shell
cmd="curl -s"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

Enviando plugins para o repositório oficial de plugins

asdf pode facilmente instalar plugins especificando o url do repositório de plugins, por exemplo. plugin add my-plugin https://github.com/user/asdf-my-plugin.git.

Para facilitar para seus usuários, você pode adicionar seu plugin ao repositório oficial de plugins para ter seu plugin listado e facilmente instalável usando um comando mais curto, por exemplo asdf plugin add my-plugin.

Siga as instruções no repositório de plugins: asdf-vm/asdf-plugins.

`,102)]))}const k=s(n,[["render",t]]);export{u as __pageData,k as default}; diff --git a/assets/style.p0L2iRKi.css b/assets/style.p0L2iRKi.css new file mode 100644 index 00000000..b61f707f --- /dev/null +++ b/assets/style.p0L2iRKi.css @@ -0,0 +1 @@ +@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code,.vp-doc h4>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-54a304ca]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-54a304ca],.VPBackdrop.fade-leave-to[data-v-54a304ca]{opacity:0}.VPBackdrop.fade-leave-active[data-v-54a304ca]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-54a304ca]{display:none}}.NotFound[data-v-6ff51ddd]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-6ff51ddd]{padding:96px 32px 168px}}.code[data-v-6ff51ddd]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-6ff51ddd]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-6ff51ddd]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-6ff51ddd]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-6ff51ddd]{padding-top:20px}.link[data-v-6ff51ddd]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-6ff51ddd]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-53c99d69]{position:relative;z-index:1}.nested[data-v-53c99d69]{padding-right:16px;padding-left:16px}.outline-link[data-v-53c99d69]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-53c99d69]:hover,.outline-link.active[data-v-53c99d69]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-53c99d69]{padding-left:13px}.VPDocAsideOutline[data-v-f610f197]{display:none}.VPDocAsideOutline.has-outline[data-v-f610f197]{display:block}.content[data-v-f610f197]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-f610f197]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-f610f197]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-cb998dce]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-cb998dce]{flex-grow:1}.VPDocAside[data-v-cb998dce] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-cb998dce] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-cb998dce] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-1bb0c8a8]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-1bb0c8a8]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-1bcd8184]{margin-top:64px}.edit-info[data-v-1bcd8184]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-1bcd8184]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-1bcd8184]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-1bcd8184]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-1bcd8184]{margin-right:8px}.prev-next[data-v-1bcd8184]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-1bcd8184]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-1bcd8184]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-1bcd8184]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-1bcd8184]{margin-left:auto;text-align:right}.desc[data-v-1bcd8184]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-1bcd8184]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-e6f2a212]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-e6f2a212]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-e6f2a212]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-e6f2a212]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-e6f2a212]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-e6f2a212]{display:flex;justify-content:center}.VPDoc .aside[data-v-e6f2a212]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-e6f2a212]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-e6f2a212]{max-width:1104px}}.container[data-v-e6f2a212]{margin:0 auto;width:100%}.aside[data-v-e6f2a212]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-e6f2a212]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-e6f2a212]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-e6f2a212]::-webkit-scrollbar{display:none}.aside-curtain[data-v-e6f2a212]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-e6f2a212]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-e6f2a212]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-e6f2a212]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-e6f2a212]{order:1;margin:0;min-width:640px}}.content-container[data-v-e6f2a212]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-e6f2a212]{max-width:688px}.VPButton[data-v-c9cf0e3c]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-c9cf0e3c]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-c9cf0e3c]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-c9cf0e3c]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-c9cf0e3c]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-c9cf0e3c]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-c9cf0e3c]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-c9cf0e3c]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-c9cf0e3c]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-c9cf0e3c]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-c9cf0e3c]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-c9cf0e3c]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-c9cf0e3c]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-ab19afbb]{display:none}.dark .VPImage.light[data-v-ab19afbb]{display:none}.VPHero[data-v-b10c5094]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-b10c5094]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-b10c5094]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-b10c5094]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-b10c5094]{flex-direction:row}}.main[data-v-b10c5094]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-b10c5094]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-b10c5094]{text-align:left}}@media (min-width: 960px){.main[data-v-b10c5094]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-b10c5094]{max-width:592px}}.name[data-v-b10c5094],.text[data-v-b10c5094]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-b10c5094],.VPHero.has-image .text[data-v-b10c5094]{margin:0 auto}.name[data-v-b10c5094]{color:var(--vp-home-hero-name-color)}.clip[data-v-b10c5094]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-b10c5094],.text[data-v-b10c5094]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-b10c5094],.text[data-v-b10c5094]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-b10c5094],.VPHero.has-image .text[data-v-b10c5094]{margin:0}}.tagline[data-v-b10c5094]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-b10c5094]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-b10c5094]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-b10c5094]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-b10c5094]{margin:0}}.actions[data-v-b10c5094]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-b10c5094]{justify-content:center}@media (min-width: 640px){.actions[data-v-b10c5094]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-b10c5094]{justify-content:flex-start}}.action[data-v-b10c5094]{flex-shrink:0;padding:6px}.image[data-v-b10c5094]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-b10c5094]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-b10c5094]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-b10c5094]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-b10c5094]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-b10c5094]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-b10c5094]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-b10c5094]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-b10c5094]{width:320px;height:320px}}[data-v-b10c5094] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-b10c5094] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-b10c5094] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-bd37d1a2]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-bd37d1a2]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-bd37d1a2]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-bd37d1a2]>.VPImage{margin-bottom:20px}.icon[data-v-bd37d1a2]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-bd37d1a2]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-bd37d1a2]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-bd37d1a2]{padding-top:8px}.link-text-value[data-v-bd37d1a2]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-bd37d1a2]{margin-left:6px}.VPFeatures[data-v-b1eea84a]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-b1eea84a]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-b1eea84a]{padding:0 64px}}.container[data-v-b1eea84a]{margin:0 auto;max-width:1152px}.items[data-v-b1eea84a]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-b1eea84a]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-b1eea84a],.item.grid-4[data-v-b1eea84a],.item.grid-6[data-v-b1eea84a]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-b1eea84a],.item.grid-4[data-v-b1eea84a]{width:50%}.item.grid-3[data-v-b1eea84a],.item.grid-6[data-v-b1eea84a]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-b1eea84a]{width:25%}}.container[data-v-c141a4bd]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-c141a4bd]{padding:0 48px}}@media (min-width: 960px){.container[data-v-c141a4bd]{width:100%;padding:0 64px}}.vp-doc[data-v-c141a4bd] .VPHomeSponsors,.vp-doc[data-v-c141a4bd] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-c141a4bd] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-c141a4bd] .VPHomeSponsors a,.vp-doc[data-v-c141a4bd] .VPTeamPage a{text-decoration:none}.VPHome[data-v-07b1ad08]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-07b1ad08]{margin-bottom:128px}}.VPContent[data-v-9a6c75ad]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-9a6c75ad]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-9a6c75ad]{margin:0}@media (min-width: 960px){.VPContent[data-v-9a6c75ad]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-9a6c75ad]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-9a6c75ad]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-566314d4]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-566314d4]{display:none}.VPFooter[data-v-566314d4] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-566314d4] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-566314d4]{padding:32px}}.container[data-v-566314d4]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-566314d4],.copyright[data-v-566314d4]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-883964e0]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-883964e0]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-883964e0]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-883964e0]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-883964e0]{color:var(--vp-c-text-1)}.icon[data-v-883964e0]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-883964e0]{font-size:14px}.icon[data-v-883964e0]{font-size:16px}}.open>.icon[data-v-883964e0]{transform:rotate(90deg)}.items[data-v-883964e0]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-883964e0]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-883964e0]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-883964e0]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-883964e0]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-883964e0]{transition:all .2s ease-out}.flyout-leave-active[data-v-883964e0]{transition:all .15s ease-in}.flyout-enter-from[data-v-883964e0],.flyout-leave-to[data-v-883964e0]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-2488c25a]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-2488c25a]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-2488c25a]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-2488c25a]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-2488c25a]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-2488c25a]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-2488c25a]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-2488c25a]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-2488c25a]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-2488c25a]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-2488c25a]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-2488c25a]{display:none}}.menu-icon[data-v-2488c25a]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-2488c25a]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-2488c25a]{padding:12px 32px 11px}}.VPSwitch[data-v-b4ccac88]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-b4ccac88]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-b4ccac88]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-b4ccac88]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-b4ccac88] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-b4ccac88] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-be9742d9]{opacity:1}.moon[data-v-be9742d9],.dark .sun[data-v-be9742d9]{opacity:0}.dark .moon[data-v-be9742d9]{opacity:1}.dark .VPSwitchAppearance[data-v-be9742d9] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-3f90c1a5]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-3f90c1a5]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-f51f088d]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-f51f088d]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-f51f088d]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-f51f088d]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-a6b0397c]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-a6b0397c]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-a6b0397c]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-a6b0397c]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-20ed86d6]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-20ed86d6] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-20ed86d6] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-20ed86d6] .group:last-child{padding-bottom:0}.VPMenu[data-v-20ed86d6] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-20ed86d6] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-20ed86d6] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-20ed86d6] .action{padding-left:24px}.VPFlyout[data-v-af5898d3]{position:relative}.VPFlyout[data-v-af5898d3]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-af5898d3]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-af5898d3]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-af5898d3]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-af5898d3]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-af5898d3],.button[aria-expanded=true]+.menu[data-v-af5898d3]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-af5898d3]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-af5898d3]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-af5898d3]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-af5898d3]{margin-right:0;font-size:16px}.text-icon[data-v-af5898d3]{margin-left:4px;font-size:14px}.icon[data-v-af5898d3]{font-size:20px;transition:fill .25s}.menu[data-v-af5898d3]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-358b6670]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-358b6670]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-358b6670]>svg,.VPSocialLink[data-v-358b6670]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-e71e869c]{display:flex;justify-content:center}.VPNavBarExtra[data-v-f953d92f]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-f953d92f]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-f953d92f]{display:none}}.trans-title[data-v-f953d92f]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-f953d92f],.item.social-links[data-v-f953d92f]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-f953d92f]{min-width:176px}.appearance-action[data-v-f953d92f]{margin-right:-2px}.social-links-list[data-v-f953d92f]{margin:-4px -8px}.VPNavBarHamburger[data-v-6bee1efd]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-6bee1efd]{display:none}}.container[data-v-6bee1efd]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-6bee1efd]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-6bee1efd]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-6bee1efd]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-6bee1efd]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-6bee1efd]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-6bee1efd]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-6bee1efd],.VPNavBarHamburger.active:hover .middle[data-v-6bee1efd],.VPNavBarHamburger.active:hover .bottom[data-v-6bee1efd]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-6bee1efd],.middle[data-v-6bee1efd],.bottom[data-v-6bee1efd]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-6bee1efd]{top:0;left:0;transform:translate(0)}.middle[data-v-6bee1efd]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-6bee1efd]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-08fbf4b6]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-08fbf4b6],.VPNavBarMenuLink[data-v-08fbf4b6]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-afb2845e]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-afb2845e]{display:flex}}/*! @docsearch/css 3.6.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-ef6192dc]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-ef6192dc]{display:flex;align-items:center}}.title[data-v-0ad69264]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-0ad69264]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-0ad69264]{border-bottom-color:var(--vp-c-divider)}}[data-v-0ad69264] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-acee064b]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-acee064b]{display:flex;align-items:center}}.title[data-v-acee064b]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-9fd4d1dd]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-9fd4d1dd]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-9fd4d1dd]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-9fd4d1dd]:not(.home){background-color:transparent}.VPNavBar[data-v-9fd4d1dd]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-9fd4d1dd]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-9fd4d1dd]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-9fd4d1dd]{padding:0}}.container[data-v-9fd4d1dd]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-9fd4d1dd],.container>.content[data-v-9fd4d1dd]{pointer-events:none}.container[data-v-9fd4d1dd] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-9fd4d1dd]{max-width:100%}}.title[data-v-9fd4d1dd]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-9fd4d1dd]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-9fd4d1dd]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-9fd4d1dd]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-9fd4d1dd]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-9fd4d1dd]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-9fd4d1dd]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-9fd4d1dd]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-9fd4d1dd]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-9fd4d1dd]{column-gap:.5rem}}.menu+.translations[data-v-9fd4d1dd]:before,.menu+.appearance[data-v-9fd4d1dd]:before,.menu+.social-links[data-v-9fd4d1dd]:before,.translations+.appearance[data-v-9fd4d1dd]:before,.appearance+.social-links[data-v-9fd4d1dd]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-9fd4d1dd]:before,.translations+.appearance[data-v-9fd4d1dd]:before{margin-right:16px}.appearance+.social-links[data-v-9fd4d1dd]:before{margin-left:16px}.social-links[data-v-9fd4d1dd]{margin-right:-8px}.divider[data-v-9fd4d1dd]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-9fd4d1dd]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-9fd4d1dd]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-9fd4d1dd]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-9fd4d1dd]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-9fd4d1dd]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-9fd4d1dd]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-a3e2920d]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-a3e2920d]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-1a934d60]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-1a934d60]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-aea78dd1]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-aea78dd1]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-f60dbfa7]{display:block}.title[data-v-f60dbfa7]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-d99bfeec]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-d99bfeec]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-d99bfeec]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-d99bfeec]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-d99bfeec]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-d99bfeec]{transform:rotate(45deg)}.button[data-v-d99bfeec]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-d99bfeec]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-d99bfeec]{transition:transform .25s}.group[data-v-d99bfeec]:first-child{padding-top:0}.group+.group[data-v-d99bfeec],.group+.item[data-v-d99bfeec]{padding-top:4px}.VPNavScreenTranslations[data-v-516e4bc3]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-516e4bc3]{height:auto}.title[data-v-516e4bc3]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-516e4bc3]{font-size:16px}.icon.lang[data-v-516e4bc3]{margin-right:8px}.icon.chevron[data-v-516e4bc3]{margin-left:4px}.list[data-v-516e4bc3]{padding:4px 0 0 24px}.link[data-v-516e4bc3]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-2dd6d0c7]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-2dd6d0c7],.VPNavScreen.fade-leave-active[data-v-2dd6d0c7]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-2dd6d0c7],.VPNavScreen.fade-leave-active .container[data-v-2dd6d0c7]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-2dd6d0c7],.VPNavScreen.fade-leave-to[data-v-2dd6d0c7]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-2dd6d0c7],.VPNavScreen.fade-leave-to .container[data-v-2dd6d0c7]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-2dd6d0c7]{display:none}}.container[data-v-2dd6d0c7]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-2dd6d0c7],.menu+.appearance[data-v-2dd6d0c7],.translations+.appearance[data-v-2dd6d0c7]{margin-top:24px}.menu+.social-links[data-v-2dd6d0c7]{margin-top:16px}.appearance+.social-links[data-v-2dd6d0c7]{margin-top:16px}.VPNav[data-v-7ad780c2]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-7ad780c2]{position:fixed}}.VPSidebarItem.level-0[data-v-edd2eed8]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-edd2eed8]{padding-bottom:10px}.item[data-v-edd2eed8]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-edd2eed8]{cursor:pointer}.indicator[data-v-edd2eed8]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-edd2eed8],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-edd2eed8],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-edd2eed8],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-edd2eed8]{background-color:var(--vp-c-brand-1)}.link[data-v-edd2eed8]{display:flex;align-items:center;flex-grow:1}.text[data-v-edd2eed8]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-edd2eed8]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-edd2eed8],.VPSidebarItem.level-2 .text[data-v-edd2eed8],.VPSidebarItem.level-3 .text[data-v-edd2eed8],.VPSidebarItem.level-4 .text[data-v-edd2eed8],.VPSidebarItem.level-5 .text[data-v-edd2eed8]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-edd2eed8],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-edd2eed8],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-edd2eed8],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-edd2eed8],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-edd2eed8],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-edd2eed8]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-edd2eed8],.VPSidebarItem.level-1.has-active>.item>.text[data-v-edd2eed8],.VPSidebarItem.level-2.has-active>.item>.text[data-v-edd2eed8],.VPSidebarItem.level-3.has-active>.item>.text[data-v-edd2eed8],.VPSidebarItem.level-4.has-active>.item>.text[data-v-edd2eed8],.VPSidebarItem.level-5.has-active>.item>.text[data-v-edd2eed8],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-edd2eed8],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-edd2eed8],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-edd2eed8],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-edd2eed8],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-edd2eed8],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-edd2eed8]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-edd2eed8],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-edd2eed8],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-edd2eed8],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-edd2eed8],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-edd2eed8],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-edd2eed8]{color:var(--vp-c-brand-1)}.caret[data-v-edd2eed8]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-edd2eed8]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-edd2eed8]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-edd2eed8]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-edd2eed8]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-edd2eed8],.VPSidebarItem.level-2 .items[data-v-edd2eed8],.VPSidebarItem.level-3 .items[data-v-edd2eed8],.VPSidebarItem.level-4 .items[data-v-edd2eed8],.VPSidebarItem.level-5 .items[data-v-edd2eed8]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-edd2eed8]{display:none}.no-transition[data-v-51288d80] .caret-icon{transition:none}.group+.group[data-v-51288d80]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-51288d80]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-42c4c606]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-42c4c606]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-42c4c606]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-42c4c606]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-42c4c606]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-42c4c606]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-42c4c606]{outline:0}.VPSkipLink[data-v-c8291ffa]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-c8291ffa]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-c8291ffa]{top:14px;left:16px}}.Layout[data-v-d8b57b2d]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-3dc26e1d]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-3dc26e1d]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-3dc26e1d]{margin:128px 0}}.VPHomeSponsors[data-v-3dc26e1d]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-3dc26e1d]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-3dc26e1d]{padding:0 64px}}.container[data-v-3dc26e1d]{margin:0 auto;max-width:1152px}.love[data-v-3dc26e1d]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-3dc26e1d]{display:inline-block}.message[data-v-3dc26e1d]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-3dc26e1d]{padding-top:32px}.action[data-v-3dc26e1d]{padding-top:40px;text-align:center}.VPTeamPage[data-v-a5329171]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-a5329171]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-a5329171-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-a5329171-s],.VPTeamMembers+.VPTeamPageSection[data-v-a5329171-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-a5329171-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-a5329171-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-a5329171-s],.VPTeamMembers+.VPTeamPageSection[data-v-a5329171-s]{margin-top:96px}}.VPTeamMembers[data-v-a5329171-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-a5329171-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-a5329171-s]{padding:0 64px}}.VPTeamPageTitle[data-v-46c5e327]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-46c5e327]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-46c5e327]{padding:80px 64px 48px}}.title[data-v-46c5e327]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-46c5e327]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-46c5e327]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-46c5e327]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-3bf2e850]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-3bf2e850]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-3bf2e850]{padding:0 64px}}.title[data-v-3bf2e850]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-3bf2e850]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-3bf2e850]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-3bf2e850]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-3bf2e850]{padding-top:40px}.VPTeamMembersItem[data-v-acff304e]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-acff304e]{padding:32px}.VPTeamMembersItem.small .data[data-v-acff304e]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-acff304e]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-acff304e]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-acff304e]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-acff304e]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-acff304e]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-acff304e]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-acff304e]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-acff304e]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-acff304e]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-acff304e]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-acff304e]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-acff304e]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-acff304e]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-acff304e]{text-align:center}.avatar[data-v-acff304e]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-acff304e]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-acff304e]{margin:0;font-weight:600}.affiliation[data-v-acff304e]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-acff304e]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-acff304e]:hover{color:var(--vp-c-brand-1)}.desc[data-v-acff304e]{margin:0 auto}.desc[data-v-acff304e] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-acff304e]{display:flex;justify-content:center;height:56px}.sp-link[data-v-acff304e]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-acff304e]:hover,.sp .sp-link.link[data-v-acff304e]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-acff304e]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-bf782009]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-bf782009]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-bf782009]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-bf782009]{max-width:876px}.VPTeamMembers.medium .container[data-v-bf782009]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-bf782009]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-bf782009]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-bf782009]{max-width:760px}.container[data-v-bf782009]{display:grid;gap:24px;margin:0 auto;max-width:1152px}:root{--vp-c-brand-1: #b744b8;--vp-c-brand-2: #a379c9;--vp-c-brand-3: #a379c9}.VPLocalSearchBox[data-v-40ea83c9]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-40ea83c9]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-40ea83c9]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-40ea83c9]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-40ea83c9]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-40ea83c9]{padding:0 8px}}.search-bar[data-v-40ea83c9]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-40ea83c9]{display:block;font-size:18px}.navigate-icon[data-v-40ea83c9]{display:block;font-size:14px}.search-icon[data-v-40ea83c9]{margin:8px}@media (max-width: 767px){.search-icon[data-v-40ea83c9]{display:none}}.search-input[data-v-40ea83c9]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-40ea83c9]{padding:6px 4px}}.search-actions[data-v-40ea83c9]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-40ea83c9]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-40ea83c9]{display:none}}.search-actions button[data-v-40ea83c9]{padding:8px}.search-actions button[data-v-40ea83c9]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-40ea83c9]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-40ea83c9]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-40ea83c9]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-40ea83c9]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-40ea83c9]{display:none}}.search-keyboard-shortcuts kbd[data-v-40ea83c9]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-40ea83c9]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-40ea83c9]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-40ea83c9]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-40ea83c9]{margin:8px}}.titles[data-v-40ea83c9]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-40ea83c9]{display:flex;align-items:center;gap:4px}.title.main[data-v-40ea83c9]{font-weight:500}.title-icon[data-v-40ea83c9]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-40ea83c9]{opacity:.5}.result.selected[data-v-40ea83c9]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-40ea83c9]{position:relative}.excerpt[data-v-40ea83c9]{opacity:50%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;margin-top:4px}.result.selected .excerpt[data-v-40ea83c9]{opacity:1}.excerpt[data-v-40ea83c9] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-40ea83c9] mark,.excerpt[data-v-40ea83c9] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-40ea83c9] .vp-code-group .tabs{display:none}.excerpt[data-v-40ea83c9] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-40ea83c9]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-40ea83c9]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-40ea83c9],.result.selected .title-icon[data-v-40ea83c9]{color:var(--vp-c-brand-1)!important}.no-results[data-v-40ea83c9]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-40ea83c9]{flex:none} diff --git a/assets/zh-hans_contribute_core.md.oF4_zk5Q.js b/assets/zh-hans_contribute_core.md.oF4_zk5Q.js new file mode 100644 index 00000000..0406bafa --- /dev/null +++ b/assets/zh-hans_contribute_core.md.oF4_zk5Q.js @@ -0,0 +1,25 @@ +import{_ as a,c as e,a2 as i,o as t}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"asdf","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/contribute/core.md","filePath":"zh-hans/contribute/core.md","lastUpdated":1687069487000}'),n={name:"zh-hans/contribute/core.md"};function l(p,s,h,o,r,d){return t(),e("div",null,s[0]||(s[0]=[i(`

asdf

asdf 核心贡献指南.

初始化安装

在 Github 上 fork asdf 并且/或者使用 Git 克隆默认分支:

shell
# 克隆你 fork 的 asdf
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# 或者直接克隆 asdf
+git clone https://github.com/asdf-vm/asdf.git

核心开发所需的工具都列举在这个存储库的 .tool-versions 文件中。如果你想要使用 asdf 自身来管理它,请使用以下命令添加这些插件:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

使用以下命令安装这些版本来开发 asdf

shell
asdf install

在本地机器的开发过程中不使用 asdf 来管理工具 或许 对你有帮助,因为你可能需要打破某些可能会影响到你的开发工具链的功能。以下是所需工具的原始列表:

  • bats-core:Bash 自动化测试系统,用于单元测试 Bash 或 POSIX 兼容脚本。
  • shellcheck:Shell 脚本的静态分析工具。
  • shfmt:支持 Bash 的 Shell 解析器、格式化器和解释器;包含 shfmt。

开发

如果你想要在不更改已安装的 asdf 的情况下尝试应用你的更改,可以将 $ASDF_DIR 变量设置为克隆存储库的路径,并临时将目录的 binshims 目录添加到你的路径中。

最好在提交或推送到远程之前,在本地做好格式化、lint 检查和测试你的代码。可以使用以下脚本/命令:

shell
# 脚本检查
+./scripts/shellcheck.bash
+
+# 格式化
+./scripts/shfmt.bash
+
+# 测试:所有案例
+bats test/
+# 测试:特定命令
+bats test/list_commands.bash

提示

增加测试! - 新特性需要进行测试,并加快错误修复的审查速度。请在创建拉取请求之前覆盖新的代码路径。查看 bats-core 文档 了解更多。

Bats 测试

强烈建议在编写测试之前检查现有的测试套件和 bats-core 文档

Bats 调试有时可能很困难。使用带有 -t 标识的 TAP 输出将使你能够在测试执行期间打印带有特殊文件描述符 >&3 的输出,从而简化调试。例如:

shell
# test/some_tests.bats
+
+printf "%s\\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\\n" "Will be printed during bats -t test/some_tests.bats" >&3

进一步相关文档请查看 bats-core 的 Printing to the Terminal 部分.

拉取请求、发布以及约定式提交

asdf 正在使用一个名为 Release Please 的自动发布工具来自动碰撞 SemVer 版本并生成 变更日志。这个信息是通过读取自上次发布以来的提交历史记录来确定的。

约定式提交 定义了拉取请求标题的格式,该标题成为默认分支上的提交消息格式。这是通过 Github Action amannn/action-semantic-pull-request 强制执行的。

约定式提交遵循以下格式:

<type>[optional scope][optional !]: <description>
+
+<!-- 例子 -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

<types> 的所有类型包含: featfixdocsstylerefactorperftestbuildcichorerevert

  • !:表示重大更改
  • fix:将会创建一个新的 SemVer patch 补丁
  • feat:将会创建一个新的 SemVer minor 小版本
  • <type>!:将会创建一个新的 SemVer major 大版本

拉取请求标题必须遵循这种格式。

提示

请使用约定式提交信息格式作为拉取请求标题。

Docker 镜像

asdf-alpineasdf-ubuntu 项目正在努力提供一些 asdf 工具的容器化镜像。你可以使用这些容器镜像作为开发服务器的基础镜像,或者运行生产应用。

`,32)]))}const g=a(n,[["render",l]]);export{k as __pageData,g as default}; diff --git a/assets/zh-hans_contribute_core.md.oF4_zk5Q.lean.js b/assets/zh-hans_contribute_core.md.oF4_zk5Q.lean.js new file mode 100644 index 00000000..0406bafa --- /dev/null +++ b/assets/zh-hans_contribute_core.md.oF4_zk5Q.lean.js @@ -0,0 +1,25 @@ +import{_ as a,c as e,a2 as i,o as t}from"./chunks/framework.C9NVOr0y.js";const k=JSON.parse('{"title":"asdf","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/contribute/core.md","filePath":"zh-hans/contribute/core.md","lastUpdated":1687069487000}'),n={name:"zh-hans/contribute/core.md"};function l(p,s,h,o,r,d){return t(),e("div",null,s[0]||(s[0]=[i(`

asdf

asdf 核心贡献指南.

初始化安装

在 Github 上 fork asdf 并且/或者使用 Git 克隆默认分支:

shell
# 克隆你 fork 的 asdf
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# 或者直接克隆 asdf
+git clone https://github.com/asdf-vm/asdf.git

核心开发所需的工具都列举在这个存储库的 .tool-versions 文件中。如果你想要使用 asdf 自身来管理它,请使用以下命令添加这些插件:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

使用以下命令安装这些版本来开发 asdf

shell
asdf install

在本地机器的开发过程中不使用 asdf 来管理工具 或许 对你有帮助,因为你可能需要打破某些可能会影响到你的开发工具链的功能。以下是所需工具的原始列表:

  • bats-core:Bash 自动化测试系统,用于单元测试 Bash 或 POSIX 兼容脚本。
  • shellcheck:Shell 脚本的静态分析工具。
  • shfmt:支持 Bash 的 Shell 解析器、格式化器和解释器;包含 shfmt。

开发

如果你想要在不更改已安装的 asdf 的情况下尝试应用你的更改,可以将 $ASDF_DIR 变量设置为克隆存储库的路径,并临时将目录的 binshims 目录添加到你的路径中。

最好在提交或推送到远程之前,在本地做好格式化、lint 检查和测试你的代码。可以使用以下脚本/命令:

shell
# 脚本检查
+./scripts/shellcheck.bash
+
+# 格式化
+./scripts/shfmt.bash
+
+# 测试:所有案例
+bats test/
+# 测试:特定命令
+bats test/list_commands.bash

提示

增加测试! - 新特性需要进行测试,并加快错误修复的审查速度。请在创建拉取请求之前覆盖新的代码路径。查看 bats-core 文档 了解更多。

Bats 测试

强烈建议在编写测试之前检查现有的测试套件和 bats-core 文档

Bats 调试有时可能很困难。使用带有 -t 标识的 TAP 输出将使你能够在测试执行期间打印带有特殊文件描述符 >&3 的输出,从而简化调试。例如:

shell
# test/some_tests.bats
+
+printf "%s\\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\\n" "Will be printed during bats -t test/some_tests.bats" >&3

进一步相关文档请查看 bats-core 的 Printing to the Terminal 部分.

拉取请求、发布以及约定式提交

asdf 正在使用一个名为 Release Please 的自动发布工具来自动碰撞 SemVer 版本并生成 变更日志。这个信息是通过读取自上次发布以来的提交历史记录来确定的。

约定式提交 定义了拉取请求标题的格式,该标题成为默认分支上的提交消息格式。这是通过 Github Action amannn/action-semantic-pull-request 强制执行的。

约定式提交遵循以下格式:

<type>[optional scope][optional !]: <description>
+
+<!-- 例子 -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

<types> 的所有类型包含: featfixdocsstylerefactorperftestbuildcichorerevert

  • !:表示重大更改
  • fix:将会创建一个新的 SemVer patch 补丁
  • feat:将会创建一个新的 SemVer minor 小版本
  • <type>!:将会创建一个新的 SemVer major 大版本

拉取请求标题必须遵循这种格式。

提示

请使用约定式提交信息格式作为拉取请求标题。

Docker 镜像

asdf-alpineasdf-ubuntu 项目正在努力提供一些 asdf 工具的容器化镜像。你可以使用这些容器镜像作为开发服务器的基础镜像,或者运行生产应用。

`,32)]))}const g=a(n,[["render",l]]);export{k as __pageData,g as default}; diff --git a/assets/zh-hans_contribute_documentation.md.DL3_2XKG.js b/assets/zh-hans_contribute_documentation.md.DL3_2XKG.js new file mode 100644 index 00000000..7b6bdb3d --- /dev/null +++ b/assets/zh-hans_contribute_documentation.md.DL3_2XKG.js @@ -0,0 +1,29 @@ +import{_ as a,c as i,a2 as e,o as n}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"文档 & 网站","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/contribute/documentation.md","filePath":"zh-hans/contribute/documentation.md","lastUpdated":1687069487000}'),t={name:"zh-hans/contribute/documentation.md"};function l(p,s,h,k,d,r){return n(),i("div",null,s[0]||(s[0]=[e(`

文档 & 网站

文档 & 网站贡献指南。

初始化设置

在 Github 上 fork asdf 并且/或者使用 Git 克隆默认分支:

shell
# 克隆你 fork 的 asdf
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# 或者直接克隆 asdf
+git clone https://github.com/asdf-vm/asdf.git

文档网站开发所需的工具都在文件 docs/.tool-versions 中使用 asdf 进行管理。使用以下命令添加插件:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

使用以下命令安装工具版本:

shell
asdf install
  • Node.js:基于 Chrome 的 V8 引擎的 JavaScript 运行环境。

根据 docs/package.json 文件安装 Node.js 依赖:

shell
npm install

开发

Vuepress (v2) 是我们用来构建 asdf 文档网站的静态站点生成器(SSG)。它被选中来取代 Docsify.js,因为我们希望在用户没有可用或未启用 JavaScript 时支持仅依靠 HTML。Docsify 无法做到这一点。除此之外,两者特性集合大致相同,重点是 Vuepress 可以用最少的配置编写 Markdown 文件。

package.json 包含了开发所需的脚本:

@code json{3-5}

启动本地开发服务器:

shell
npm run dev

在提交之前格式化代码:

shell
npm run format

拉取请求、发布以及约定式提交

asdf 正在使用依赖 PR 标题中的约定式提交的自动化发布流水线。具体的文档可以查看 核心贡献指南.

当为文档更改创建 PR 请求时,请确保 PR 标题使用了约定式提交类型 docs 以及 docs: <description> 的格式。

Vuepress

网站的配置包含在几个 JavaScript 文件中,其中 JS 对象用于表示配置。它们是:

  • docs/.vuepress/config.js:网站的根配置文件。请查看 Vuepress 文档 了解更多详情。

为了简化根配置文件,更大的 JS 对象表示 导航栏和侧边栏 配置已经被提取并按照语言类型分隔开来。请参考以下文件:

  • docs/.vuepress/navbar.js
  • docs/.vuepress/sidebar.js

这些配置的官方文档位于 默认主题参考

I18n 国际化

Vuepress 有一流的国际化支持。根配置文件 docs/.vuepress/config.js 定义了支持的语言类型及其 URL、在选择下拉菜单中的标题以及导航栏/侧边栏配置引用。

导航栏/侧边栏配置在上述配置文件中捕获,按语言类型分隔开并单独导出。

每种语言的 markdown 内容必须位于与根配置文件中 locale 键同名的目录位置。也就是:

js
{
+  ...
+  themeConfig: {
+    locales: {
+      "/": {
+        selectLanguageName: "English (US)",
+        sidebar: sidebar.en,
+        navbar: navbar.en
+      },
+      "/pt-BR/": {
+        selectLanguageName: "Brazilian Portuguese",
+        sidebar: sidebar.pt_br,
+        navbar: navbar.pt_br
+      }
+    }
+  }
+}

/pt-BR/ 将要求 markdown 文件的同一集合位于 docs/pt-BR/ 目录下,如下所示:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

请查看 Vuepress i18n 国际化官方文档 了解更多详情。

`,37)]))}const g=a(t,[["render",l]]);export{c as __pageData,g as default}; diff --git a/assets/zh-hans_contribute_documentation.md.DL3_2XKG.lean.js b/assets/zh-hans_contribute_documentation.md.DL3_2XKG.lean.js new file mode 100644 index 00000000..7b6bdb3d --- /dev/null +++ b/assets/zh-hans_contribute_documentation.md.DL3_2XKG.lean.js @@ -0,0 +1,29 @@ +import{_ as a,c as i,a2 as e,o as n}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"文档 & 网站","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/contribute/documentation.md","filePath":"zh-hans/contribute/documentation.md","lastUpdated":1687069487000}'),t={name:"zh-hans/contribute/documentation.md"};function l(p,s,h,k,d,r){return n(),i("div",null,s[0]||(s[0]=[e(`

文档 & 网站

文档 & 网站贡献指南。

初始化设置

在 Github 上 fork asdf 并且/或者使用 Git 克隆默认分支:

shell
# 克隆你 fork 的 asdf
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# 或者直接克隆 asdf
+git clone https://github.com/asdf-vm/asdf.git

文档网站开发所需的工具都在文件 docs/.tool-versions 中使用 asdf 进行管理。使用以下命令添加插件:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

使用以下命令安装工具版本:

shell
asdf install
  • Node.js:基于 Chrome 的 V8 引擎的 JavaScript 运行环境。

根据 docs/package.json 文件安装 Node.js 依赖:

shell
npm install

开发

Vuepress (v2) 是我们用来构建 asdf 文档网站的静态站点生成器(SSG)。它被选中来取代 Docsify.js,因为我们希望在用户没有可用或未启用 JavaScript 时支持仅依靠 HTML。Docsify 无法做到这一点。除此之外,两者特性集合大致相同,重点是 Vuepress 可以用最少的配置编写 Markdown 文件。

package.json 包含了开发所需的脚本:

@code json{3-5}

启动本地开发服务器:

shell
npm run dev

在提交之前格式化代码:

shell
npm run format

拉取请求、发布以及约定式提交

asdf 正在使用依赖 PR 标题中的约定式提交的自动化发布流水线。具体的文档可以查看 核心贡献指南.

当为文档更改创建 PR 请求时,请确保 PR 标题使用了约定式提交类型 docs 以及 docs: <description> 的格式。

Vuepress

网站的配置包含在几个 JavaScript 文件中,其中 JS 对象用于表示配置。它们是:

  • docs/.vuepress/config.js:网站的根配置文件。请查看 Vuepress 文档 了解更多详情。

为了简化根配置文件,更大的 JS 对象表示 导航栏和侧边栏 配置已经被提取并按照语言类型分隔开来。请参考以下文件:

  • docs/.vuepress/navbar.js
  • docs/.vuepress/sidebar.js

这些配置的官方文档位于 默认主题参考

I18n 国际化

Vuepress 有一流的国际化支持。根配置文件 docs/.vuepress/config.js 定义了支持的语言类型及其 URL、在选择下拉菜单中的标题以及导航栏/侧边栏配置引用。

导航栏/侧边栏配置在上述配置文件中捕获,按语言类型分隔开并单独导出。

每种语言的 markdown 内容必须位于与根配置文件中 locale 键同名的目录位置。也就是:

js
{
+  ...
+  themeConfig: {
+    locales: {
+      "/": {
+        selectLanguageName: "English (US)",
+        sidebar: sidebar.en,
+        navbar: navbar.en
+      },
+      "/pt-BR/": {
+        selectLanguageName: "Brazilian Portuguese",
+        sidebar: sidebar.pt_br,
+        navbar: navbar.pt_br
+      }
+    }
+  }
+}

/pt-BR/ 将要求 markdown 文件的同一集合位于 docs/pt-BR/ 目录下,如下所示:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

请查看 Vuepress i18n 国际化官方文档 了解更多详情。

`,37)]))}const g=a(t,[["render",l]]);export{c as __pageData,g as default}; diff --git a/assets/zh-hans_contribute_first-party-plugins.md.CaobaPwV.js b/assets/zh-hans_contribute_first-party-plugins.md.CaobaPwV.js new file mode 100644 index 00000000..c8ba361f --- /dev/null +++ b/assets/zh-hans_contribute_first-party-plugins.md.CaobaPwV.js @@ -0,0 +1 @@ +import{_ as a,c as r,a2 as t,o as s}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"官方插件","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/contribute/first-party-plugins.md","filePath":"zh-hans/contribute/first-party-plugins.md","lastUpdated":1643288544000}'),i={name:"zh-hans/contribute/first-party-plugins.md"};function l(o,e,n,d,f,c){return s(),r("div",null,e[0]||(e[0]=[t('

官方插件

asdf 核心团队已经开发了一些与他们日常工作相关的插件。随时欢迎大家维护和改进这些插件。这些插件所对应的存储库链接如下所示:

对于社区插件,请参考:

',5)]))}const u=a(i,[["render",l]]);export{p as __pageData,u as default}; diff --git a/assets/zh-hans_contribute_first-party-plugins.md.CaobaPwV.lean.js b/assets/zh-hans_contribute_first-party-plugins.md.CaobaPwV.lean.js new file mode 100644 index 00000000..c8ba361f --- /dev/null +++ b/assets/zh-hans_contribute_first-party-plugins.md.CaobaPwV.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,a2 as t,o as s}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"官方插件","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/contribute/first-party-plugins.md","filePath":"zh-hans/contribute/first-party-plugins.md","lastUpdated":1643288544000}'),i={name:"zh-hans/contribute/first-party-plugins.md"};function l(o,e,n,d,f,c){return s(),r("div",null,e[0]||(e[0]=[t('

官方插件

asdf 核心团队已经开发了一些与他们日常工作相关的插件。随时欢迎大家维护和改进这些插件。这些插件所对应的存储库链接如下所示:

对于社区插件,请参考:

',5)]))}const u=a(i,[["render",l]]);export{p as __pageData,u as default}; diff --git a/assets/zh-hans_contribute_github-actions.md.BMOvSElT.js b/assets/zh-hans_contribute_github-actions.md.BMOvSElT.js new file mode 100644 index 00000000..54622979 --- /dev/null +++ b/assets/zh-hans_contribute_github-actions.md.BMOvSElT.js @@ -0,0 +1 @@ +import{_ as n,c as s,j as t,a,o as i}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"GitHub Actions","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/contribute/github-actions.md","filePath":"zh-hans/contribute/github-actions.md","lastUpdated":1643288544000}'),o={name:"zh-hans/contribute/github-actions.md"};function r(c,e,h,d,u,l){return i(),s("div",null,e[0]||(e[0]=[t("h1",{id:"github-actions",tabindex:"-1"},[a("GitHub Actions "),t("a",{class:"header-anchor",href:"#github-actions","aria-label":'Permalink to "GitHub Actions"'},"​")],-1),t("p",null,[a("感谢你的关注,请参考 "),t("a",{href:"https://github.com/asdf-vm/actions",target:"_blank",rel:"noreferrer"},"asdf actions repo"),a(" 了解现有的问题、对话和贡献指南。")],-1)]))}const f=n(o,[["render",r]]);export{p as __pageData,f as default}; diff --git a/assets/zh-hans_contribute_github-actions.md.BMOvSElT.lean.js b/assets/zh-hans_contribute_github-actions.md.BMOvSElT.lean.js new file mode 100644 index 00000000..54622979 --- /dev/null +++ b/assets/zh-hans_contribute_github-actions.md.BMOvSElT.lean.js @@ -0,0 +1 @@ +import{_ as n,c as s,j as t,a,o as i}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"GitHub Actions","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/contribute/github-actions.md","filePath":"zh-hans/contribute/github-actions.md","lastUpdated":1643288544000}'),o={name:"zh-hans/contribute/github-actions.md"};function r(c,e,h,d,u,l){return i(),s("div",null,e[0]||(e[0]=[t("h1",{id:"github-actions",tabindex:"-1"},[a("GitHub Actions "),t("a",{class:"header-anchor",href:"#github-actions","aria-label":'Permalink to "GitHub Actions"'},"​")],-1),t("p",null,[a("感谢你的关注,请参考 "),t("a",{href:"https://github.com/asdf-vm/actions",target:"_blank",rel:"noreferrer"},"asdf actions repo"),a(" 了解现有的问题、对话和贡献指南。")],-1)]))}const f=n(o,[["render",r]]);export{p as __pageData,f as default}; diff --git a/assets/zh-hans_guide_getting-started.md.neLGUZQV.js b/assets/zh-hans_guide_getting-started.md.neLGUZQV.js new file mode 100644 index 00000000..af16ccb1 --- /dev/null +++ b/assets/zh-hans_guide_getting-started.md.neLGUZQV.js @@ -0,0 +1,13 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"快速入门","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/guide/getting-started.md","filePath":"zh-hans/guide/getting-started.md","lastUpdated":1724080713000}'),l={name:"zh-hans/guide/getting-started.md"};function h(n,s,p,d,o,k){return t(),a("div",null,s[0]||(s[0]=[e(`

快速入门

asdf 安装过程包括:

  1. 安装依赖
  2. 下载 asdf 核心
  3. 安装 asdf
  4. 为每一个你想要管理的工具/运行环境安装插件
  5. 安装工具/运行环境的一个版本
  6. 通过 .tool-versions 配置文件设置全局和项目版本

1. 安装依赖

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. 下载 asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. 安装 asdf

根据 Shell 脚本、操作系统和安装方法的组合不同,相应的配置也会不同。展开以下与你的系统最匹配的选项:

Bash & Git

~/.bashrc 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

补全功能必须在 .bashrc 文件中加入以下内容来配置完成:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

如果你正在使用 macOS Catalina 或者更新的版本, 默认的 shell 已经被修改为 ZSH。除非修改回 Bash, 否则请遵循 ZSH 的说明。

~/.bash_profile 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

补全功能必须在 .bash_profile 文件中使用以下内容手动配置完成:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.bashrc 文件中:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bashrc

补全功能将需要 按照 Homebrew 的说明完成配置 或者执行以下命令:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bashrc
Bash & Homebrew (macOS)

如果你正在使用 macOS Catalina 或者更新的版本, 默认的 shell 已经被修改为 ZSH。除非修改回 Bash, 否则请遵循 ZSH 的说明。

使用以下命令将 asdf.sh 加入到 ~/.bash_profile 文件中:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bash_profile

补全功能将需要 按照 Homebrew 的说明完成配置 或者执行以下命令:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bash_profile
Bash & Pacman

~/.bashrc 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.sh

为了让补全功能正常工作需要安装 bash-completion

Fish & Git

~/.config/fish/config.fish 文件中加入以下内容:

shell
source ~/.asdf/asdf.fish

补全功能必须按照以下命令手动配置完成:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

使用以下命令将 asdf.fish 加入到 ~/.config/fish/config.fish 文件中:

shell
echo -e "\\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

Fish shell 的补全功能可以交给 Homebrew 处理. 很友好!

Fish & Pacman

~/.config/fish/config.fish 文件中加入以下内容:

shell
source /opt/asdf-vm/asdf.fish

补全功能将会在安装过程中由 AUR 包管理器自动配置完成。

Elvish & Git

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

Elvish & Homebrew

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

Elvish & Pacman

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

ZSH & Git

~/.zshrc 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

或者 使用 ZSH 框架插件,比如 asdf for oh-my-zsh 将会使脚本生效并安装补全功能。

补全功能会被 ZSH 框架 asdf 插件或者通过在 .zshrc 文件中加入以下内容自动配置:

shell
# append completions to fpath
+fpath=(\${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • 如果你正在使用自定义的 compinit 配置,请确保 compinitasdf.sh 生效位置的下方
  • 如果你正在使用自定义的 compinit 配置和 ZSH 框架,请确保 compinit 在框架生效位置的下方

警告

如果你正在使用 ZSH 框架,有关的 asdf 插件或许需要更新才能通过 fpath 正确地使用最新的 ZSH 补全功能。Oh-My-ZSH asdf 插件还在更新中,请查看 ohmyzsh/ohmyzsh#8837 了解更多。

ZSH & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.zshrc 文件中:

shell
echo -e "\\n. $(brew --prefix asdf)/libexec/asdf.sh" >> \${ZDOTDIR:-~}/.zshrc

或者 使用 ZSH 框架插件,比如 asdf for oh-my-zsh 将会使脚本生效并安装补全功能。

补全功能可以被 ZSH 框架 asdf 或者 按照 Homebrew 的指引 完成配置。如果你正在使用 ZSH 框架,有关的 asdf 插件或许需要更新才能通过 fpath 正确地使用最新的 ZSH 补全功能。Oh-My-ZSH asdf 插件还在更新中,请查看 ohmyzsh/ohmyzsh#8837 了解更多。

ZSH & Pacman

~/.zshrc 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.sh

补全功能会被放在一个对 ZSH 很友好的位置,但是 ZSH 必须使用自动补全完成配置

PowerShell Core & Git

~/.config/powershell/profile.ps1 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

使用以下命令将 asdf.ps1 加入到 ~/.config/powershell/profile.ps1 文件中:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.ps1\\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

~/.config/powershell/profile.ps1 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

补全功能将会自动配置。

Nushell & Homebrew

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

补全功能将会自动配置。

Nushell & Pacman

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\\n$env.ASDF_DIR = '/opt/asdf-vm/'\\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

补全功能将会自动配置。

POSIX Shell & Git

~/.profile 文件中加入以下内容:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.profile 文件中:

shell
echo -e "\\nexport ASDF_DIR=\\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
+echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
POSIX Shell & Pacman

~/.profile 文件中加入以下内容:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdf 脚本需要在设置好的 $PATH 之后和已经生效的框架(比如 oh-my-zsh 等等)之后的位置生效。

通常打开一个新的终端标签页来重启你的 shell 让 PATH 更改即时生效。

核心安装完成!

这样就完成了 asdf 核心的安装 🎉

asdf 仅在你安装插件工具和管理它们的版本时才开始真正发挥作用。请继续阅读下面的指南来了解这些是如何做到的。

4. 安装插件

出于演示目的,我们将通过 asdf-nodejs 插件来安装和设置 Node.js

插件依赖

每个插件都有依赖,所以我们需要确认应该列举了这些依赖的插件源码。对于 asdf-nodejs 来说,它们是:

操作系统安装依赖
Linux (Debian)apt-get install dirmngr gpg curl gawk
macOSbrew install gpg gawk

我们应该提前安装这些依赖,因为有些插件有 post-install 钩子。

安装插件

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. 安装指定版本

现在我们已经有了 Node.js 插件,所以我们可以开始安装某个版本了。

我们通过 asdf list all nodejs 可以看到所有可用的版本或者通过 asdf list all nodejs 14 查看版本子集。

我们将只安装最新可用的 latest 版本:

shell
asdf install nodejs latest

注意

asdf 强制使用准确的版本。latest 是一个通过 asdf 来解析到执行时刻的实际版本号的辅助工具。

6. 设置默认版本

asdf 在从当前工作目录一直到 $HOME 目录的所有 .tool-versions 文件中进行工具的版本查找。查找在执行 asdf 管理的工具时实时发生。

警告

如果没有为工具找到指定的版本,则会出现错误asdf current 将显示当前目录中的工具和版本解析结果,或者不存在,以便你可以观察哪些工具将无法执行。

全局

全局默认配置在 $HOME/.tool-versions 文件中进行管理。使用以下命令可以设置一个全局版本:

shell
asdf global nodejs latest

$HOME/.tool-versions 文件内容将会如下所示:

nodejs 16.5.0

某些操作系统已经有一些由系统而非 asdf 安装和管理的工具了,python 就是一个常见的例子。你需要告诉 asdf 将管理权还给系统。版本参考部分 将会引导你。

本地

本地版本被定义在 $PWD/.tool-versions 文件中(当前工作目录)。通常,这将会是一个项目的 Git 存储库。当在你想要的目录执行:

shell
asdf local nodejs latest

$PWD/.tool-versions 文件内容将会如下所示:

nodejs 16.5.0

使用现有工具版本文件

asdf 支持从其他版本管理器的现有版本文件中迁移过来,比如 rbenv.ruby-version 文件。这在每个插件中都原生支持。

asdf-nodejs 支持从 .nvmrc.node-version 文件进行迁移。为了启用此功能,请在 asdf 配置文件 $HOME/.asdfrc 中加入以下内容:

legacy_version_file = yes

请查看 配置 参考页面可以了解更多配置选项。

完成指南!

恭喜你完成了 asdf 的快速上手 🎉 你现在可以管理你的项目的 nodejs 版本了。对于项目中的其他工具类型可以执行类似步骤即可!

asdf 还有更多命令需要熟悉,你可以通过运行 asdf --help 或者 asdf 来查看它们。命令主要分为三类:

`,80)]))}const g=i(l,[["render",h]]);export{c as __pageData,g as default}; diff --git a/assets/zh-hans_guide_getting-started.md.neLGUZQV.lean.js b/assets/zh-hans_guide_getting-started.md.neLGUZQV.lean.js new file mode 100644 index 00000000..af16ccb1 --- /dev/null +++ b/assets/zh-hans_guide_getting-started.md.neLGUZQV.lean.js @@ -0,0 +1,13 @@ +import{_ as i,c as a,a2 as e,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"快速入门","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/guide/getting-started.md","filePath":"zh-hans/guide/getting-started.md","lastUpdated":1724080713000}'),l={name:"zh-hans/guide/getting-started.md"};function h(n,s,p,d,o,k){return t(),a("div",null,s[0]||(s[0]=[e(`

快速入门

asdf 安装过程包括:

  1. 安装依赖
  2. 下载 asdf 核心
  3. 安装 asdf
  4. 为每一个你想要管理的工具/运行环境安装插件
  5. 安装工具/运行环境的一个版本
  6. 通过 .tool-versions 配置文件设置全局和项目版本

1. 安装依赖

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. 下载 asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. 安装 asdf

根据 Shell 脚本、操作系统和安装方法的组合不同,相应的配置也会不同。展开以下与你的系统最匹配的选项:

Bash & Git

~/.bashrc 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

补全功能必须在 .bashrc 文件中加入以下内容来配置完成:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

如果你正在使用 macOS Catalina 或者更新的版本, 默认的 shell 已经被修改为 ZSH。除非修改回 Bash, 否则请遵循 ZSH 的说明。

~/.bash_profile 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

补全功能必须在 .bash_profile 文件中使用以下内容手动配置完成:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.bashrc 文件中:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bashrc

补全功能将需要 按照 Homebrew 的说明完成配置 或者执行以下命令:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bashrc
Bash & Homebrew (macOS)

如果你正在使用 macOS Catalina 或者更新的版本, 默认的 shell 已经被修改为 ZSH。除非修改回 Bash, 否则请遵循 ZSH 的说明。

使用以下命令将 asdf.sh 加入到 ~/.bash_profile 文件中:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.bash_profile

补全功能将需要 按照 Homebrew 的说明完成配置 或者执行以下命令:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\\"" >> ~/.bash_profile
Bash & Pacman

~/.bashrc 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.sh

为了让补全功能正常工作需要安装 bash-completion

Fish & Git

~/.config/fish/config.fish 文件中加入以下内容:

shell
source ~/.asdf/asdf.fish

补全功能必须按照以下命令手动配置完成:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

使用以下命令将 asdf.fish 加入到 ~/.config/fish/config.fish 文件中:

shell
echo -e "\\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

Fish shell 的补全功能可以交给 Homebrew 处理. 很友好!

Fish & Pacman

~/.config/fish/config.fish 文件中加入以下内容:

shell
source /opt/asdf-vm/asdf.fish

补全功能将会在安装过程中由 AUR 包管理器自动配置完成。

Elvish & Git

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

Elvish & Homebrew

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

Elvish & Pacman

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

ZSH & Git

~/.zshrc 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

或者 使用 ZSH 框架插件,比如 asdf for oh-my-zsh 将会使脚本生效并安装补全功能。

补全功能会被 ZSH 框架 asdf 插件或者通过在 .zshrc 文件中加入以下内容自动配置:

shell
# append completions to fpath
+fpath=(\${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • 如果你正在使用自定义的 compinit 配置,请确保 compinitasdf.sh 生效位置的下方
  • 如果你正在使用自定义的 compinit 配置和 ZSH 框架,请确保 compinit 在框架生效位置的下方

警告

如果你正在使用 ZSH 框架,有关的 asdf 插件或许需要更新才能通过 fpath 正确地使用最新的 ZSH 补全功能。Oh-My-ZSH asdf 插件还在更新中,请查看 ohmyzsh/ohmyzsh#8837 了解更多。

ZSH & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.zshrc 文件中:

shell
echo -e "\\n. $(brew --prefix asdf)/libexec/asdf.sh" >> \${ZDOTDIR:-~}/.zshrc

或者 使用 ZSH 框架插件,比如 asdf for oh-my-zsh 将会使脚本生效并安装补全功能。

补全功能可以被 ZSH 框架 asdf 或者 按照 Homebrew 的指引 完成配置。如果你正在使用 ZSH 框架,有关的 asdf 插件或许需要更新才能通过 fpath 正确地使用最新的 ZSH 补全功能。Oh-My-ZSH asdf 插件还在更新中,请查看 ohmyzsh/ohmyzsh#8837 了解更多。

ZSH & Pacman

~/.zshrc 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.sh

补全功能会被放在一个对 ZSH 很友好的位置,但是 ZSH 必须使用自动补全完成配置

PowerShell Core & Git

~/.config/powershell/profile.ps1 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

使用以下命令将 asdf.ps1 加入到 ~/.config/powershell/profile.ps1 文件中:

shell
echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.ps1\\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

~/.config/powershell/profile.ps1 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

补全功能将会自动配置。

Nushell & Homebrew

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

补全功能将会自动配置。

Nushell & Pacman

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\\n$env.ASDF_DIR = '/opt/asdf-vm/'\\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

补全功能将会自动配置。

POSIX Shell & Git

~/.profile 文件中加入以下内容:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.profile 文件中:

shell
echo -e "\\nexport ASDF_DIR=\\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
+echo -e "\\n. \\"$(brew --prefix asdf)/libexec/asdf.sh\\"" >> ~/.profile
POSIX Shell & Pacman

~/.profile 文件中加入以下内容:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdf 脚本需要在设置好的 $PATH 之后和已经生效的框架(比如 oh-my-zsh 等等)之后的位置生效。

通常打开一个新的终端标签页来重启你的 shell 让 PATH 更改即时生效。

核心安装完成!

这样就完成了 asdf 核心的安装 🎉

asdf 仅在你安装插件工具和管理它们的版本时才开始真正发挥作用。请继续阅读下面的指南来了解这些是如何做到的。

4. 安装插件

出于演示目的,我们将通过 asdf-nodejs 插件来安装和设置 Node.js

插件依赖

每个插件都有依赖,所以我们需要确认应该列举了这些依赖的插件源码。对于 asdf-nodejs 来说,它们是:

操作系统安装依赖
Linux (Debian)apt-get install dirmngr gpg curl gawk
macOSbrew install gpg gawk

我们应该提前安装这些依赖,因为有些插件有 post-install 钩子。

安装插件

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. 安装指定版本

现在我们已经有了 Node.js 插件,所以我们可以开始安装某个版本了。

我们通过 asdf list all nodejs 可以看到所有可用的版本或者通过 asdf list all nodejs 14 查看版本子集。

我们将只安装最新可用的 latest 版本:

shell
asdf install nodejs latest

注意

asdf 强制使用准确的版本。latest 是一个通过 asdf 来解析到执行时刻的实际版本号的辅助工具。

6. 设置默认版本

asdf 在从当前工作目录一直到 $HOME 目录的所有 .tool-versions 文件中进行工具的版本查找。查找在执行 asdf 管理的工具时实时发生。

警告

如果没有为工具找到指定的版本,则会出现错误asdf current 将显示当前目录中的工具和版本解析结果,或者不存在,以便你可以观察哪些工具将无法执行。

全局

全局默认配置在 $HOME/.tool-versions 文件中进行管理。使用以下命令可以设置一个全局版本:

shell
asdf global nodejs latest

$HOME/.tool-versions 文件内容将会如下所示:

nodejs 16.5.0

某些操作系统已经有一些由系统而非 asdf 安装和管理的工具了,python 就是一个常见的例子。你需要告诉 asdf 将管理权还给系统。版本参考部分 将会引导你。

本地

本地版本被定义在 $PWD/.tool-versions 文件中(当前工作目录)。通常,这将会是一个项目的 Git 存储库。当在你想要的目录执行:

shell
asdf local nodejs latest

$PWD/.tool-versions 文件内容将会如下所示:

nodejs 16.5.0

使用现有工具版本文件

asdf 支持从其他版本管理器的现有版本文件中迁移过来,比如 rbenv.ruby-version 文件。这在每个插件中都原生支持。

asdf-nodejs 支持从 .nvmrc.node-version 文件进行迁移。为了启用此功能,请在 asdf 配置文件 $HOME/.asdfrc 中加入以下内容:

legacy_version_file = yes

请查看 配置 参考页面可以了解更多配置选项。

完成指南!

恭喜你完成了 asdf 的快速上手 🎉 你现在可以管理你的项目的 nodejs 版本了。对于项目中的其他工具类型可以执行类似步骤即可!

asdf 还有更多命令需要熟悉,你可以通过运行 asdf --help 或者 asdf 来查看它们。命令主要分为三类:

`,80)]))}const g=i(l,[["render",h]]);export{c as __pageData,g as default}; diff --git a/assets/zh-hans_guide_introduction.md.4qLfdOnh.js b/assets/zh-hans_guide_introduction.md.4qLfdOnh.js new file mode 100644 index 00000000..57060df9 --- /dev/null +++ b/assets/zh-hans_guide_introduction.md.4qLfdOnh.js @@ -0,0 +1 @@ +import{_ as a,c as r,a2 as o,o as t}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"项目简介","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/guide/introduction.md","filePath":"zh-hans/guide/introduction.md","lastUpdated":1643288544000}'),d={name:"zh-hans/guide/introduction.md"};function n(i,e,s,c,l,h){return t(),r("div",null,e[0]||(e[0]=[o('

项目简介

asdf 是一个工具版本管理器。所有的工具版本定义都包含在一个文件(.tool-versions)中,你可以将配置文件放在项目的 Git 存储库中以便于和团队其他成员共享,从而确保每个人都使用完全相同的工具版本。

传统工作方式需要多个命令行版本管理器,而且每个管理器都有其不同的 API、配置文件和实现方式(比如,$PATH 操作、垫片、环境变量等等)。asdf 提供单个交互方式和配置文件来简化开发工作流程,并可通过简单的插件接口扩展到所有工具和运行环境。

它是如何工作的

一旦 asdf 核心在 Shell 配置中设置好之后,你可以安装插件来管理特定的工具。当通过插件安装工具时,安装的可执行程序会为每个可执行程序创建 垫片。当你尝试运行其中一个可执行程序时,将运行垫片,从而允许 asdf 识别 .tool-versions 文件中设置的工具版本并执行该版本。

相关项目

nvm / n / rbenv 等

nvm, nrbenv 等工具都是用 Shell 脚本写的,这些脚本能为工具安装的可执行程序创建垫片。

asdf 非常相似,目的是在工具/运行环境版本管理领域竞争。asdf 的区别之处在于它的插件系统,它消除了每个工具/运行环境对管理工具的需求、每个管理工具的不同命令以及存储库中不同的*-版本文件。

direnv

使用可以根据当前目录加载和卸载环境变量的新功能增强现有 shell。

asdf 不管理环境变量,但是有一个插件 asdf-direnv 可以用来集成 direnv 的特性到 asdf 中。

请查看 direnv 文档 了解更多。

Homebrew

macOS(或者 Linux)上缺失包的管理器

Homebrew 管理你的软件包及其上游依赖。asdf 不管理上游依赖,它不是包管理器。这个责任取决于用户,尽管我们试图保持依赖关系列表很小。

请查看 Homebrew 文档 了解更多。

NixOS

Nix 是一种采用独特方法进行软件包管理和系统配置的工具

NixOS 旨在通过管理每个工具的整个依赖关系树中软件包的确切版本来构建真正可重复的环境,有些是 asdf 无法做到的。NixOS 使用自己的编程语言、许多命令行工具和超过 60,000 个包的包集合来实现这一点。

同样,asdf 不管理上游依赖,并且它不是一个包管理器。

请查看 NixOS 文档 了解更多。

为什么使用 asdf?

asdf 确保团队可以使用完全相同的工具版本,通过插件系统支持很多工具,以及作为 Shell 配置中包含的单个 Shell 脚本的 简单性和熟悉性

注意

asdf 并不打算成为一个系统包管理器。它是一个工具版本管理器。仅仅因为你可以为任何工具创建插件并使用 asdf 管理其版本,并不意味着这是这个特定工具的最佳实践方案。

',25)]))}const b=a(d,[["render",n]]);export{f as __pageData,b as default}; diff --git a/assets/zh-hans_guide_introduction.md.4qLfdOnh.lean.js b/assets/zh-hans_guide_introduction.md.4qLfdOnh.lean.js new file mode 100644 index 00000000..57060df9 --- /dev/null +++ b/assets/zh-hans_guide_introduction.md.4qLfdOnh.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,a2 as o,o as t}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"项目简介","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/guide/introduction.md","filePath":"zh-hans/guide/introduction.md","lastUpdated":1643288544000}'),d={name:"zh-hans/guide/introduction.md"};function n(i,e,s,c,l,h){return t(),r("div",null,e[0]||(e[0]=[o('

项目简介

asdf 是一个工具版本管理器。所有的工具版本定义都包含在一个文件(.tool-versions)中,你可以将配置文件放在项目的 Git 存储库中以便于和团队其他成员共享,从而确保每个人都使用完全相同的工具版本。

传统工作方式需要多个命令行版本管理器,而且每个管理器都有其不同的 API、配置文件和实现方式(比如,$PATH 操作、垫片、环境变量等等)。asdf 提供单个交互方式和配置文件来简化开发工作流程,并可通过简单的插件接口扩展到所有工具和运行环境。

它是如何工作的

一旦 asdf 核心在 Shell 配置中设置好之后,你可以安装插件来管理特定的工具。当通过插件安装工具时,安装的可执行程序会为每个可执行程序创建 垫片。当你尝试运行其中一个可执行程序时,将运行垫片,从而允许 asdf 识别 .tool-versions 文件中设置的工具版本并执行该版本。

相关项目

nvm / n / rbenv 等

nvm, nrbenv 等工具都是用 Shell 脚本写的,这些脚本能为工具安装的可执行程序创建垫片。

asdf 非常相似,目的是在工具/运行环境版本管理领域竞争。asdf 的区别之处在于它的插件系统,它消除了每个工具/运行环境对管理工具的需求、每个管理工具的不同命令以及存储库中不同的*-版本文件。

direnv

使用可以根据当前目录加载和卸载环境变量的新功能增强现有 shell。

asdf 不管理环境变量,但是有一个插件 asdf-direnv 可以用来集成 direnv 的特性到 asdf 中。

请查看 direnv 文档 了解更多。

Homebrew

macOS(或者 Linux)上缺失包的管理器

Homebrew 管理你的软件包及其上游依赖。asdf 不管理上游依赖,它不是包管理器。这个责任取决于用户,尽管我们试图保持依赖关系列表很小。

请查看 Homebrew 文档 了解更多。

NixOS

Nix 是一种采用独特方法进行软件包管理和系统配置的工具

NixOS 旨在通过管理每个工具的整个依赖关系树中软件包的确切版本来构建真正可重复的环境,有些是 asdf 无法做到的。NixOS 使用自己的编程语言、许多命令行工具和超过 60,000 个包的包集合来实现这一点。

同样,asdf 不管理上游依赖,并且它不是一个包管理器。

请查看 NixOS 文档 了解更多。

为什么使用 asdf?

asdf 确保团队可以使用完全相同的工具版本,通过插件系统支持很多工具,以及作为 Shell 配置中包含的单个 Shell 脚本的 简单性和熟悉性

注意

asdf 并不打算成为一个系统包管理器。它是一个工具版本管理器。仅仅因为你可以为任何工具创建插件并使用 asdf 管理其版本,并不意味着这是这个特定工具的最佳实践方案。

',25)]))}const b=a(d,[["render",n]]);export{f as __pageData,b as default}; diff --git a/assets/zh-hans_index.md.DQ8VBECv.js b/assets/zh-hans_index.md.DQ8VBECv.js new file mode 100644 index 00000000..627e3765 --- /dev/null +++ b/assets/zh-hans_index.md.DQ8VBECv.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as i}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"asdf","text":"多运行时版本管理器","tagline":"使用一个工具管理所有运行时版本!","actions":[{"theme":"brand","text":"快速上手","link":"/zh-hans/guide/getting-started"},{"theme":"alt","text":"什么是asdf?","link":"/zh-hans/guide/introduction"},{"theme":"alt","text":"在 Github 上查看","link":"https://github.com/asdf-vm/asdf"}]},"features":[{"title":"一个工具","details":"使用单个命令行工具和命令界面管理你的每个项目运行环境。","icon":"🎉"},{"title":"插件","details":"现有运行环境和工具的大型生态系统。简单 API 用于根据需要添加对新工具的支持!","icon":"🔌"},{"title":"向后兼容","details":"支持从现有配置文件 .nvmrc、.node-version、.ruby-version 平滑迁移!","icon":"⏮"},{"title":"一个配置文件","details":"一个可共享的 .tool-versions 配置文件管理所有工具、运行环境及其版本。","icon":"📄"},{"title":"Shells","details":"支持 Bash、ZSH、Fish 和 Elvish,并提供补全功能。","icon":"🐚"},{"title":"GitHub Actions","details":"提供 Github Action 在 CI/CD 工作流中安装和使用 .tool-versions。","icon":"🤖"}]},"headers":[],"relativePath":"zh-hans/index.md","filePath":"zh-hans/index.md","lastUpdated":1700090238000}'),n={name:"zh-hans/index.md"};function a(s,o,d,l,r,c){return i(),e("div")}const u=t(n,[["render",a]]);export{m as __pageData,u as default}; diff --git a/assets/zh-hans_index.md.DQ8VBECv.lean.js b/assets/zh-hans_index.md.DQ8VBECv.lean.js new file mode 100644 index 00000000..627e3765 --- /dev/null +++ b/assets/zh-hans_index.md.DQ8VBECv.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as i}from"./chunks/framework.C9NVOr0y.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"asdf","text":"多运行时版本管理器","tagline":"使用一个工具管理所有运行时版本!","actions":[{"theme":"brand","text":"快速上手","link":"/zh-hans/guide/getting-started"},{"theme":"alt","text":"什么是asdf?","link":"/zh-hans/guide/introduction"},{"theme":"alt","text":"在 Github 上查看","link":"https://github.com/asdf-vm/asdf"}]},"features":[{"title":"一个工具","details":"使用单个命令行工具和命令界面管理你的每个项目运行环境。","icon":"🎉"},{"title":"插件","details":"现有运行环境和工具的大型生态系统。简单 API 用于根据需要添加对新工具的支持!","icon":"🔌"},{"title":"向后兼容","details":"支持从现有配置文件 .nvmrc、.node-version、.ruby-version 平滑迁移!","icon":"⏮"},{"title":"一个配置文件","details":"一个可共享的 .tool-versions 配置文件管理所有工具、运行环境及其版本。","icon":"📄"},{"title":"Shells","details":"支持 Bash、ZSH、Fish 和 Elvish,并提供补全功能。","icon":"🐚"},{"title":"GitHub Actions","details":"提供 Github Action 在 CI/CD 工作流中安装和使用 .tool-versions。","icon":"🤖"}]},"headers":[],"relativePath":"zh-hans/index.md","filePath":"zh-hans/index.md","lastUpdated":1700090238000}'),n={name:"zh-hans/index.md"};function a(s,o,d,l,r,c){return i(),e("div")}const u=t(n,[["render",a]]);export{m as __pageData,u as default}; diff --git a/assets/zh-hans_manage_commands.md.BJVPpY77.js b/assets/zh-hans_manage_commands.md.BJVPpY77.js new file mode 100644 index 00000000..8da8fe39 --- /dev/null +++ b/assets/zh-hans_manage_commands.md.BJVPpY77.js @@ -0,0 +1,66 @@ +import{_ as a,c as n,a2 as e,o as p}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"所有命令","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/commands.md","filePath":"zh-hans/manage/commands.md","lastUpdated":1687069487000}'),l={name:"zh-hans/manage/commands.md"};function t(i,s,o,c,r,d){return p(),n("div",null,s[0]||(s[0]=[e(`

所有命令

asdf 中所有可用命令的列表。这个列表就是 asdf help 命令的打印内容。

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        \`ASDF_\${LANG}_VERSION\` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: \`env\`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
`,3)]))}const h=a(l,[["render",t]]);export{f as __pageData,h as default}; diff --git a/assets/zh-hans_manage_commands.md.BJVPpY77.lean.js b/assets/zh-hans_manage_commands.md.BJVPpY77.lean.js new file mode 100644 index 00000000..8da8fe39 --- /dev/null +++ b/assets/zh-hans_manage_commands.md.BJVPpY77.lean.js @@ -0,0 +1,66 @@ +import{_ as a,c as n,a2 as e,o as p}from"./chunks/framework.C9NVOr0y.js";const f=JSON.parse('{"title":"所有命令","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/commands.md","filePath":"zh-hans/manage/commands.md","lastUpdated":1687069487000}'),l={name:"zh-hans/manage/commands.md"};function t(i,s,o,c,r,d){return p(),n("div",null,s[0]||(s[0]=[e(`

所有命令

asdf 中所有可用命令的列表。这个列表就是 asdf help 命令的打印内容。

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        \`ASDF_\${LANG}_VERSION\` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: \`env\`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
`,3)]))}const h=a(l,[["render",t]]);export{f as __pageData,h as default}; diff --git a/assets/zh-hans_manage_configuration.md.DckznVe9.js b/assets/zh-hans_manage_configuration.md.DckznVe9.js new file mode 100644 index 00000000..31c68596 --- /dev/null +++ b/assets/zh-hans_manage_configuration.md.DckznVe9.js @@ -0,0 +1,9 @@ +import{_ as d,c as n,a2 as a,j as e,a as t,G as o,B as i,o as r}from"./chunks/framework.C9NVOr0y.js";const A=JSON.parse('{"title":"配置","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/configuration.md","filePath":"zh-hans/manage/configuration.md","lastUpdated":1687069487000}'),p={name:"zh-hans/manage/configuration.md"},u={tabindex:"0"},c={style:{"text-align":"left"}},f={tabindex:"0"},g={style:{"text-align":"left"}},y={tabindex:"0"},b={style:{"text-align":"left"}},v={tabindex:"0"},x={style:{"text-align":"left"}};function m(h,l,k,P,q,w){const s=i("Badge");return r(),n("div",null,[l[28]||(l[28]=a(`

配置

asdf 配置既包括可共享的 .tool-versions 文件,也包括用户特定的自定义 .asdfrc 和环境变量。

.tool-versions

无论何时 .tool-versions 出现在目录中,它所声明的工具版本将会被用于该目录和任意子目录。

注意

全局默认配置将设置在文件$HOME/.tool-versions

一个 .tool-versions 文件示例如下所示:

ruby 2.5.3
+nodejs 10.15.0

你也可以包含注释在里面:

ruby 2.5.3 # 这是一个注释
+# 这是另一个注释
+nodejs 10.15.0

版本号可以有如下格式:

  • 10.15.0 - 实际的版本号。支持下载二进制文件的插件将会下载二进制文件。
  • ref:v1.0.2-a 或者 ref:39cb398vb39 - 指定标签/提交/分支从 github 下载并编译。
  • path:~/src/elixir - 要使用的工具的自定义编译版本的路径。这种方式供语言开发者等使用。
  • system - 此关键字会导致 asdf 传递系统上未由 asdf 管理的工具版本。

提示

多版本可以通过空格将它们分隔开来。比如,使用 Python 3.7.2 回退到 Python 2.7.15 最后回退到 system Python,可以将以下行的内容添加到 .tool-versions 文件中。

python 3.7.2 2.7.15 system

为了安装 .tool-versions 文件中定义的所有工具,在包含 .tool-versions 文件的目录中不带其他参数执行 asdf install 命令。

为了安装 .tool-versions 文件中定义的某个工具,在包含 .tool-versions 文件的目录中运行 asdf install <name> 命令。这个工具将会安装 .tool-versions 文件所指定的版本。

可以直接编辑这个文件或者使用 asdf local (或者 asdf global)来更新工具版本。

$HOME/.asdfrc

给你的家目录添加一个 .asdfrc 文件然后 asdf 将会使用这个文件所指定的配置。下面的文件展示了所需的格式,其中包含用于演示的默认值:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

插件 支持 读取其他版本管理器使用的版本文件,比如,Ruby 的 rbenv.ruby-version 文件。

`,20)),e("table",u,[l[4]||(l[4]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"选项"),e("th",{style:{"text-align":"left"}},"描述")])],-1)),e("tbody",null,[e("tr",null,[e("td",c,[l[0]||(l[0]=e("code",null,"no",-1)),l[1]||(l[1]=t()),o(s,{type:"tip",text:"默认",vertical:"middle"})]),l[2]||(l[2]=e("td",{style:{"text-align":"left"}},[t("从 "),e("code",null,".tool-versions"),t(" 文件读取版本")],-1))]),l[3]||(l[3]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},[t("如果可行的话,从传统版本文件读取版本("),e("code",null,".ruby-versions"),t(")")])],-1))])]),l[29]||(l[29]=e("h3",{id:"use-release-candidates",tabindex:"-1"},[e("code",null,"use_release_candidates"),t(),e("a",{class:"header-anchor",href:"#use-release-candidates","aria-label":'Permalink to "`use_release_candidates`"'},"​")],-1)),l[30]||(l[30]=e("p",null,[t("配置 "),e("code",null,"asdf update"),t(" 命令以升级到最新的候选版本,而不是最新的语义版本。")],-1)),e("table",f,[l[9]||(l[9]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"选项"),e("th",{style:{"text-align":"left"}},"描述")])],-1)),e("tbody",null,[e("tr",null,[e("td",g,[l[5]||(l[5]=e("code",null,"no",-1)),l[6]||(l[6]=t()),o(s,{type:"tip",text:"默认",vertical:"middle"})]),l[7]||(l[7]=e("td",{style:{"text-align":"left"}},"语义版本被使用",-1))]),l[8]||(l[8]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"候选版本被使用")],-1))])]),l[31]||(l[31]=e("h3",{id:"always-keep-download",tabindex:"-1"},[e("code",null,"always_keep_download"),t(),e("a",{class:"header-anchor",href:"#always-keep-download","aria-label":'Permalink to "`always_keep_download`"'},"​")],-1)),l[32]||(l[32]=e("p",null,[t("配置 "),e("code",null,"asdf install"),t(" 命令以保留或删除下载的源代码或二进制文件。")],-1)),e("table",y,[l[14]||(l[14]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"选项"),e("th",{style:{"text-align":"left"}},"描述")])],-1)),e("tbody",null,[e("tr",null,[e("td",b,[l[10]||(l[10]=e("code",null,"no",-1)),l[11]||(l[11]=t()),o(s,{type:"tip",text:"默认",vertical:"middle"})]),l[12]||(l[12]=e("td",{style:{"text-align":"left"}},"在成功安装后删除源代码或二进制文件",-1))]),l[13]||(l[13]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"在成功安装后保留源代码或二进制文件")],-1))])]),l[33]||(l[33]=e("h3",{id:"plugin-repository-last-check-duration",tabindex:"-1"},[e("code",null,"plugin_repository_last_check_duration"),t(),e("a",{class:"header-anchor",href:"#plugin-repository-last-check-duration","aria-label":'Permalink to "`plugin_repository_last_check_duration`"'},"​")],-1)),l[34]||(l[34]=e("p",null,[t("配置自上次 asdf 插件存储库同步到下一次存储库同步的持续时间。命令 "),e("code",null,"asdf plugin add "),t(" 或者 "),e("code",null,"asdf plugin list all"),t(" 将会触发持续时间的检查,如果持续时间已过,则进行同步。")],-1)),e("table",v,[l[27]||(l[27]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"选项"),e("th",{style:{"text-align":"left"}},"描述")])],-1)),e("tbody",null,[e("tr",null,[e("td",x,[l[15]||(l[15]=t("从 ")),l[16]||(l[16]=e("code",null,"1",-1)),l[17]||(l[17]=t(" 到 ")),l[18]||(l[18]=e("code",null,"999999999",-1)),l[19]||(l[19]=t(" 的数字 ")),l[20]||(l[20]=e("br",null,null,-1)),l[21]||(l[21]=t()),o(s,{type:"tip",text:"默认",vertical:"middle"}),l[22]||(l[22]=t(" 为 ")),l[23]||(l[23]=e("code",null,"60",-1))]),l[24]||(l[24]=e("td",{style:{"text-align":"left"}},"如果已过自上次同步的持续时间,触发器事件发生时同步",-1))]),l[25]||(l[25]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"0")]),e("td",{style:{"text-align":"left"}},"每个触发器事件发生时同步")],-1)),l[26]||(l[26]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"never")]),e("td",{style:{"text-align":"left"}},"从不同步")],-1))])]),l[35]||(l[35]=a('

环境变量

  • ASDF_CONFIG_FILE - 如上所述默认为 ~/.asdfrc 文件。可以被设置在任何位置。
  • ASDF_DEFAULT_TOOL_VERSIONS_FILENAME - 存储工具名称和版本的文件名。默认为 .tool-versions。可以是任何有效的文件名。通常,除非你知道你希望 asdf 忽略 .tool-versions 文件,否则不应该覆盖默认值。
  • ASDF_DIR - 默认为 ~/.asdf - asdf 脚本的位置。如果你把 asdf 安装到了其他目录,请设置该变量到那个目录。比如,如果通过 AUR 进行安装,则应设置该变量为 /opt/asdf-vm
  • ASDF_DATA_DIR - 默认为 ~/.asdf - asdf 安装插件、垫片和安装器的位置。可以被设置在上一节提到的生效 asdf.sh 或者 asdf.fish 之间的任何位置。对于 Elvish,这可以设置在 use asdf 上面。

内部配置

用户不必担心本节,因为它描述了对包管理器和集成者有用的 asdf 的内部配置。

  • $ASDF_DIR/asdf_updates_disabled:当此文件存在时(内容无关),通过 asdf update 命令进行的更新 将会被禁用。像 Pacman 或者 Homebrew 等包管理器使用它来确保个性化安装的正确的更新方法。
',5))])}const C=d(p,[["render",m]]);export{A as __pageData,C as default}; diff --git a/assets/zh-hans_manage_configuration.md.DckznVe9.lean.js b/assets/zh-hans_manage_configuration.md.DckznVe9.lean.js new file mode 100644 index 00000000..31c68596 --- /dev/null +++ b/assets/zh-hans_manage_configuration.md.DckznVe9.lean.js @@ -0,0 +1,9 @@ +import{_ as d,c as n,a2 as a,j as e,a as t,G as o,B as i,o as r}from"./chunks/framework.C9NVOr0y.js";const A=JSON.parse('{"title":"配置","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/configuration.md","filePath":"zh-hans/manage/configuration.md","lastUpdated":1687069487000}'),p={name:"zh-hans/manage/configuration.md"},u={tabindex:"0"},c={style:{"text-align":"left"}},f={tabindex:"0"},g={style:{"text-align":"left"}},y={tabindex:"0"},b={style:{"text-align":"left"}},v={tabindex:"0"},x={style:{"text-align":"left"}};function m(h,l,k,P,q,w){const s=i("Badge");return r(),n("div",null,[l[28]||(l[28]=a(`

配置

asdf 配置既包括可共享的 .tool-versions 文件,也包括用户特定的自定义 .asdfrc 和环境变量。

.tool-versions

无论何时 .tool-versions 出现在目录中,它所声明的工具版本将会被用于该目录和任意子目录。

注意

全局默认配置将设置在文件$HOME/.tool-versions

一个 .tool-versions 文件示例如下所示:

ruby 2.5.3
+nodejs 10.15.0

你也可以包含注释在里面:

ruby 2.5.3 # 这是一个注释
+# 这是另一个注释
+nodejs 10.15.0

版本号可以有如下格式:

  • 10.15.0 - 实际的版本号。支持下载二进制文件的插件将会下载二进制文件。
  • ref:v1.0.2-a 或者 ref:39cb398vb39 - 指定标签/提交/分支从 github 下载并编译。
  • path:~/src/elixir - 要使用的工具的自定义编译版本的路径。这种方式供语言开发者等使用。
  • system - 此关键字会导致 asdf 传递系统上未由 asdf 管理的工具版本。

提示

多版本可以通过空格将它们分隔开来。比如,使用 Python 3.7.2 回退到 Python 2.7.15 最后回退到 system Python,可以将以下行的内容添加到 .tool-versions 文件中。

python 3.7.2 2.7.15 system

为了安装 .tool-versions 文件中定义的所有工具,在包含 .tool-versions 文件的目录中不带其他参数执行 asdf install 命令。

为了安装 .tool-versions 文件中定义的某个工具,在包含 .tool-versions 文件的目录中运行 asdf install <name> 命令。这个工具将会安装 .tool-versions 文件所指定的版本。

可以直接编辑这个文件或者使用 asdf local (或者 asdf global)来更新工具版本。

$HOME/.asdfrc

给你的家目录添加一个 .asdfrc 文件然后 asdf 将会使用这个文件所指定的配置。下面的文件展示了所需的格式,其中包含用于演示的默认值:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

插件 支持 读取其他版本管理器使用的版本文件,比如,Ruby 的 rbenv.ruby-version 文件。

`,20)),e("table",u,[l[4]||(l[4]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"选项"),e("th",{style:{"text-align":"left"}},"描述")])],-1)),e("tbody",null,[e("tr",null,[e("td",c,[l[0]||(l[0]=e("code",null,"no",-1)),l[1]||(l[1]=t()),o(s,{type:"tip",text:"默认",vertical:"middle"})]),l[2]||(l[2]=e("td",{style:{"text-align":"left"}},[t("从 "),e("code",null,".tool-versions"),t(" 文件读取版本")],-1))]),l[3]||(l[3]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},[t("如果可行的话,从传统版本文件读取版本("),e("code",null,".ruby-versions"),t(")")])],-1))])]),l[29]||(l[29]=e("h3",{id:"use-release-candidates",tabindex:"-1"},[e("code",null,"use_release_candidates"),t(),e("a",{class:"header-anchor",href:"#use-release-candidates","aria-label":'Permalink to "`use_release_candidates`"'},"​")],-1)),l[30]||(l[30]=e("p",null,[t("配置 "),e("code",null,"asdf update"),t(" 命令以升级到最新的候选版本,而不是最新的语义版本。")],-1)),e("table",f,[l[9]||(l[9]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"选项"),e("th",{style:{"text-align":"left"}},"描述")])],-1)),e("tbody",null,[e("tr",null,[e("td",g,[l[5]||(l[5]=e("code",null,"no",-1)),l[6]||(l[6]=t()),o(s,{type:"tip",text:"默认",vertical:"middle"})]),l[7]||(l[7]=e("td",{style:{"text-align":"left"}},"语义版本被使用",-1))]),l[8]||(l[8]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"候选版本被使用")],-1))])]),l[31]||(l[31]=e("h3",{id:"always-keep-download",tabindex:"-1"},[e("code",null,"always_keep_download"),t(),e("a",{class:"header-anchor",href:"#always-keep-download","aria-label":'Permalink to "`always_keep_download`"'},"​")],-1)),l[32]||(l[32]=e("p",null,[t("配置 "),e("code",null,"asdf install"),t(" 命令以保留或删除下载的源代码或二进制文件。")],-1)),e("table",y,[l[14]||(l[14]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"选项"),e("th",{style:{"text-align":"left"}},"描述")])],-1)),e("tbody",null,[e("tr",null,[e("td",b,[l[10]||(l[10]=e("code",null,"no",-1)),l[11]||(l[11]=t()),o(s,{type:"tip",text:"默认",vertical:"middle"})]),l[12]||(l[12]=e("td",{style:{"text-align":"left"}},"在成功安装后删除源代码或二进制文件",-1))]),l[13]||(l[13]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"yes")]),e("td",{style:{"text-align":"left"}},"在成功安装后保留源代码或二进制文件")],-1))])]),l[33]||(l[33]=e("h3",{id:"plugin-repository-last-check-duration",tabindex:"-1"},[e("code",null,"plugin_repository_last_check_duration"),t(),e("a",{class:"header-anchor",href:"#plugin-repository-last-check-duration","aria-label":'Permalink to "`plugin_repository_last_check_duration`"'},"​")],-1)),l[34]||(l[34]=e("p",null,[t("配置自上次 asdf 插件存储库同步到下一次存储库同步的持续时间。命令 "),e("code",null,"asdf plugin add "),t(" 或者 "),e("code",null,"asdf plugin list all"),t(" 将会触发持续时间的检查,如果持续时间已过,则进行同步。")],-1)),e("table",v,[l[27]||(l[27]=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"选项"),e("th",{style:{"text-align":"left"}},"描述")])],-1)),e("tbody",null,[e("tr",null,[e("td",x,[l[15]||(l[15]=t("从 ")),l[16]||(l[16]=e("code",null,"1",-1)),l[17]||(l[17]=t(" 到 ")),l[18]||(l[18]=e("code",null,"999999999",-1)),l[19]||(l[19]=t(" 的数字 ")),l[20]||(l[20]=e("br",null,null,-1)),l[21]||(l[21]=t()),o(s,{type:"tip",text:"默认",vertical:"middle"}),l[22]||(l[22]=t(" 为 ")),l[23]||(l[23]=e("code",null,"60",-1))]),l[24]||(l[24]=e("td",{style:{"text-align":"left"}},"如果已过自上次同步的持续时间,触发器事件发生时同步",-1))]),l[25]||(l[25]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"0")]),e("td",{style:{"text-align":"left"}},"每个触发器事件发生时同步")],-1)),l[26]||(l[26]=e("tr",null,[e("td",{style:{"text-align":"left"}},[e("code",null,"never")]),e("td",{style:{"text-align":"left"}},"从不同步")],-1))])]),l[35]||(l[35]=a('

环境变量

  • ASDF_CONFIG_FILE - 如上所述默认为 ~/.asdfrc 文件。可以被设置在任何位置。
  • ASDF_DEFAULT_TOOL_VERSIONS_FILENAME - 存储工具名称和版本的文件名。默认为 .tool-versions。可以是任何有效的文件名。通常,除非你知道你希望 asdf 忽略 .tool-versions 文件,否则不应该覆盖默认值。
  • ASDF_DIR - 默认为 ~/.asdf - asdf 脚本的位置。如果你把 asdf 安装到了其他目录,请设置该变量到那个目录。比如,如果通过 AUR 进行安装,则应设置该变量为 /opt/asdf-vm
  • ASDF_DATA_DIR - 默认为 ~/.asdf - asdf 安装插件、垫片和安装器的位置。可以被设置在上一节提到的生效 asdf.sh 或者 asdf.fish 之间的任何位置。对于 Elvish,这可以设置在 use asdf 上面。

内部配置

用户不必担心本节,因为它描述了对包管理器和集成者有用的 asdf 的内部配置。

  • $ASDF_DIR/asdf_updates_disabled:当此文件存在时(内容无关),通过 asdf update 命令进行的更新 将会被禁用。像 Pacman 或者 Homebrew 等包管理器使用它来确保个性化安装的正确的更新方法。
',5))])}const C=d(p,[["render",m]]);export{A as __pageData,C as default}; diff --git a/assets/zh-hans_manage_core.md._3uzcWzu.js b/assets/zh-hans_manage_core.md._3uzcWzu.js new file mode 100644 index 00000000..0c5bdc50 --- /dev/null +++ b/assets/zh-hans_manage_core.md._3uzcWzu.js @@ -0,0 +1,18 @@ +import{_ as i,c as a,a2 as l,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"核心","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/core.md","filePath":"zh-hans/manage/core.md","lastUpdated":1687069487000}'),h={name:"zh-hans/manage/core.md"};function e(n,s,p,k,d,o){return t(),a("div",null,s[0]||(s[0]=[l(`

核心

核心 asdf 命令列表很小,但可以促进很多工作流。

安装和配置

请查看 快速上手 了解更多详情。

Exec

shell
asdf exec <command> [args...]

执行当前版本的命令垫片。

Env

shell
asdf env <command> [util]

Info

shell
asdf info

用于打印操作系统、Shell 和 asdf 调试信息的辅助命令。在报告 bug 时需要共享这些信息。

Reshim

shell
asdf reshim <name> <version>

这将为某个包的当前版本重新创建垫片。默认情况下,垫片是在某个工具安装的过程中由插件创建。一些工具像 npm 命令行 允许全局安装可执行程序,比如使用 npm install -g yarn 命令安装 Yarn。因为这个可执行程序不是通过插件生命周期安装的,所以还没有对应的垫片存在。asdf reshim nodejs <version> 命令将会强制重新计算任何新可执行程序的垫片,类似 nodejsversions 版本下的 yarn

Shim-versions

shell
asdf shim-versions <command>

列举为命令提供垫片的插件和版本。

例如,Node.js 附带了两个可执行程序,nodenpm。当使用 asdf-nodejs插件安装了这些工具的很多版本时,执行shim-versions\` 命令会返回:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

更新

asdf 有一个依赖于 Git (我们推荐的安装方法)的内置命令用于更新。如果你使用了其他方法安装,则应按照该方法的步骤操作:

方法最新稳定版本master 分支上的最新提交
asdf (Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
Pacman下载一个新的 PKGBUILD 并且重新编译
或者使用你习惯的 AUR helper

卸载

根据以下步骤卸载 asdf

Bash & Git
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. ~/.bash_profile 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

补全功能可能已经如 Homebrew 的指南 那样配置了,因此请按照他们的指南找出要删除的内容。

  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

如果你正在使用 macOS Catalina 以及更新版本,默认的 shell 已经变成了 ZSH。如果你在 ~/.bash_profile 文件中找不到任何配置,则可能位于 ~/.zshrc 中。在这种情况下,请按照 ZSH 指南进行操作。

  1. ~/.bash_profile 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

补全功能可能已经如 Homebrew 的指南 那样配置了,因此请按照他们的指南找出要删除的内容。

  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. /opt/asdf-vm/asdf.sh
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source ~/.asdf/asdf.fish

以及使用以下命令移除补全功能:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source /opt/asdf-vm/asdf.fish
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 移除 $HOME/.asdf 目录:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(\${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

或者 ZSH 框架插件(如果用了的话)

  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. 用包管理器卸载:
shell
brew uninstall asdf --force && brew autoremove
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 的行:
shell
. /opt/asdf-vm/asdf.sh
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

恭喜你完成了 🎉

`,41)]))}const F=i(h,[["render",e]]);export{c as __pageData,F as default}; diff --git a/assets/zh-hans_manage_core.md._3uzcWzu.lean.js b/assets/zh-hans_manage_core.md._3uzcWzu.lean.js new file mode 100644 index 00000000..0c5bdc50 --- /dev/null +++ b/assets/zh-hans_manage_core.md._3uzcWzu.lean.js @@ -0,0 +1,18 @@ +import{_ as i,c as a,a2 as l,o as t}from"./chunks/framework.C9NVOr0y.js";const c=JSON.parse('{"title":"核心","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/core.md","filePath":"zh-hans/manage/core.md","lastUpdated":1687069487000}'),h={name:"zh-hans/manage/core.md"};function e(n,s,p,k,d,o){return t(),a("div",null,s[0]||(s[0]=[l(`

核心

核心 asdf 命令列表很小,但可以促进很多工作流。

安装和配置

请查看 快速上手 了解更多详情。

Exec

shell
asdf exec <command> [args...]

执行当前版本的命令垫片。

Env

shell
asdf env <command> [util]

Info

shell
asdf info

用于打印操作系统、Shell 和 asdf 调试信息的辅助命令。在报告 bug 时需要共享这些信息。

Reshim

shell
asdf reshim <name> <version>

这将为某个包的当前版本重新创建垫片。默认情况下,垫片是在某个工具安装的过程中由插件创建。一些工具像 npm 命令行 允许全局安装可执行程序,比如使用 npm install -g yarn 命令安装 Yarn。因为这个可执行程序不是通过插件生命周期安装的,所以还没有对应的垫片存在。asdf reshim nodejs <version> 命令将会强制重新计算任何新可执行程序的垫片,类似 nodejsversions 版本下的 yarn

Shim-versions

shell
asdf shim-versions <command>

列举为命令提供垫片的插件和版本。

例如,Node.js 附带了两个可执行程序,nodenpm。当使用 asdf-nodejs插件安装了这些工具的很多版本时,执行shim-versions\` 命令会返回:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

更新

asdf 有一个依赖于 Git (我们推荐的安装方法)的内置命令用于更新。如果你使用了其他方法安装,则应按照该方法的步骤操作:

方法最新稳定版本master 分支上的最新提交
asdf (Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
Pacman下载一个新的 PKGBUILD 并且重新编译
或者使用你习惯的 AUR helper

卸载

根据以下步骤卸载 asdf

Bash & Git
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. ~/.bash_profile 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

补全功能可能已经如 Homebrew 的指南 那样配置了,因此请按照他们的指南找出要删除的内容。

  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

如果你正在使用 macOS Catalina 以及更新版本,默认的 shell 已经变成了 ZSH。如果你在 ~/.bash_profile 文件中找不到任何配置,则可能位于 ~/.zshrc 中。在这种情况下,请按照 ZSH 指南进行操作。

  1. ~/.bash_profile 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

补全功能可能已经如 Homebrew 的指南 那样配置了,因此请按照他们的指南找出要删除的内容。

  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. /opt/asdf-vm/asdf.sh
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source ~/.asdf/asdf.fish

以及使用以下命令移除补全功能:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source /opt/asdf-vm/asdf.fish
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 移除 $HOME/.asdf 目录:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(\${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

或者 ZSH 框架插件(如果用了的话)

  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. 用包管理器卸载:
shell
brew uninstall asdf --force && brew autoremove
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 的行:
shell
. /opt/asdf-vm/asdf.sh
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录
shell
rm -rf "\${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

恭喜你完成了 🎉

`,41)]))}const F=i(h,[["render",e]]);export{c as __pageData,F as default}; diff --git a/assets/zh-hans_manage_plugins.md.DY_Xuyjn.js b/assets/zh-hans_manage_plugins.md.DY_Xuyjn.js new file mode 100644 index 00000000..3c1c746d --- /dev/null +++ b/assets/zh-hans_manage_plugins.md.DY_Xuyjn.js @@ -0,0 +1,11 @@ +import{_ as a,c as i,a2 as l,o as e}from"./chunks/framework.C9NVOr0y.js";const o=JSON.parse('{"title":"插件","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/plugins.md","filePath":"zh-hans/manage/plugins.md","lastUpdated":1687069487000}'),t={name:"zh-hans/manage/plugins.md"};function n(h,s,p,d,k,r){return e(),i("div",null,s[0]||(s[0]=[l(`

插件

插件告诉 asdf 如何处理不同的工具,如 Node.js、 Ruby、 Elixir 等。

请参考 创建插件 了解用于支持更多工具的插件 API。

添加

通过 Git URL 地址添加插件:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

或者通过插件存储库中的缩写添加插件:

shell
asdf plugin add <name>
+# asdf plugin add erlang

建议

推荐独立于缩写存储库的、更长的 git-url 方法。

列举已安装

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

列举缩写存储库中的所有插件

shell
asdf plugin list all

请参考 插件缩写索引 了解插件的完整缩写列表。

更新

shell
asdf plugin update --all

如果你想要更新特定的包,如下所示。

shell
asdf plugin update <name>
+# asdf plugin update erlang

这种更新方式将会获取插件存储库的 源代码默认分支最新提交。版本化的插件和更新正在开发中 (#916)。

移除

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

移除一个插件将会移除该插件安装的所有工具。这可以当作是清理/修剪工具的许多未使用版本的简单方法。

同步缩写存储库

缩写存储库将同步到你的本地计算机并定期刷新。这个周期由以下方法确定:

  • 命令 asdf plugin add <name> 或者 asdf plugin list all 将会触发同步
  • 如果在过去的 X 分钟内没有同步,则进行同步
  • X 默认是 60,但可以通过在 .asdfrc 文件中配置 plugin_repository_last_check_duration 选项来进行配置。请查看 asdf 配置文档 了解更多。
`,26)]))}const c=a(t,[["render",n]]);export{o as __pageData,c as default}; diff --git a/assets/zh-hans_manage_plugins.md.DY_Xuyjn.lean.js b/assets/zh-hans_manage_plugins.md.DY_Xuyjn.lean.js new file mode 100644 index 00000000..3c1c746d --- /dev/null +++ b/assets/zh-hans_manage_plugins.md.DY_Xuyjn.lean.js @@ -0,0 +1,11 @@ +import{_ as a,c as i,a2 as l,o as e}from"./chunks/framework.C9NVOr0y.js";const o=JSON.parse('{"title":"插件","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/plugins.md","filePath":"zh-hans/manage/plugins.md","lastUpdated":1687069487000}'),t={name:"zh-hans/manage/plugins.md"};function n(h,s,p,d,k,r){return e(),i("div",null,s[0]||(s[0]=[l(`

插件

插件告诉 asdf 如何处理不同的工具,如 Node.js、 Ruby、 Elixir 等。

请参考 创建插件 了解用于支持更多工具的插件 API。

添加

通过 Git URL 地址添加插件:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

或者通过插件存储库中的缩写添加插件:

shell
asdf plugin add <name>
+# asdf plugin add erlang

建议

推荐独立于缩写存储库的、更长的 git-url 方法。

列举已安装

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

列举缩写存储库中的所有插件

shell
asdf plugin list all

请参考 插件缩写索引 了解插件的完整缩写列表。

更新

shell
asdf plugin update --all

如果你想要更新特定的包,如下所示。

shell
asdf plugin update <name>
+# asdf plugin update erlang

这种更新方式将会获取插件存储库的 源代码默认分支最新提交。版本化的插件和更新正在开发中 (#916)。

移除

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

移除一个插件将会移除该插件安装的所有工具。这可以当作是清理/修剪工具的许多未使用版本的简单方法。

同步缩写存储库

缩写存储库将同步到你的本地计算机并定期刷新。这个周期由以下方法确定:

  • 命令 asdf plugin add <name> 或者 asdf plugin list all 将会触发同步
  • 如果在过去的 X 分钟内没有同步,则进行同步
  • X 默认是 60,但可以通过在 .asdfrc 文件中配置 plugin_repository_last_check_duration 选项来进行配置。请查看 asdf 配置文档 了解更多。
`,26)]))}const c=a(t,[["render",n]]);export{o as __pageData,c as default}; diff --git a/assets/zh-hans_manage_versions.md.BOLJYZ7r.js b/assets/zh-hans_manage_versions.md.BOLJYZ7r.js new file mode 100644 index 00000000..0bbf0caa --- /dev/null +++ b/assets/zh-hans_manage_versions.md.BOLJYZ7r.js @@ -0,0 +1,30 @@ +import{_ as i,c as a,a2 as l,o as h}from"./chunks/framework.C9NVOr0y.js";const o=JSON.parse('{"title":"版本","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/versions.md","filePath":"zh-hans/manage/versions.md","lastUpdated":1687069487000}'),t={name:"zh-hans/manage/versions.md"};function n(e,s,p,k,d,r){return h(),a("div",null,s[0]||(s[0]=[l(`

版本

安装版本

shell
asdf install <name> <version>
+# asdf install erlang 17.3

如果一个插件支持从源代码下载和编译,你可以指定 ref:foo,其中 foo 是特定的分支、标签或者提交。卸载该版本时,你也需要使用相同的名称和引用。

安装最新稳定版本

shell
asdf install <name> latest
+# asdf install erlang latest

安装给定字符串开头的最新稳定版本。

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

列举已安装版本

shell
asdf list <name>
+# asdf list erlang

筛选出以给定字符串开头的版本。

shell
asdf list <name> <version>
+# asdf list erlang 17

列举所有可用版本

shell
asdf list all <name>
+# asdf list all erlang

筛选出以给定字符串开头的版本。

shell
asdf list all <name> <version>
+# asdf list all erlang 17

显示最新稳定版本

shell
asdf latest <name>
+# asdf latest erlang

显示以给定字符串开头的最新稳定版本。

shell
asdf latest <name> <version>
+# asdf latest erlang 17

设置当前版本

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global 将版本写到 $HOME/.tool-versions 文件中。

shell 仅为当前 shell 会话将版本设置为一个名为 ASDF_\${LANG}_VERSION 的环境变量。

local 将版本写到 $PWD/.tool-versions 文件中,如果有需要也会创建此文件。

请查看 配置部分.tool-versions 文件了解更多详情。

可选

如果你只是想为当前 shell 会话或者在特定工具版本下执行一条命令,你可以设置一个类似 ASDF_\${TOOL}_VERSION 的环境变量。

下面的示例在版本为 1.4.0 的 Elixir 项目上运行测试。 版本格式与 .tool-versions 文件支持的版本格式相同。

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

回退到系统版本

要使用工具 <name> 的系统版本而非 asdf 管理版本,你可以将工具的版本设置为 system

使用 globallocal 或者 shell 设置系统,如上面的 设置当前版本 部分所述。

shell
asdf local <name> system
+# asdf local python system

显示当前版本

shell
asdf current
+# asdf current
+# erlang 17.3 (set by /Users/kim/.tool-versions)
+# nodejs 6.11.5 (set by /Users/kim/cool-node-project/.tool-versions)
+
+asdf current <name>
+# asdf current erlang
+# 17.3 (set by /Users/kim/.tool-versions)

卸载版本

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

垫片(Shims)

当 asdf 安装一个包时,它会在 $ASDF_DATA_DIR/shims 目录(默认为 ~/.asdf/shims)中为该包中的每个可执行程序创建垫片。这个位于 $PATH 中(通过 asdf.shasdf.fish 等等实现)的目录是已安装程序在环境中可用的方式。

垫片本身是非常简单的包装器,它 exec (执行)一个辅助程序 asdf exec,向其传递插件的名称和垫片正在包装的已安装包中的可执行程序的路径。

asdf exec 辅助程序确定要使用的软件包版本(比如在 .tool-versions 文件中指定,通过 asdf local ... 或者 asdf global ... 命令选择)、软件包安装目录中的可执行程序的最终路径(这可以在插件中通过 exec-path 回调来操作)以及要在其中执行的环境(也由插件 - exec-env 脚本提供),最后完成执行。

注意

因为此系统使用 exec 调用,所以软件包中的任何脚本如果要由 shell 生效而不是执行的脚本都需要直接访问,而不是通过垫片包装器进行访问。两个 asdf 命令:whichwhere 可以通过返回已安装软件包的路径来帮助解决这个问题。

shell
# 返回当前版本中主要可执行程序的路径
+source $(asdf which \${PLUGIN})/../script.sh
+
+# 返回软件包安装目录的路径
+source $(asdf where \${PLUGIN} $(asdf current \${PLUGIN}))/bin/script.sh

绕过 asdf 垫片

如果由于某种原因,你希望绕过 asdf 垫片,或者希望在进入项目目录时自动设置环境变量,则 asdf-direnv 插件可能会有所帮助。请务必查看其 README 文件了解更多详情。

`,45)]))}const c=i(t,[["render",n]]);export{o as __pageData,c as default}; diff --git a/assets/zh-hans_manage_versions.md.BOLJYZ7r.lean.js b/assets/zh-hans_manage_versions.md.BOLJYZ7r.lean.js new file mode 100644 index 00000000..0bbf0caa --- /dev/null +++ b/assets/zh-hans_manage_versions.md.BOLJYZ7r.lean.js @@ -0,0 +1,30 @@ +import{_ as i,c as a,a2 as l,o as h}from"./chunks/framework.C9NVOr0y.js";const o=JSON.parse('{"title":"版本","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/manage/versions.md","filePath":"zh-hans/manage/versions.md","lastUpdated":1687069487000}'),t={name:"zh-hans/manage/versions.md"};function n(e,s,p,k,d,r){return h(),a("div",null,s[0]||(s[0]=[l(`

版本

安装版本

shell
asdf install <name> <version>
+# asdf install erlang 17.3

如果一个插件支持从源代码下载和编译,你可以指定 ref:foo,其中 foo 是特定的分支、标签或者提交。卸载该版本时,你也需要使用相同的名称和引用。

安装最新稳定版本

shell
asdf install <name> latest
+# asdf install erlang latest

安装给定字符串开头的最新稳定版本。

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

列举已安装版本

shell
asdf list <name>
+# asdf list erlang

筛选出以给定字符串开头的版本。

shell
asdf list <name> <version>
+# asdf list erlang 17

列举所有可用版本

shell
asdf list all <name>
+# asdf list all erlang

筛选出以给定字符串开头的版本。

shell
asdf list all <name> <version>
+# asdf list all erlang 17

显示最新稳定版本

shell
asdf latest <name>
+# asdf latest erlang

显示以给定字符串开头的最新稳定版本。

shell
asdf latest <name> <version>
+# asdf latest erlang 17

设置当前版本

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global 将版本写到 $HOME/.tool-versions 文件中。

shell 仅为当前 shell 会话将版本设置为一个名为 ASDF_\${LANG}_VERSION 的环境变量。

local 将版本写到 $PWD/.tool-versions 文件中,如果有需要也会创建此文件。

请查看 配置部分.tool-versions 文件了解更多详情。

可选

如果你只是想为当前 shell 会话或者在特定工具版本下执行一条命令,你可以设置一个类似 ASDF_\${TOOL}_VERSION 的环境变量。

下面的示例在版本为 1.4.0 的 Elixir 项目上运行测试。 版本格式与 .tool-versions 文件支持的版本格式相同。

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

回退到系统版本

要使用工具 <name> 的系统版本而非 asdf 管理版本,你可以将工具的版本设置为 system

使用 globallocal 或者 shell 设置系统,如上面的 设置当前版本 部分所述。

shell
asdf local <name> system
+# asdf local python system

显示当前版本

shell
asdf current
+# asdf current
+# erlang 17.3 (set by /Users/kim/.tool-versions)
+# nodejs 6.11.5 (set by /Users/kim/cool-node-project/.tool-versions)
+
+asdf current <name>
+# asdf current erlang
+# 17.3 (set by /Users/kim/.tool-versions)

卸载版本

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

垫片(Shims)

当 asdf 安装一个包时,它会在 $ASDF_DATA_DIR/shims 目录(默认为 ~/.asdf/shims)中为该包中的每个可执行程序创建垫片。这个位于 $PATH 中(通过 asdf.shasdf.fish 等等实现)的目录是已安装程序在环境中可用的方式。

垫片本身是非常简单的包装器,它 exec (执行)一个辅助程序 asdf exec,向其传递插件的名称和垫片正在包装的已安装包中的可执行程序的路径。

asdf exec 辅助程序确定要使用的软件包版本(比如在 .tool-versions 文件中指定,通过 asdf local ... 或者 asdf global ... 命令选择)、软件包安装目录中的可执行程序的最终路径(这可以在插件中通过 exec-path 回调来操作)以及要在其中执行的环境(也由插件 - exec-env 脚本提供),最后完成执行。

注意

因为此系统使用 exec 调用,所以软件包中的任何脚本如果要由 shell 生效而不是执行的脚本都需要直接访问,而不是通过垫片包装器进行访问。两个 asdf 命令:whichwhere 可以通过返回已安装软件包的路径来帮助解决这个问题。

shell
# 返回当前版本中主要可执行程序的路径
+source $(asdf which \${PLUGIN})/../script.sh
+
+# 返回软件包安装目录的路径
+source $(asdf where \${PLUGIN} $(asdf current \${PLUGIN}))/bin/script.sh

绕过 asdf 垫片

如果由于某种原因,你希望绕过 asdf 垫片,或者希望在进入项目目录时自动设置环境变量,则 asdf-direnv 插件可能会有所帮助。请务必查看其 README 文件了解更多详情。

`,45)]))}const c=i(t,[["render",n]]);export{o as __pageData,c as default}; diff --git a/assets/zh-hans_more_community-projects.md.yE4Odlba.js b/assets/zh-hans_more_community-projects.md.yE4Odlba.js new file mode 100644 index 00000000..2a171b46 --- /dev/null +++ b/assets/zh-hans_more_community-projects.md.yE4Odlba.js @@ -0,0 +1 @@ +import{_ as t,c as o,a2 as r,o as a}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"Community Projects","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/more/community-projects.md","filePath":"zh-hans/more/community-projects.md","lastUpdated":1687069487000}'),s={name:"zh-hans/more/community-projects.md"};function n(c,e,i,m,d,l){return a(),o("div",null,e[0]||(e[0]=[r('

Community Projects

Here are some community projects related to asdf:

Note

asdf core do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

',4)]))}const f=t(s,[["render",n]]);export{u as __pageData,f as default}; diff --git a/assets/zh-hans_more_community-projects.md.yE4Odlba.lean.js b/assets/zh-hans_more_community-projects.md.yE4Odlba.lean.js new file mode 100644 index 00000000..2a171b46 --- /dev/null +++ b/assets/zh-hans_more_community-projects.md.yE4Odlba.lean.js @@ -0,0 +1 @@ +import{_ as t,c as o,a2 as r,o as a}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"Community Projects","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/more/community-projects.md","filePath":"zh-hans/more/community-projects.md","lastUpdated":1687069487000}'),s={name:"zh-hans/more/community-projects.md"};function n(c,e,i,m,d,l){return a(),o("div",null,e[0]||(e[0]=[r('

Community Projects

Here are some community projects related to asdf:

Note

asdf core do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

',4)]))}const f=t(s,[["render",n]]);export{u as __pageData,f as default}; diff --git a/assets/zh-hans_more_faq.md.CgpfvsMk.js b/assets/zh-hans_more_faq.md.CgpfvsMk.js new file mode 100644 index 00000000..cc75fa64 --- /dev/null +++ b/assets/zh-hans_more_faq.md.CgpfvsMk.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as t}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"FAQ","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/more/faq.md","filePath":"zh-hans/more/faq.md","lastUpdated":1671778129000}'),s={name:"zh-hans/more/faq.md"};function d(n,e,i,h,c,l){return t(),o("div",null,e[0]||(e[0]=[r('

FAQ

以下是 asdf 相关的一些常见问题。

支持 WSL1 吗?

WSL1 (Windows Subsystem for Linux 1) 不受官方支持。asdf 的某些方面可能无法正常工作。我们不打算添加对 WSL1 的官方支持。

支持 WSL2 吗?

WSL2 (Windows Subsystem for Linux 2) 应该作为你选择的 WSL 发行版来使用本设置和依赖说明。

重要的是,只有当前工作目录是 Unix 驱动器而不是绑定的 Windows 驱动器时,WSL2 才能 正常工作。

当 Github Actions 上提供主机运行器支持时,我们打算在 WSL2 上运行测试套件。(Github Actions 目前还未提供 WSL2 支持)

新安装的可执行程序无法运行?

我执行了 npm install -g yarn 命令,但是之后不能运行 yarn 命令。这是为什么?

asdf 使用 垫片 来管理可执行程序。插件所安装的那些命令会自动创建垫片,而通过 asdf 管理工具安装过的可执行程序则需要通知 asdf 创建垫片的需要。在这个例子中,为 Yarn 创建一个垫片即可。请查看 asdf reshim 命令文档 了解更多。

Shell 没有检测到新安装的垫片?

如果 asdf reshim 没有解决你的问题,那么很有可能是在 asdf.sh 或者 asdf.fish 的生效不在你的 Shell 配置文件(.bash_profile.zshrcconfig.fish 等等)的下方。这需要你在设置你的 $PATH 之后和生效你的框架(oh-my-zsh 等等)(如果有的话)之后再生效。

',13)]))}const m=a(s,[["render",d]]);export{p as __pageData,m as default}; diff --git a/assets/zh-hans_more_faq.md.CgpfvsMk.lean.js b/assets/zh-hans_more_faq.md.CgpfvsMk.lean.js new file mode 100644 index 00000000..cc75fa64 --- /dev/null +++ b/assets/zh-hans_more_faq.md.CgpfvsMk.lean.js @@ -0,0 +1 @@ +import{_ as a,c as o,a2 as r,o as t}from"./chunks/framework.C9NVOr0y.js";const p=JSON.parse('{"title":"FAQ","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/more/faq.md","filePath":"zh-hans/more/faq.md","lastUpdated":1671778129000}'),s={name:"zh-hans/more/faq.md"};function d(n,e,i,h,c,l){return t(),o("div",null,e[0]||(e[0]=[r('

FAQ

以下是 asdf 相关的一些常见问题。

支持 WSL1 吗?

WSL1 (Windows Subsystem for Linux 1) 不受官方支持。asdf 的某些方面可能无法正常工作。我们不打算添加对 WSL1 的官方支持。

支持 WSL2 吗?

WSL2 (Windows Subsystem for Linux 2) 应该作为你选择的 WSL 发行版来使用本设置和依赖说明。

重要的是,只有当前工作目录是 Unix 驱动器而不是绑定的 Windows 驱动器时,WSL2 才能 正常工作。

当 Github Actions 上提供主机运行器支持时,我们打算在 WSL2 上运行测试套件。(Github Actions 目前还未提供 WSL2 支持)

新安装的可执行程序无法运行?

我执行了 npm install -g yarn 命令,但是之后不能运行 yarn 命令。这是为什么?

asdf 使用 垫片 来管理可执行程序。插件所安装的那些命令会自动创建垫片,而通过 asdf 管理工具安装过的可执行程序则需要通知 asdf 创建垫片的需要。在这个例子中,为 Yarn 创建一个垫片即可。请查看 asdf reshim 命令文档 了解更多。

Shell 没有检测到新安装的垫片?

如果 asdf reshim 没有解决你的问题,那么很有可能是在 asdf.sh 或者 asdf.fish 的生效不在你的 Shell 配置文件(.bash_profile.zshrcconfig.fish 等等)的下方。这需要你在设置你的 $PATH 之后和生效你的框架(oh-my-zsh 等等)(如果有的话)之后再生效。

',13)]))}const m=a(s,[["render",d]]);export{p as __pageData,m as default}; diff --git a/assets/zh-hans_more_thanks.md.Dyz87Q2k.js b/assets/zh-hans_more_thanks.md.Dyz87Q2k.js new file mode 100644 index 00000000..cfd2fadb --- /dev/null +++ b/assets/zh-hans_more_thanks.md.Dyz87Q2k.js @@ -0,0 +1 @@ +import{_ as e,c as r,a2 as t,o as h}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"致谢","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/more/thanks.md","filePath":"zh-hans/more/thanks.md","lastUpdated":1671778129000}'),s={name:"zh-hans/more/thanks.md"};function o(l,a,n,i,d,c){return h(),r("div",null,a[0]||(a[0]=[t('

致谢

asdf 作者和贡献者的感谢页!

作者

我 (@HashNuke),高烧、感冒、咳嗽。

版权 2014 直到时间尽头 (MIT License)

维护者

贡献者

请查看 Github 上的 贡献者名单 🙏 了解更多。

',9)]))}const p=e(s,[["render",o]]);export{u as __pageData,p as default}; diff --git a/assets/zh-hans_more_thanks.md.Dyz87Q2k.lean.js b/assets/zh-hans_more_thanks.md.Dyz87Q2k.lean.js new file mode 100644 index 00000000..cfd2fadb --- /dev/null +++ b/assets/zh-hans_more_thanks.md.Dyz87Q2k.lean.js @@ -0,0 +1 @@ +import{_ as e,c as r,a2 as t,o as h}from"./chunks/framework.C9NVOr0y.js";const u=JSON.parse('{"title":"致谢","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/more/thanks.md","filePath":"zh-hans/more/thanks.md","lastUpdated":1671778129000}'),s={name:"zh-hans/more/thanks.md"};function o(l,a,n,i,d,c){return h(),r("div",null,a[0]||(a[0]=[t('

致谢

asdf 作者和贡献者的感谢页!

作者

我 (@HashNuke),高烧、感冒、咳嗽。

版权 2014 直到时间尽头 (MIT License)

维护者

贡献者

请查看 Github 上的 贡献者名单 🙏 了解更多。

',9)]))}const p=e(s,[["render",o]]);export{u as __pageData,p as default}; diff --git a/assets/zh-hans_plugins_create.md.P38AmJ4g.js b/assets/zh-hans_plugins_create.md.P38AmJ4g.js new file mode 100644 index 00000000..6f9d055c --- /dev/null +++ b/assets/zh-hans_plugins_create.md.P38AmJ4g.js @@ -0,0 +1,35 @@ +import{_ as i,c as a,a2 as e,o as l}from"./chunks/framework.C9NVOr0y.js";const r=JSON.parse('{"title":"创建插件","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/plugins/create.md","filePath":"zh-hans/plugins/create.md","lastUpdated":1704804447000}'),n={name:"zh-hans/plugins/create.md"};function t(h,s,p,d,o,k){return l(),a("div",null,s[0]||(s[0]=[e(`

创建插件

插件里有什么

插件是一个包含几个可执行脚本的 git 存储库,用于支持对某种语言或工具进行版本控制。这些脚本在执行 list-allinstall 或者 uninstall 命令时被执行。你可以设定或取消设定环境变量,并执行设置工具环境所需的任何操作。

必要的脚本

  • bin/list-all - 列举所有可安装的版本
  • bin/download - 下载指定版本的源代码或二进制文件
  • bin/install - 安装指定版本

环境变量

所有脚本除了 bin/list-all 之外对以下环境变量有权限进行操作:

  • ASDF_INSTALL_TYPE - version 或者 ref
  • ASDF_INSTALL_VERSION - 如果 ASDF_INSTALL_TYPEversion,那么这将是版本号。否则它将传递为 git 的 ref。可能指向存储库的一个标签/提交/分支。
  • ASDF_INSTALL_PATH - 已经 安装到的目录(或 bin/install 脚本执行情况下 应该 安装到的目录)

这些附加的环境变量将可用于 bin/install 脚本:

  • ASDF_CONCURRENCY - 编译源代码时使用的内核数。对于配置 make -j 非常有用。
  • ASDF_DOWNLOAD_PATH - bin/download 脚本下载源代码或二进制文件的路径。

这些附加的环境变量将可用于 bin/download 脚本:

  • ASDF_DOWNLOAD_PATH - 源代码或二进制文件应该下载到的路径。

bin/list-all

必须打印一个带有空格分隔的版本列表的字符串,示例输出如下所示:

shell
1.0.1 1.0.2 1.3.0 1.4

请注意,最新版本应列在最后,以便它看起来更接近用户的提示。这很有帮助,因为 list-all 命令会在自己的行打印每个版本。如果有很多版本,那么早期版本可能会不在屏幕上。

如果从网站上的发布页面拉取版本,建议尽可能不对版本进行排序。通常,版本已经按照正确的顺序排列,或者以相反的顺序排列,在这种情况下,像 tac 这样的东西就足够了。如果必须手动对版本进行排序,则不能依赖 sort -V,因为 OSX 操作系统不支持。一种可以替代的排序功能是 更好的选择

bin/download

此脚本必须下载源代码或者二进制文件到 ASDF_DOWNLOAD_PATH 环境变量包含的路径。如果下载的源代码或者二进制文件是压缩的,则只有未压缩的源代码或二进制文件会放置在 ASDF_DOWNLOAD_PATH 目录中。

下载成功后脚本必须以 0 状态退出。如果下载失败,脚本必须以任何非零退出状态退出。

如果可能,脚本应该仅将文件放在 ASDF_DOWNLOAD_PATH 中。如果下载失败,则不应将任何文件放在目录中。

如果此脚本不存在,asdf 将假设存在 bin/install 脚本,将下载并安装该版本。asdf 仅在没有此脚本的情况下才能支持传统插件。所有插件都必须包含此脚本,最终将删除对传统插件的支持。

bin/install

本脚本应在 ASDF_INSTALL_PATH 中安装版本。默认情况下,asdf 将为 $ASDF_INSTALL_PATH/bin (可以通过可选的 bin/list-bin-paths 脚本自定义)目录中的任意文件创建垫片。

安装成功时,安装脚本应以 0 状态退出。如果安装失败,脚本应以任何非零退出状态退出。

如果可能,脚本应仅在安装脚本认为工具的生成和安装成功后,才将文件放在 ASDF_INSTALL_PATH 目录中。asdf 检查 ASDF_INSTALL_PATH 目录的 扩展 以确认是否安装了该工具版本。如果在安装过程开始时填充了 ASDF_INSTALL_PATH 目录,则在安装过程中在其他终端中运行的其他 asdf 命令可能会认为该工具版本已经安装,即使它还未完全安装。

如果你希望你的插件使用 asdf 0.7._ 及更早版本和 0.8._ 及更高版本,请检查是否存在 ASDF_DOWNLOAD_PATH 环境变量。如果未设置,请在 bin/install 脚本回调时下载源代码。如果设置,则假设 bin/downlaod 脚本已经下载源代码。

可选脚本

bin/help 脚本

这不是一个回调脚本,而是一组回调脚本,每个脚本将打印不同的文档到 STDOUT。下面列出了可能的回调脚本。请注意,bin/help.overview 是一种特殊情况,因为必须存在才能为脚本显示任何帮助输出。

  • bin/help.overview - 此脚本应该输出有关插件和所管理工具的一般描述。不应该打印任何标题,因为 asdf 将打印标题。输出可以是自由格式的文本,但理想情况下只有一个短段落。如果你希望 asdf 为你的插件提供帮助信息,则必须存在此脚本。所有其他的帮助回调脚本都是可选的。
  • bin/help.deps - 此脚本应该输出为操作系统量身定制的依赖项列表。每行一个依赖项。
  • bin/help.config - 此脚本应该打印对插件和工具可能有用的任何必需或可选配置。安装或编译该工具所需的任何环境变量或其他标志(尽可能针对用户的操作系统)。输出可以是自由格式的文本。
  • bin/help.links - 这应该是与插件和工具相关的链接列表(同样,尽可能针对当前操作系统量身定制)。每行一个链接。行的格式可以是 <title>: <link> 或只是 <link>

这些脚本的每一个都应根据当前操作系统调整其输出。例如,在 Ubuntu 上,依赖脚本可以将依赖项输出为必须安装的 apt-get 包。设置变量时,脚本还应该根据设置变量 ASDF_INSTALL_VERSIONASDF_INSTALL_TYPE 的值。它们是可选的,并不总是被设置。

帮助回调脚本不得输出核心 asdf-vm 文档中已涵盖的任何信息。不得出现一般的 asdf 使用信息。

bin/latest-stable

如果实现了此回调,asdf 将使用它来确定工具的最新稳定版本,而不是尝试自行判断。asdf latest 通过查看由 list-all 回调打印的最新版本,在从输出中排除了几种类型的版本(如发布候选版本)之后推断出最新版本。当你的插件的 list-all 回调打印同一工具的不同变体并且最新版本不是你希望默认使用的变体的最新稳定版本时,这种默认行为是不可取的。例如,对于 Ruby,最新的稳定版本应该是 Ruby(MRI)的常规实现,但最后 list-all 回调打印的是 truffleruby 版本。

此回调使用单个 “过滤器” 字符串调用,因为它是唯一的参数。这应该用于过滤所有最新稳定版本。例如对于 Ruby,用户可以选择传入 jruby 以选择 jruby 的最新稳定版本。

bin/list-bin-paths

列举指定工具版本的可执行程序。必须打印一个带有空格分隔的包含可执行文件的目录路径列表的字符串。路径必须相对于传递的安装路径。示例输出如下所示:

shell
bin tools veggies

这将指示 asdf 为 <install-path>/bin<install-path>/tools<install-path>/veggies 中的文件创建垫片。

如果未指定此脚本,asdf 将在安装中查找 bin 目录并为这些脚本创建垫片。

bin/exec-env

设置环境变量以运行包中的二进制文件。

bin/exec-path

获取工具的指定版本的可执行程序路径。必须打印具有相对可执行程序路径的字符串。这允许插件有条件地覆盖垫片指定的可执行程序路径,否则返回垫片指定的默认路径。

shell
用法:
+  plugin/bin/exec-path <install-path> <command> <executable-path>
+
+例子调用:
+  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"
+
+输出:
+  bin/foox

bin/uninstall

卸载某个工具的指定版本。

bin/list-legacy-filenames

为此插件注册其他设置器文件。必须打印一个带有空格分隔的文件名列表的字符串。

shell
.ruby-version .rvmrc

注意:这仅适用于在 ~/.asdfrc 配置文件中启用了 legacy_version_file 选项的用户。

bin/parse-legacy-file

这可用于进一步解析 asdf 找到的传统文件。如果 parse-legacy-file 未实现,asdf 将会简单读取文件来确定版本。脚本将传递文件路径作为其第一个参数。

bin/post-plugin-add

这可用于在插件添加到 asdf 后运行任何安装后操作。

该脚本可以访问插件的安装路径(\${ASDF_PLUGIN_PATH})和源 URL(\${ASDF_PLUGIN_SOURCE_URL}),如果有的话。

其他请参考相关钩子:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_\${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_\${plugin_name}

bin/post-plugin-update

这可用于在 asdf 下载更新的插件后运行任何插件更新后操作。

该脚本可以访问插件的安装路径(\${ASDF_PLUGIN_PATH})、更新前的 git-ref(\${ASDF_PLUGIN_PREV_REF})和更新后的 git-ref(\${ASDF_PLUGIN_POST_REF})。

其他请参考相关钩子:

  • pre_asdf_plugin_update
  • pre_asdf_plugin_update_\${plugin_name}
  • post_asdf_plugin_update
  • post_asdf_plugin_update_\${plugin_name}

bin/pre-plugin-remove

这可用于在从 asdf 中删除插件之前运行任何预删除操作。

该脚本可以访问安装插件的路径(\${ASDF_PLUGIN_PATH})。

其他请参考相关钩子:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_\${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_\${plugin_name}

asdf 命令行的扩展命令

插件可以通过提供 lib/commands/command*.bash 脚本或者可执行程序来定义新的 asdf 命令,这些脚本或可执行程序将使用插件名称作为 asdf 命令的子命令进行调用。

例如,假设一个 foo 插件有以下文件:

shell
foo/
+  lib/commands/
+    command.bash
+    command-bat.bash
+    command-bat-man.bash
+    command-help.bash

用户现在可以执行:

shell
$ asdf foo         # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash\`
+$ asdf foo bar     # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar\`
+$ asdf foo help    # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash\`
+$ asdf foo bat man # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash\`
+$ asdf foo bat baz # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz\`

插件作者可以使用此功能来提供与其工具相关的实用命令,或者可以创建 asdf 本身的新命令扩展的插件。

调用时,如果扩展命令未设置其可执行位,则它们将作为 bash 脚本获取,且具有来自 $ASDF_DIR/lib/utils.bash 的所有可用功能。 此外,$ASDF_CMD_FILE 解析所获取文件的完整路径。 如果设置了可执行位,则只是执行它们并替换 asdf 执行。

这个功能的一个很好的例子是像 haxe 这样的插件。 它提供了 asdf haxe neko-dylibs-link 来修复 haxe 可执行文件期望找到相对于可执行目录的动态链接库的问题。

如果你的插件提供了 asdf 扩展命令,请务必在插件的 README 文件中提及。

自定义垫片模板

请仅在真的需要时才使用此功能

asdf 允许自定义垫片模板。对于名为 foo 的可执行程序,如果有一个 shims/foo 的文件在插件中,那么 asdf 将复制这个文件替代使用标准垫片模板。

必须明智地使用这一点。对于目前的 AFAIK,它仅仅被使用在了 Elixir 插件中,因为一个可执行程序除了是可执行程序文件之外,还被读作为 Elixir 文件,这使得无法使用标准的 bash 垫片。

测试插件

asdf 包含 plugin-test 命令用于测试插件。你可以像下面这样使用它:

shell
asdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]

只有前两个参数是必须的。 如果指定了 _version,则该工具将随指定版本一起安装。默认返回为 asdf latest <plugin-name>。 如果指定了 git-ref,则插件将检查提交/分支/标签。这对于在该插件的 CI 上测试拉取请求非常有用。默认值是插件仓库的默认分支。

剩下的参数被视为要执行的命令,以确保安装的工具正常工作。通常情况下,它需要带 --version 或者 --help。例如,要测试 NodeJS 插件,我们可以运行:

shell
asdf plugin test nodejs https://github.com/asdf-vm/asdf-nodejs.git node --version

我们强烈建议你在 CI 环境中测试你的插件,并确保它可以在 Linux 和 OSX 上运行。

GitHub Action 示例

asdf-vm/actions 存储库为托管在 github 的项目提供了使用 Github Action 来测试插件的可能。

yaml
steps:
+  - name: asdf_plugin_test
+    uses: asdf-vm/actions/plugin-test@v1
+    with:
+      command: "my_tool --version"
+    env:
+      GITHUB_API_TOKEN: \${{ secrets.GITHUB_TOKEN }} # 自动提供

TravisCI 配置示例

这是一个 .travis.yml 示例文件,请根据你的需要进行自定义:

yaml
language: c
+script: asdf plugin test nodejs $TRAVIS_BUILD_DIR 'node --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

注意: 当使用其他 CI 时,你将需要确认哪些变量映射到存储库路径。

你还可以选择将相对路径传递给 plugin-test

例如,如果在存储库目录中运行测试脚本:asdf plugin test nodejs . 'node --version'

GitHub API 频率限制

如果你的插件的 list-all 依赖于访问 GitHub API,请确保在访问时提供授权令牌,否则你的测试可能会因频率限制而失败。

为此,创建一个仅具有 public_repo 权限的 新个人令牌

然后,在 travis.ci 构建设置中添加一个名为 GITHUB_API_TOKEN安全 环境变量。并且 绝对不要 在你的代码中公布你的 token。

最后,添加如下内容到 bin/list-all

shell
cmd="curl -s"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

向官方插件存储库提交插件

asdf 可以通过指定插件存储库 url 轻松安装插件,比如 plugin add my-plugin https://github.com/user/asdf-my-plugin.git

为了使你的用户更轻松,你可以将插件添加到官方插件存储库中,以列出你的插件并使用较短的命令轻松安装,比如 asdf plugin add my-plugin

请查看插件存储库 asdf-vm/asdf-plugins 中的说明了解更多。

`,109)]))}const g=i(n,[["render",t]]);export{r as __pageData,g as default}; diff --git a/assets/zh-hans_plugins_create.md.P38AmJ4g.lean.js b/assets/zh-hans_plugins_create.md.P38AmJ4g.lean.js new file mode 100644 index 00000000..6f9d055c --- /dev/null +++ b/assets/zh-hans_plugins_create.md.P38AmJ4g.lean.js @@ -0,0 +1,35 @@ +import{_ as i,c as a,a2 as e,o as l}from"./chunks/framework.C9NVOr0y.js";const r=JSON.parse('{"title":"创建插件","description":"","frontmatter":{},"headers":[],"relativePath":"zh-hans/plugins/create.md","filePath":"zh-hans/plugins/create.md","lastUpdated":1704804447000}'),n={name:"zh-hans/plugins/create.md"};function t(h,s,p,d,o,k){return l(),a("div",null,s[0]||(s[0]=[e(`

创建插件

插件里有什么

插件是一个包含几个可执行脚本的 git 存储库,用于支持对某种语言或工具进行版本控制。这些脚本在执行 list-allinstall 或者 uninstall 命令时被执行。你可以设定或取消设定环境变量,并执行设置工具环境所需的任何操作。

必要的脚本

  • bin/list-all - 列举所有可安装的版本
  • bin/download - 下载指定版本的源代码或二进制文件
  • bin/install - 安装指定版本

环境变量

所有脚本除了 bin/list-all 之外对以下环境变量有权限进行操作:

  • ASDF_INSTALL_TYPE - version 或者 ref
  • ASDF_INSTALL_VERSION - 如果 ASDF_INSTALL_TYPEversion,那么这将是版本号。否则它将传递为 git 的 ref。可能指向存储库的一个标签/提交/分支。
  • ASDF_INSTALL_PATH - 已经 安装到的目录(或 bin/install 脚本执行情况下 应该 安装到的目录)

这些附加的环境变量将可用于 bin/install 脚本:

  • ASDF_CONCURRENCY - 编译源代码时使用的内核数。对于配置 make -j 非常有用。
  • ASDF_DOWNLOAD_PATH - bin/download 脚本下载源代码或二进制文件的路径。

这些附加的环境变量将可用于 bin/download 脚本:

  • ASDF_DOWNLOAD_PATH - 源代码或二进制文件应该下载到的路径。

bin/list-all

必须打印一个带有空格分隔的版本列表的字符串,示例输出如下所示:

shell
1.0.1 1.0.2 1.3.0 1.4

请注意,最新版本应列在最后,以便它看起来更接近用户的提示。这很有帮助,因为 list-all 命令会在自己的行打印每个版本。如果有很多版本,那么早期版本可能会不在屏幕上。

如果从网站上的发布页面拉取版本,建议尽可能不对版本进行排序。通常,版本已经按照正确的顺序排列,或者以相反的顺序排列,在这种情况下,像 tac 这样的东西就足够了。如果必须手动对版本进行排序,则不能依赖 sort -V,因为 OSX 操作系统不支持。一种可以替代的排序功能是 更好的选择

bin/download

此脚本必须下载源代码或者二进制文件到 ASDF_DOWNLOAD_PATH 环境变量包含的路径。如果下载的源代码或者二进制文件是压缩的,则只有未压缩的源代码或二进制文件会放置在 ASDF_DOWNLOAD_PATH 目录中。

下载成功后脚本必须以 0 状态退出。如果下载失败,脚本必须以任何非零退出状态退出。

如果可能,脚本应该仅将文件放在 ASDF_DOWNLOAD_PATH 中。如果下载失败,则不应将任何文件放在目录中。

如果此脚本不存在,asdf 将假设存在 bin/install 脚本,将下载并安装该版本。asdf 仅在没有此脚本的情况下才能支持传统插件。所有插件都必须包含此脚本,最终将删除对传统插件的支持。

bin/install

本脚本应在 ASDF_INSTALL_PATH 中安装版本。默认情况下,asdf 将为 $ASDF_INSTALL_PATH/bin (可以通过可选的 bin/list-bin-paths 脚本自定义)目录中的任意文件创建垫片。

安装成功时,安装脚本应以 0 状态退出。如果安装失败,脚本应以任何非零退出状态退出。

如果可能,脚本应仅在安装脚本认为工具的生成和安装成功后,才将文件放在 ASDF_INSTALL_PATH 目录中。asdf 检查 ASDF_INSTALL_PATH 目录的 扩展 以确认是否安装了该工具版本。如果在安装过程开始时填充了 ASDF_INSTALL_PATH 目录,则在安装过程中在其他终端中运行的其他 asdf 命令可能会认为该工具版本已经安装,即使它还未完全安装。

如果你希望你的插件使用 asdf 0.7._ 及更早版本和 0.8._ 及更高版本,请检查是否存在 ASDF_DOWNLOAD_PATH 环境变量。如果未设置,请在 bin/install 脚本回调时下载源代码。如果设置,则假设 bin/downlaod 脚本已经下载源代码。

可选脚本

bin/help 脚本

这不是一个回调脚本,而是一组回调脚本,每个脚本将打印不同的文档到 STDOUT。下面列出了可能的回调脚本。请注意,bin/help.overview 是一种特殊情况,因为必须存在才能为脚本显示任何帮助输出。

  • bin/help.overview - 此脚本应该输出有关插件和所管理工具的一般描述。不应该打印任何标题,因为 asdf 将打印标题。输出可以是自由格式的文本,但理想情况下只有一个短段落。如果你希望 asdf 为你的插件提供帮助信息,则必须存在此脚本。所有其他的帮助回调脚本都是可选的。
  • bin/help.deps - 此脚本应该输出为操作系统量身定制的依赖项列表。每行一个依赖项。
  • bin/help.config - 此脚本应该打印对插件和工具可能有用的任何必需或可选配置。安装或编译该工具所需的任何环境变量或其他标志(尽可能针对用户的操作系统)。输出可以是自由格式的文本。
  • bin/help.links - 这应该是与插件和工具相关的链接列表(同样,尽可能针对当前操作系统量身定制)。每行一个链接。行的格式可以是 <title>: <link> 或只是 <link>

这些脚本的每一个都应根据当前操作系统调整其输出。例如,在 Ubuntu 上,依赖脚本可以将依赖项输出为必须安装的 apt-get 包。设置变量时,脚本还应该根据设置变量 ASDF_INSTALL_VERSIONASDF_INSTALL_TYPE 的值。它们是可选的,并不总是被设置。

帮助回调脚本不得输出核心 asdf-vm 文档中已涵盖的任何信息。不得出现一般的 asdf 使用信息。

bin/latest-stable

如果实现了此回调,asdf 将使用它来确定工具的最新稳定版本,而不是尝试自行判断。asdf latest 通过查看由 list-all 回调打印的最新版本,在从输出中排除了几种类型的版本(如发布候选版本)之后推断出最新版本。当你的插件的 list-all 回调打印同一工具的不同变体并且最新版本不是你希望默认使用的变体的最新稳定版本时,这种默认行为是不可取的。例如,对于 Ruby,最新的稳定版本应该是 Ruby(MRI)的常规实现,但最后 list-all 回调打印的是 truffleruby 版本。

此回调使用单个 “过滤器” 字符串调用,因为它是唯一的参数。这应该用于过滤所有最新稳定版本。例如对于 Ruby,用户可以选择传入 jruby 以选择 jruby 的最新稳定版本。

bin/list-bin-paths

列举指定工具版本的可执行程序。必须打印一个带有空格分隔的包含可执行文件的目录路径列表的字符串。路径必须相对于传递的安装路径。示例输出如下所示:

shell
bin tools veggies

这将指示 asdf 为 <install-path>/bin<install-path>/tools<install-path>/veggies 中的文件创建垫片。

如果未指定此脚本,asdf 将在安装中查找 bin 目录并为这些脚本创建垫片。

bin/exec-env

设置环境变量以运行包中的二进制文件。

bin/exec-path

获取工具的指定版本的可执行程序路径。必须打印具有相对可执行程序路径的字符串。这允许插件有条件地覆盖垫片指定的可执行程序路径,否则返回垫片指定的默认路径。

shell
用法:
+  plugin/bin/exec-path <install-path> <command> <executable-path>
+
+例子调用:
+  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"
+
+输出:
+  bin/foox

bin/uninstall

卸载某个工具的指定版本。

bin/list-legacy-filenames

为此插件注册其他设置器文件。必须打印一个带有空格分隔的文件名列表的字符串。

shell
.ruby-version .rvmrc

注意:这仅适用于在 ~/.asdfrc 配置文件中启用了 legacy_version_file 选项的用户。

bin/parse-legacy-file

这可用于进一步解析 asdf 找到的传统文件。如果 parse-legacy-file 未实现,asdf 将会简单读取文件来确定版本。脚本将传递文件路径作为其第一个参数。

bin/post-plugin-add

这可用于在插件添加到 asdf 后运行任何安装后操作。

该脚本可以访问插件的安装路径(\${ASDF_PLUGIN_PATH})和源 URL(\${ASDF_PLUGIN_SOURCE_URL}),如果有的话。

其他请参考相关钩子:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_\${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_\${plugin_name}

bin/post-plugin-update

这可用于在 asdf 下载更新的插件后运行任何插件更新后操作。

该脚本可以访问插件的安装路径(\${ASDF_PLUGIN_PATH})、更新前的 git-ref(\${ASDF_PLUGIN_PREV_REF})和更新后的 git-ref(\${ASDF_PLUGIN_POST_REF})。

其他请参考相关钩子:

  • pre_asdf_plugin_update
  • pre_asdf_plugin_update_\${plugin_name}
  • post_asdf_plugin_update
  • post_asdf_plugin_update_\${plugin_name}

bin/pre-plugin-remove

这可用于在从 asdf 中删除插件之前运行任何预删除操作。

该脚本可以访问安装插件的路径(\${ASDF_PLUGIN_PATH})。

其他请参考相关钩子:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_\${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_\${plugin_name}

asdf 命令行的扩展命令

插件可以通过提供 lib/commands/command*.bash 脚本或者可执行程序来定义新的 asdf 命令,这些脚本或可执行程序将使用插件名称作为 asdf 命令的子命令进行调用。

例如,假设一个 foo 插件有以下文件:

shell
foo/
+  lib/commands/
+    command.bash
+    command-bat.bash
+    command-bat-man.bash
+    command-help.bash

用户现在可以执行:

shell
$ asdf foo         # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash\`
+$ asdf foo bar     # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar\`
+$ asdf foo help    # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash\`
+$ asdf foo bat man # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash\`
+$ asdf foo bat baz # 等同于运行 \`$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz\`

插件作者可以使用此功能来提供与其工具相关的实用命令,或者可以创建 asdf 本身的新命令扩展的插件。

调用时,如果扩展命令未设置其可执行位,则它们将作为 bash 脚本获取,且具有来自 $ASDF_DIR/lib/utils.bash 的所有可用功能。 此外,$ASDF_CMD_FILE 解析所获取文件的完整路径。 如果设置了可执行位,则只是执行它们并替换 asdf 执行。

这个功能的一个很好的例子是像 haxe 这样的插件。 它提供了 asdf haxe neko-dylibs-link 来修复 haxe 可执行文件期望找到相对于可执行目录的动态链接库的问题。

如果你的插件提供了 asdf 扩展命令,请务必在插件的 README 文件中提及。

自定义垫片模板

请仅在真的需要时才使用此功能

asdf 允许自定义垫片模板。对于名为 foo 的可执行程序,如果有一个 shims/foo 的文件在插件中,那么 asdf 将复制这个文件替代使用标准垫片模板。

必须明智地使用这一点。对于目前的 AFAIK,它仅仅被使用在了 Elixir 插件中,因为一个可执行程序除了是可执行程序文件之外,还被读作为 Elixir 文件,这使得无法使用标准的 bash 垫片。

测试插件

asdf 包含 plugin-test 命令用于测试插件。你可以像下面这样使用它:

shell
asdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]

只有前两个参数是必须的。 如果指定了 _version,则该工具将随指定版本一起安装。默认返回为 asdf latest <plugin-name>。 如果指定了 git-ref,则插件将检查提交/分支/标签。这对于在该插件的 CI 上测试拉取请求非常有用。默认值是插件仓库的默认分支。

剩下的参数被视为要执行的命令,以确保安装的工具正常工作。通常情况下,它需要带 --version 或者 --help。例如,要测试 NodeJS 插件,我们可以运行:

shell
asdf plugin test nodejs https://github.com/asdf-vm/asdf-nodejs.git node --version

我们强烈建议你在 CI 环境中测试你的插件,并确保它可以在 Linux 和 OSX 上运行。

GitHub Action 示例

asdf-vm/actions 存储库为托管在 github 的项目提供了使用 Github Action 来测试插件的可能。

yaml
steps:
+  - name: asdf_plugin_test
+    uses: asdf-vm/actions/plugin-test@v1
+    with:
+      command: "my_tool --version"
+    env:
+      GITHUB_API_TOKEN: \${{ secrets.GITHUB_TOKEN }} # 自动提供

TravisCI 配置示例

这是一个 .travis.yml 示例文件,请根据你的需要进行自定义:

yaml
language: c
+script: asdf plugin test nodejs $TRAVIS_BUILD_DIR 'node --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

注意: 当使用其他 CI 时,你将需要确认哪些变量映射到存储库路径。

你还可以选择将相对路径传递给 plugin-test

例如,如果在存储库目录中运行测试脚本:asdf plugin test nodejs . 'node --version'

GitHub API 频率限制

如果你的插件的 list-all 依赖于访问 GitHub API,请确保在访问时提供授权令牌,否则你的测试可能会因频率限制而失败。

为此,创建一个仅具有 public_repo 权限的 新个人令牌

然后,在 travis.ci 构建设置中添加一个名为 GITHUB_API_TOKEN安全 环境变量。并且 绝对不要 在你的代码中公布你的 token。

最后,添加如下内容到 bin/list-all

shell
cmd="curl -s"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

向官方插件存储库提交插件

asdf 可以通过指定插件存储库 url 轻松安装插件,比如 plugin add my-plugin https://github.com/user/asdf-my-plugin.git

为了使你的用户更轻松,你可以将插件添加到官方插件存储库中,以列出你的插件并使用较短的命令轻松安装,比如 asdf plugin add my-plugin

请查看插件存储库 asdf-vm/asdf-plugins 中的说明了解更多。

`,109)]))}const g=i(n,[["render",t]]);export{r as __pageData,g as default}; diff --git a/contribute/core.html b/contribute/core.html new file mode 100644 index 00000000..13e8feda --- /dev/null +++ b/contribute/core.html @@ -0,0 +1,61 @@ + + + + + + asdf + + + + + + + + + + + + + +
Skip to content

asdf

asdf core contribution guide.

Initial Setup

Fork asdf on GitHub and/or Git clone the default branch:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

The tools for core development are in this repo's .tool-versions. If you wish to manage with asdf itself, add the plugins:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

Install the versions to develop asdf with:

shell
asdf install

It may be useful to not use asdf to manage the tools during development on your local machine as you may need to break functionality which would then break your dev tooling. Here's the raw list of tools:

  • bats-core: Bash Automated Testing System, for unit testing Bash or POSIX compliant scripts.
  • shellcheck: Static analysis tool for shell scripts.
  • shfmt: A shell parser, formatter, and interpreter with bash support; includes shfmt

Development

If you want to try out your changes without making change to your installed asdf, you can set the $ASDF_DIR variable to the path where you cloned the repository, and temporarily prepend the bin and shims directory of the directory to your path.

It is best to format, lint and test your code locally before you commit or push to the remote. Use the following scripts/commands:

shell
# Lint
+./scripts/lint.bash --check
+
+# Fix & Format
+./scripts/lint.bash --fix
+
+# Test: all tests
+./scripts/test.bash
+
+# Test: for specific command
+bats test/list_commands.bash

TIP

Add tests! - Tests are required for new features and speed up review of bug fixes. Please cover new code paths before you create a Pull Request. See bats-core documentation

Gitignore

The following is the .gitignore file in the asdf-vm/asdf repository. We ignore project-specific files. Files specific to your OS, tools or workflows should be ignored in your global .gitignore configuration, see here for more details.

gitignore
/installs
+/downloads
+/plugins
+/shims
+repository
+.vagrant
+keyrings
+/tmp

.git-blame-ignore-revs

asdf uses a .git-blame-ignore-revs to reduce noise when running a blame. See the git blame documentation for more information.

Use the file with git blame like so:

sh
git blame --ignore-revs-file .git-blame-ignore-revs ./test/install_command.bats

Optionally, configure to use the file on every invocation of blame without manually supplying it:

sh
git config blame.ignoreRevsFile .git-blame-ignore-revs

It is possible to configure IDEs to use this file. For example, when using VSCode (with GitLens), write the following to .vscode/settings.json:

json
{
+  "gitlens.advanced.blame.customArguments": [
+    "--ignore-revs-file",
+    ".git-blame-ignore-revs"
+  ]
+}

Bats Testing

Execute tests locally with:

shell
./scripts/test.bash

Before writing tests please read:

Bats Tips

Bats debugging can be difficult at times. Using the TAP output with -t flag will enable you to print outputs with the special file descriptor >&3 during test execution, simplifying debugging. As an example:

shell
# test/some_tests.bats
+
+printf "%s\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\n" "Will be printed during bats -t test/some_tests.bats" >&3

This is further documented in bats-core Printing to the Terminal.

Pull Requests, Releases & Conventional Commits

asdf is using an automated release tool called Release Please to automatically bump the SemVer version and generate the Changelog. This information is determined by reading the commit history since the last release.

Conventional Commit messages define the format of the Pull Request Title which becomes the commit message format on the default branch. This is enforced with GitHub Action amannn/action-semantic-pull-request.

Conventional Commit follows this format:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

The full list of <types> are: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.

  • !: indicates a breaking change
  • fix: will create a new SemVer patch
  • feat: will create a new SemVer minor
  • <type>!: will create a new SemVer major

The Pull Request Title must follow this format.

TIP

Use Conventional Commit message format for your Pull Request Title.

Docker Images

The asdf-alpine and asdf-ubuntu projects are an ongoing effort to provide Dockerized images of some asdf tools. You can use these docker images as base for your development servers, or for running your production apps.

+ + + + \ No newline at end of file diff --git a/contribute/documentation.html b/contribute/documentation.html new file mode 100644 index 00000000..d477dd90 --- /dev/null +++ b/contribute/documentation.html @@ -0,0 +1,65 @@ + + + + + + Docs & Site | asdf + + + + + + + + + + + + + +
Skip to content

Docs & Site

Documentation & site contribution guide.

Initial Setup

Fork asdf on GitHub and/or Git clone the default branch:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

The tools for Docs site development are managed with asdf in the docs/.tool-versions. Add the plugins with:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

Install the tool version(s) with:

shell
asdf install
  • Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine.

Install Node.js dependencies from docs/package.json:

shell
npm install

Development

VitePress (v2) is the Static Site Generator (SSG) we use to build the asdf documentation site. It was chosen to replace Docsify.js and subsequently VuePress as we would like to support an HTML only fallback when users do not have JavaScript available or enabled. This was not possible with Docsify & VitePress quicly supplanted VuePress. Other than this, the feature-set is largely the same, with the focus on writing Markdown files with minimal configuration.

package.json contains the scripts required for development:

@code json{3-5}

To start the local development server:

shell
npm run dev

Format the code before committing:

shell
npm run format

Pull Requests, Releases & Conventional Commits

asdf is using an automated release pipeline which relies on Conventional Commits in PR titles. Detailed documentation found in the core contribution guide.

When creating a PR for documentation changes please make the PR title with the Conventional Commit type docs in the format docs: <description>.

Vitepress

Configuration of the site is contained within a few TypeScript files with JS Objects used to represent the config. They are:

To simplify the root config, the larger JS Objects representing the navbar and sidebar configuration have been extracted and separated by their locale. See both in:

  • docs/.vitepress/navbars.js
  • docs/.vitepress/sidebars.js

With the official documentation for these configs living in the Default Theme Reference.

I18n

VitePress has first-class support for internationalization. The root config docs/.vitepress/config.js defines the supported locales with their URL, title in the selection dropdown menu and navbar/sidebar configs references.

The navbar/sidebar configs are captured in the aforementioned config files, separated by locale and exported individually.

The markdown content for each locale must fall under a folder with the same name as the keys for locales in the root config. That is:

js
// docs/.vitepress/config.js
+export default defineConfig({
+  ...
+  locales: {
+    root: {
+      label: "English",
+        lang: "en-US",
+        themeConfig: {
+        nav: navbars.en,
+          sidebar: sidebars.en,
+      },
+    },
+    "pt-br": {
+      label: "Brazilian Portuguese",
+        lang: "pr-br",
+        themeConfig: {
+        nav: navbars.pt_br,
+          sidebar: sidebars.pt_br,
+      },
+    },
+    "zh-hans": {
+      label: "简体中文",
+        lang: "zh-hans",
+        themeConfig: {
+        nav: navbars.zh_hans,
+          sidebar: sidebars.zh_hans,
+      },
+    },
+  },
+})

/pt-BR/ will require the same set of markdown files located under docs/pt-BR/, like so:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

The official VitePress i18n documentation goes into more detail.

+ + + + \ No newline at end of file diff --git a/contribute/first-party-plugins.html b/contribute/first-party-plugins.html new file mode 100644 index 00000000..32af4100 --- /dev/null +++ b/contribute/first-party-plugins.html @@ -0,0 +1,24 @@ + + + + + + First-Party Plugins | asdf + + + + + + + + + + + + + +
Skip to content

First-Party Plugins

The asdf core team has authored some plugins relevant to their daily work life. Help is always welcome in maintaining and improving these plugins. See the associated repo for each linked below:

For community plugins, see:

+ + + + \ No newline at end of file diff --git a/contribute/github-actions.html b/contribute/github-actions.html new file mode 100644 index 00000000..fcf50c84 --- /dev/null +++ b/contribute/github-actions.html @@ -0,0 +1,24 @@ + + + + + + GitHub Actions | asdf + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/guide/getting-started.html b/guide/getting-started.html new file mode 100644 index 00000000..e10b468d --- /dev/null +++ b/guide/getting-started.html @@ -0,0 +1,36 @@ + + + + + + Getting Started | asdf + + + + + + + + + + + + + +
Skip to content

Getting Started

asdf installation involves:

  1. Installing dependencies
  2. Downloading asdf core
  3. Installing asdf
  4. Installing a plugin for each tool/runtime you wish to manage
  5. Installing a version of the tool/runtime
  6. Setting global and project versions via .tool-versions config files

1. Install Dependencies

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. Download asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. Install asdf

There are many different combinations of Shells, OSs & Installation methods all of which affect the configuration here. Expand the selection below that best matches your system.

macOS users, be sure to read the warning about path_helper at the end of this section.

Bash & Git

Add the following to ~/.bashrc:

shell
. "$HOME/.asdf/asdf.sh"

Completions must be configured by adding the following to your .bashrc:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. Unless changing back to Bash, follow the ZSH instructions.

Add the following to ~/.bash_profile:

shell
. "$HOME/.asdf/asdf.sh"

Completions must be configured manually with the following entry in your .bash_profile:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

Add asdf.sh to your ~/.bashrc with:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.bashrc

Completions will need to be configured as per Homebrew's instructions or with the following:

shell
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.bashrc
Bash & Homebrew (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. Unless changing back to Bash, follow the ZSH instructions.

Add asdf.sh to your ~/.bash_profile with:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.bash_profile

Completions will need to be configured as per Homebrew's instructions or with the following:

shell
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.bash_profile
Bash & Pacman

Add the following to ~/.bashrc:

shell
. /opt/asdf-vm/asdf.sh

bash-completion needs to be installed for the completions to work.

Fish & Git

Add the following to ~/.config/fish/config.fish:

shell
source ~/.asdf/asdf.fish

Completions must be configured manually with the following command:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

Add asdf.fish to your ~/.config/fish/config.fish with:

shell
echo -e "\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

Completions are handled by Homebrew for the Fish shell. Friendly!

Fish & Pacman

Add the following to ~/.config/fish/config.fish:

shell
source /opt/asdf-vm/asdf.fish

Completions are automatically configured on installation by the AUR package.

Elvish & Git

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

Elvish & Homebrew

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

Elvish & Pacman

Add asdf.elv to your ~/.config/elvish/rc.elv with:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Completions are automatically configured.

ZSH & Git

Add the following to ~/.zshrc:

shell
. "$HOME/.asdf/asdf.sh"

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

Completions are configured by either a ZSH Framework asdf plugin or by adding the following to your .zshrc:

shell
# append completions to fpath
+fpath=(${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • if you are using a custom compinit setup, ensure compinit is below your sourcing of asdf.sh
  • if you are using a custom compinit setup with a ZSH Framework, ensure compinit is below your sourcing of the framework

Warning

If you are using a ZSH Framework the associated asdf plugin may need to be updated to use the new ZSH completions properly via fpath. The Oh-My-ZSH asdf plugin is yet to be updated, see ohmyzsh/ohmyzsh#8837.

ZSH & Homebrew

Add asdf.sh to your ~/.zshrc with:

shell
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

Completions are configured by either a ZSH Framework asdf or will need to be configured as per Homebrew's instructions. If you are using a ZSH Framework the associated plugin for asdf may need to be updated to use the new ZSH completions properly via fpath. The Oh-My-ZSH asdf plugin is yet to be updated, see ohmyzsh/ohmyzsh#8837.

ZSH & Pacman

Add the following to ~/.zshrc:

shell
. /opt/asdf-vm/asdf.sh

Completions are placed in a ZSH friendly location, but ZSH must be configured to use the autocompletions.

PowerShell Core & Git

Add the following to ~/.config/powershell/profile.ps1:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

Add asdf.sh to your ~/.config/powershell/profile.ps1 with:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.ps1\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

Add the following to ~/.config/powershell/profile.ps1:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

Completions are automatically configured

Nushell & Homebrew

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

Completions are automatically configured

Nushell & Pacman

Add asdf.nu to your ~/.config/nushell/config.nu with:

shell
"\n$env.ASDF_DIR = '/opt/asdf-vm/'\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

Completions are automatically configured.

POSIX Shell & Git

Add the following to ~/.profile:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

Add asdf.sh to your ~/.profile with:

shell
echo -e "\nexport ASDF_DIR=\"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.profile
+echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.profile
POSIX Shell & Pacman

Add the following to ~/.profile:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdf scripts need to be sourced after you have set your $PATH and after you have sourced your framework (oh-my-zsh etc).

WARNING

On macOS, starting a Bash or Zsh shell automatically calls a utility called path_helper. path_helper can rearrange items in PATH (and MANPATH), causing inconsistent behavior for tools that require specific ordering. To workaround this, asdf on macOS defaults to forcily adding its PATH-entries to the front (taking highest priority). This is controllable with the ASDF_FORCE_PREPEND variable.

Restart your shell so that PATH changes take effect. Opening a new terminal tab will usually do it.

Core Installation Complete!

This completes the installation of the asdf core 🎉

asdf is only useful once you install a plugin, install a tool and manage its versions. Continue the guide below to learn how to do this.

4. Install a Plugin

For demonstration purposes we will install & set Node.js via the asdf-nodejs plugin.

Plugin Dependencies

Each plugin has dependencies so we need to check the plugin repo where they should be listed. For asdf-nodejs they are:

OSDependency Installation
Debianapt-get install dirmngr gpg curl gawk
CentOS/ Rocky Linux/ AlmaLinuxyum install gnupg2 curl gawk
macOSbrew install gpg gawk

We should install dependencies first as some Plugins have post-install hooks.

Install the Plugin

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. Install a Version

Now we have a plugin for Node.js we can install a version of the tool.

We can see which versions are available with asdf list all nodejs or a subset of versions with asdf list all nodejs 14.

We will just install the latest available version:

shell
asdf install nodejs latest

Note

asdf enforces exact versions. latest is a helper throughout asdf that will resolve to the actual version number at the time of execution.

6. Set a Version

asdf performs a version lookup of a tool in all .tool-versions files from the current working directory up to the $HOME directory. The lookup occurs just-in-time when you execute a tool that asdf manages.

WARNING

Without a version listed for a tool execution of the tool will error. asdf current will show you the tool & version resolution, or absence of, from your current directory so you can observe which tools will fail to execute.

Global

Global defaults are managed in $HOME/.tool-versions. Set a global version with:

shell
asdf global nodejs latest

$HOME/.tool-versions will then look like:

nodejs 16.5.0

Some OSs already have tools installed that are managed by the system and not asdf, python is a common example. You need to tell asdf to pass the management back to the system. The Versions reference section will guide you.

Local

Local versions are defined in the $PWD/.tool-versions file (your current working directory). Usually, this will be the Git repository for a project. When in your desired directory execute:

shell
asdf local nodejs latest

$PWD/.tool-versions will then look like:

nodejs 16.5.0

Using Existing Tool Version Files

asdf supports the migration from existing version files from other version managers. Eg: .ruby-version for the case of rbenv. This is supported on a per-plugin basis.

asdf-nodejs supports this via both .nvmrc and .node-version files. To enable this, add the following to your asdf configuration file $HOME/.asdfrc:

legacy_version_file = yes

See the configuration reference page for more config options.

Guide Complete!

That completes the Getting Started guide for asdf 🎉 You can now manage nodejs versions for your project. Follow similar steps for each type of tool in your project!

asdf has many more commands to become familiar with, you can see them all by running asdf --help or asdf. The core of the commands are broken into three categories:

+ + + + \ No newline at end of file diff --git a/guide/introduction.html b/guide/introduction.html new file mode 100644 index 00000000..084d3a06 --- /dev/null +++ b/guide/introduction.html @@ -0,0 +1,24 @@ + + + + + + Introduction | asdf + + + + + + + + + + + + + +
Skip to content

Introduction

asdf is a tool version manager. All tool version definitions are contained within one file (.tool-versions) which you can check in to your project's Git repository to share with your team, ensuring everyone is using the exact same versions of tools.

The old way of working required multiple CLI version managers, each with their distinct API, configurations files and implementation (e.g. $PATH manipulation, shims, environment variables, etc...). asdf provides a single interface and configuration file to simplify development workflows, and can be extended to all tools and runtimes via a simple plugin interface.

How It Works

Once asdf core is set up with your Shell configuration, plugins are installed to manage particular tools. When a tool is installed by a plugin, the executables that are installed have shims created for each of them. When you try and run one of these executables, the shim is run instead, allowing asdf to identify which version of the tool is set in .tool-versions and execute that version.

nvm / n / rbenv etc

Tools like nvm, n and rbenv are all written as Shell scripts which create shims for the executables installed by these tools.

asdf is very similar and was built to compete in this space of tool/runtime version management. The differentiating factor for asdf is its plugin system which removes the need for a manager per tool/runtime, different commands per manager and different *-version files in your repo.

direnv

augments existing shells with a new feature that can load and unload environment variables depending on the current directory.

asdf does not manage Environment Variables, however there is a plugin asdf-direnv to integrate direnv behaviour with asdf.

See direnv docs for more.

Homebrew

The Missing Package Manager for macOS (or Linux)

Homebrew manages your packages and their upstream dependencies. asdf does not manage upstream dependencies, it is not a package manager, that burden is upon the user, though we try and keep the dependency list small.

See Homebrew docs for more.

NixOS

Nix is a tool that takes a unique approach to package management and system configuration

NixOS aims to build truly reproducible environments by managing exact versions of packages up the entire dependency tree of each tool, something asdf does not do. NixOS does this with its own programming language, many CLI tools and a package collection of over 60,000 packages.

Again, asdf does not manage upstream dependencies and is not a package manager.

See NixOS docs for more.

Why use asdf?

asdf ensures teams are using the exact same versions of tools, with support for many tools via a plugin system, and the simplicity and familiarity of being a single Shell script you include in your Shell config.

Note

asdf is not intended to be a system package manager. It is a tool version manager. Just because you can create a plugin for any tool and manage its versions with asdf, does not mean that is the best course of action for that specific tool.

+ + + + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json new file mode 100644 index 00000000..d6566934 --- /dev/null +++ b/hashmap.json @@ -0,0 +1 @@ +{"contribute_core.md":"BABeyVan","contribute_documentation.md":"BYyBOKz0","contribute_first-party-plugins.md":"CpFWKmHh","contribute_github-actions.md":"CA9Mkw8-","guide_getting-started.md":"C3BDv6cZ","guide_introduction.md":"D7TZl5Xp","index.md":"CX4EfemI","ja-jp_contribute_core.md":"Dl6llQ1K","ja-jp_contribute_documentation.md":"DFrK7QhV","ja-jp_contribute_first-party-plugins.md":"C-K_bFJd","ja-jp_contribute_github-actions.md":"vwGbnpnK","ja-jp_guide_getting-started.md":"BOrg7Hf7","ja-jp_guide_introduction.md":"BiCZxaSp","ja-jp_index.md":"Nw2yHZ3B","ja-jp_manage_commands.md":"VPBtL-Un","ja-jp_manage_configuration.md":"BoE7Ge6N","ja-jp_manage_core.md":"B1eqmXXm","ja-jp_manage_plugins.md":"Cbru-sBo","ja-jp_manage_versions.md":"Dxk0G51J","ja-jp_more_community-projects.md":"Drt5Trip","ja-jp_more_faq.md":"DWV2Lkfg","ja-jp_more_thanks.md":"DgZpeSyP","ja-jp_plugins_create.md":"CF7Jmvco","manage_commands.md":"BSbw1HQ9","manage_configuration.md":"BTxM-Kga","manage_core.md":"BUHLaRG4","manage_plugins.md":"BOsG6k4O","manage_versions.md":"CAp-N8AZ","more_community-projects.md":"B9Jb3CEv","more_faq.md":"BjmX8xoH","more_thanks.md":"C4xnnmzS","plugins_create.md":"Ba4Peca-","pt-br_contribute_core.md":"BB7joZcW","pt-br_contribute_documentation.md":"D_CeZJ9y","pt-br_contribute_first-party-plugins.md":"TUKlMnR4","pt-br_contribute_github-actions.md":"BpD2TMaX","pt-br_guide_getting-started.md":"Bxtluukf","pt-br_guide_introduction.md":"C231JBSG","pt-br_index.md":"B18T-HnP","pt-br_manage_commands.md":"C9u0wbDc","pt-br_manage_configuration.md":"Bo5UByU1","pt-br_manage_core.md":"CTnvZ9A5","pt-br_manage_plugins.md":"CuNF9gHf","pt-br_manage_versions.md":"Ctc109hL","pt-br_more_community-projects.md":"C3m600b2","pt-br_more_faq.md":"Bch3gpm2","pt-br_more_thanks.md":"BziNXVH9","pt-br_plugins_create.md":"CnPY6mOB","zh-hans_contribute_core.md":"oF4_zk5Q","zh-hans_contribute_documentation.md":"DL3_2XKG","zh-hans_contribute_first-party-plugins.md":"CaobaPwV","zh-hans_contribute_github-actions.md":"BMOvSElT","zh-hans_guide_getting-started.md":"neLGUZQV","zh-hans_guide_introduction.md":"4qLfdOnh","zh-hans_index.md":"DQ8VBECv","zh-hans_manage_commands.md":"BJVPpY77","zh-hans_manage_configuration.md":"DckznVe9","zh-hans_manage_core.md":"_3uzcWzu","zh-hans_manage_plugins.md":"DY_Xuyjn","zh-hans_manage_versions.md":"BOLJYZ7r","zh-hans_more_community-projects.md":"yE4Odlba","zh-hans_more_faq.md":"CgpfvsMk","zh-hans_more_thanks.md":"Dyz87Q2k","zh-hans_plugins_create.md":"P38AmJ4g"} diff --git a/index.html b/index.html new file mode 100644 index 00000000..fa35670e --- /dev/null +++ b/index.html @@ -0,0 +1,24 @@ + + + + + + asdf + + + + + + + + + + + + + +
Skip to content

asdf

The Multiple Runtime Version Manager

Manage all your runtime versions with one tool!

+ + + + \ No newline at end of file diff --git a/ja-jp/contribute/core.html b/ja-jp/contribute/core.html new file mode 100644 index 00000000..33ed3787 --- /dev/null +++ b/ja-jp/contribute/core.html @@ -0,0 +1,54 @@ + + + + + + asdf + + + + + + + + + + + + + +
Skip to content

asdf

これは、asdfコアのコントリビューションガイドです。

初期セットアップ

GitHubでasdfをフォークするか、デフォルトのブランチをGitクローンしてください:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

コア開発用のツールは、このリポジトリの.tool-versionsで定義されています。asdf自身でこれらのツールを管理したい場合は、下記のようにプラグインを追加してください:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

asdfの開発に必要なバージョンを、下記のようにインストールします:

shell
asdf install

開発ツールに影響を与える特定の機能を壊す可能性もあるため、ローカルマシンで開発する際は、asdfを使用しないほうが 良いかもしれません 。下記に、使用しているツールを列挙します:

  • bats-core: BashまたはPOSIX準拠のスクリプトを単体テストするための、Bash自動テストシステムです。
  • shellcheck: シェルスクリプトの静的解析ツールです。
  • shfmt: Bashをサポートするシェルパーサ、フォーマッタ、インタプリタです。

開発

インストール済みのasdfに変更を加えずに、あなたが開発した変更内容を試したいときは、$ASDF_DIR変数に、クローンしたリポジトリのパスを設定し、そのディレクトリのbinshimsディレクトリを一時的にパスの先頭へ追加します。

リモートにコミットまたはプッシュする前に、コードをローカルでフォーマット、Lint、およびテストすることを推奨します。その際は、次のスクリプト/コマンドを使用してください:

shell
# Lint
+./scripts/lint.bash --check
+
+# Fix & Format
+./scripts/lint.bash --fix
+
+# Test: all tests
+./scripts/test.bash
+
+# Test: for specific command
+bats test/list_commands.bash

ヒント

テストを作ってください! - 新機能にとってテストは必要不可欠であり、バグ修正のレビューをスピードアップさせることができます。プルリクエストを作成する前に、新しいコードをカバーするようなテストを作成してください。bats-coreのドキュメントもご覧ください。

Gitignore

下記は、asdf-vm/asdfリポジトリの.gitignoreファイルです。プロジェクト固有のファイルは無視をしています。使用しているOS、ツール、およびワークフロー固有のファイルは、グローバルな.gitignore構成で無視する必要があります。詳しくはこちらをご覧ください。

@Gitignoreコード

.git-blame-ignore-revs

asdfでは、.git-blame-ignore-revsを使用して、Blameを実行する際のノイズを減らしています。詳しくは、git blameのドキュメントをご覧ください。

git blameを実行するときは、下記のように、このファイルと共に使います:

sh
git blame --ignore-revs-file .git-blame-ignore-revs ./test/install_command.bats

毎回手動でファイルを指定しなくても、gitのオプションで、blameを呼び出すたびにこのファイルを使うように設定することもできます:

sh
git config blame.ignoreRevsFile .git-blame-ignore-revs

このファイルを使用するように、IDEを設定することもできます。例えば、VSCode(およびGitLens)を使う場合は、.vscode/settings.jsonに下記のように記述します:

json
{
+  "gitlens.advanced.blame.customArguments": [
+    "--ignore-revs-file",
+    ".git-blame-ignore-revs"
+  ]
+}

Batsテスト

ローカルでテストを実行するには、下記のようにテストを呼び出します:

shell
./scripts/test.bash

テストを作成する前に、下記項目を一通り参照してください:

Batsのヒント

Batsでのデバッグは、難しいことがあります。-tフラグを指定してTAP出力を有効にすると、テスト実行中に特殊なファイルディスクリプタ>&3を使用して出力を表示できるため、デバッグが簡単になります。例えば次のとおりです:

shell
# test/some_tests.bats
+
+printf "%s\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\n" "Will be printed during bats -t test/some_tests.bats" >&3

詳しくは、bats-coreドキュメント内のPrinting to the Terminalで説明されています。

プルリクエスト、リリース、Conventional Commits

asdfは、Release Pleaseという自動リリースツールを使用して、セマンティックバージョンを自動的に引き上げ、Changelogを生成しています。この情報は、前回のリリースからのコミット履歴を読み込むことで生成されます。

Conventional Commit messagesでは、デフォルトブランチでのコミットメッセージのフォーマットとなる、プルリクエストタイトルのフォーマットを定義しています。これは、GitHub Actionamannn/action-semantic-pull-requestで強制されます。

Conventional Commitは、下記のフォーマットに従います:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

<types>の種類は次のとおりです: featfixdocsstylerefactorperftestbuildcichorerevert

  • !: 破壊的変更を示します
  • fix: セマンティックバージョンのpatchを新しく作成します
  • feat: セマンティックバージョンのminorを新しく作成します
  • <type>!: セマンティックバージョンのmajorを新しく作成します

プルリクエストのタイトルは、このフォーマットに従う必要があります。

ヒント

プルリクエストのタイトルには、Conventional Commit messageのフォーマットを使用してください。

Dockerイメージ

asdf-alpineおよびasdf-ubuntuプロジェクトは、一部のasdfツールのDocker化されたイメージを提供する取り組みを継続的に行っています。これらのDockerイメージは、開発用サーバのベースとしたり、本番用アプリケーションの実行用途として使用することができます。

+ + + + \ No newline at end of file diff --git a/ja-jp/contribute/documentation.html b/ja-jp/contribute/documentation.html new file mode 100644 index 00000000..3db4e007 --- /dev/null +++ b/ja-jp/contribute/documentation.html @@ -0,0 +1,65 @@ + + + + + + ドキュメント & サイト | asdf + + + + + + + + + + + + + +
Skip to content

ドキュメント & サイト

これは、ドキュメントおよびサイトのコントリビューションガイドです。

初期セットアップ

GitHubでasdfをフォークするか、デフォルトのブランチをGitクローンしてください:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

ドキュメントサイト開発用のツールは、asdfによってdocs/.tool-versionsで管理されています。下記のようにプラグインを追加してください:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

開発に必要なバージョンを、下記のようにインストールします:

shell
asdf install
  • Node.js: ChromeのV8 JavaScriptエンジンをベースに構築されたJavaScriptランタイムです。

docs/package.jsonをもとに、Node.jsの依存関係をインストールしてください:

shell
npm install

開発

VitePress (v2)は、asdfドキュメントサイトを構築するために使用している静的サイトジェネレータ(SSG)です。類似ツールであるDocsify.jsやVuePressに代わってVitePressが採用されたのは、ユーザがJavaScriptを使用できない、または有効にしていない場合に、HTMLのみのフォールバックをサポートしたいからでした。これは、DocsifyとVitePressがVuePressに急速に取って代わっていた場合には不可能でした。これ以外の機能セットはほとんど同じで、最小限の構成でMarkdownファイルを書くことに重点を置いています。

package.jsonには、開発に必要なスクリプトが含まれています:

@package.jsonのコード

ローカルの開発サーバを起動するには、次のように実行します:

shell
npm run dev

コミットする前にコードをフォーマットするには、次のように実行します:

shell
npm run format

プルリクエスト、リリース、Conventional Commits

asdfは、プルリクエストタイトルのConventional Commitsに依存する自動リリースパイプラインを使用しています。詳しくは、コアのコントリビューションガイドのドキュメントに記述されています。

ドキュメントの変更に関するプルリクエストを作成する場合、プルリクエストのタイトルは、Conventional Commit typeをdocsとして、docs: <description>というフォーマットで作成するようにしてください。

Vitepress

サイトの構成設定は、構成を示すために使用されるJSオブジェクト含んだ、いくつかのTypeScriptファイルに記述されています。以下のとおりです:

  • docs/.vitepress/config.js: サイトのルート構成ファイルです。仕様については、VitePressのドキュメントをご覧ください。

ルート構成ファイルを簡素化するために、 Navバーサイドバー の構成を示す大きなJSオブジェクトについては、別ファイルに切り出されており、かつ、ロケールごとに分類されています。次の両方のファイルを参照してください:

  • docs/.vitepress/navbars.js
  • docs/.vitepress/sidebars.js

これらの構成設定に関する公式ドキュメントは、Default Theme Referenceをご覧ください。

I18n

VitePressは、国際化対応に関して最高のサポートを備えています。 ルート構成ファイルであるdocs/.vitepress/config.jsでは、サポートされているロケールとそのURL、ドロップメニューのタイトル、Navバー/サイドバーの構成への参照を定義しています。

Navバー/サイドバーの構成設定は前述の構成ファイルにキャプチャされ、ロケールごとに分類され、個別にエクスポートされます。

各ロケールのMarkdownコンテンツは、ルート構成ファイル内のlocales内のキーと同じ名前のディレクトリ配下に配置する必要があります。ルート構成が下記の場合:

js
// docs/.vitepress/config.js
+export default defineConfig({
+  ...
+  locales: {
+    root: {
+      label: "English",
+        lang: "en-US",
+        themeConfig: {
+        nav: navbars.en,
+          sidebar: sidebars.en,
+      },
+    },
+    "pt-br": {
+      label: "Brazilian Portuguese",
+        lang: "pr-br",
+        themeConfig: {
+        nav: navbars.pt_br,
+          sidebar: sidebars.pt_br,
+      },
+    },
+    "zh-hans": {
+      label: "简体中文",
+        lang: "zh-hans",
+        themeConfig: {
+        nav: navbars.zh_hans,
+          sidebar: sidebars.zh_hans,
+      },
+    },
+  },
+})

/pt-BR/を有効にするには、下記のように、docs/pt-BR/配下に同じMarkdownファイルのセットを配置する必要があります:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

公式のVitePress i18nドキュメントには、より詳細な説明が記述されています。

+ + + + \ No newline at end of file diff --git a/ja-jp/contribute/first-party-plugins.html b/ja-jp/contribute/first-party-plugins.html new file mode 100644 index 00000000..242149c4 --- /dev/null +++ b/ja-jp/contribute/first-party-plugins.html @@ -0,0 +1,24 @@ + + + + + + 公式プラグイン | asdf + + + + + + + + + + + + + +
Skip to content

公式プラグイン

asdfコアチームでは、日々のワークライフに関連するプラグインをいくつか作成しています。これらのプラグインのメンテナンスおよび改善にご協力いただける方を、いつでも歓迎しています。詳しくは、下記リンクから、それぞれのリポジトリを参照してください:

コミュニティプラグインについては、下記をご覧ください:

+ + + + \ No newline at end of file diff --git a/ja-jp/contribute/github-actions.html b/ja-jp/contribute/github-actions.html new file mode 100644 index 00000000..9902fe4c --- /dev/null +++ b/ja-jp/contribute/github-actions.html @@ -0,0 +1,24 @@ + + + + + + GitHub Actions | asdf + + + + + + + + + + + + + +
Skip to content

GitHub Actions

ご興味を持っていただきありがとうございます。既存のイシュー、議論、コントリビューションガイドについては、asdf actions リポジトリをご覧ください。

+ + + + \ No newline at end of file diff --git a/ja-jp/guide/getting-started.html b/ja-jp/guide/getting-started.html new file mode 100644 index 00000000..8a7aced4 --- /dev/null +++ b/ja-jp/guide/getting-started.html @@ -0,0 +1,36 @@ + + + + + + はじめよう | asdf + + + + + + + + + + + + + +
Skip to content

はじめよう

asdfのインストールには次の手順が必要です:

  1. 依存関係のインストール
  2. asdfコアのダウンロード
  3. asdfのインストール
  4. 管理したいツール/ランタイムごとにプラグインをインストール
  5. ツール/ランタイムの特定バージョンをインストール
  6. .tool-versionsファイルで、グローバルまたはプロジェクトのバージョンをセット

1. 依存関係のインストール

asdfの動作にはgitおよびcurlが必要です。以下の表は、 あなたが使用している パッケージマネージャで実行するコマンドの 一部例 です(some might automatically install these tools in later steps)。

OSパッケージマネージャコマンド
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

備考

お使いのシステムの構成によっては、接頭にsudoが必要となる場合もあります。

2. asdfのダウンロード

公式ダウンロード

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1

コミュニティがサポートするダウンロード方法

理由がない限り、gitコマンドを使用した公式ダウンロードの手順を使用することを強く推奨します。

方法コマンド
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si または好みのAURヘルパーを使用

3. asdfのインストール

あなたが使用しているシェル、OS、およびインストール方法によって、ここでの設定方法が変わります。最も適したものを選択してください。

masOSユーザの方は、この節の最後にあるpath_helperに関する警告を必ず参照してください。

Bash & Git

~/.bashrcに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

コマンド補完が必要な場合は、.bashrcに下記の行を追記します:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

macOS Catalina以降を使用している場合、デフォルトのシェルはZSHです。Bashに変更していない限り、ZSHの手順を参照してください。

~/.bash_profileに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

コマンド補完が必要な場合は、.bash_profileに下記の行を追記します:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

下記コマンドで、~/.bashrcasdf.shを追加します:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.bashrc

コマンド補完が必要な場合は、Homebrewのガイドに従って設定を完了させるか、下記コマンドを実行します:

shell
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.bashrc
Bash & Homebrew (macOS)

macOS Catalina以降を使用している場合、デフォルトのシェルはZSHです。Bashに変更していない限り、ZSHの手順を参照してください。

下記コマンドで、~/.bash_profileasdf.shを追加します:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.bash_profile

コマンド補完が必要な場合は、Homebrewのガイドに従って設定を完了させるか、下記コマンドを実行します:

shell
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.bash_profile
Bash & Pacman

~/.bashrcに下記の行を追記します:

shell
. /opt/asdf-vm/asdf.sh

コマンド補完が必要な場合は、bash-completionをインストールします。

Fish & Git

~/.config/fish/config.fishに下記の行を追記します:

shell
source ~/.asdf/asdf.fish

コマンド補完が必要な場合は、下記コマンドを実行します:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

下記コマンドで、~/.config/fish/config.fishasdf.shを追加します:

shell
echo -e "\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

コマンド補完は、Fish shellのHomebrewが担います。親切ですね!

Fish & Pacman

~/.config/fish/config.fishに下記の行を追記します:

shell
source /opt/asdf-vm/asdf.fish

コマンド補完は、AURパッケージのインストール時に自動的に設定されます。

Elvish & Git

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

Elvish & Homebrew

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

Elvish & Pacman

下記コマンドで、~/.config/elvish/rc.elvasdf.elvを追加します:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

コマンド補完は自動的に設定されます。

ZSH & Git

~/.zshrcに下記の行を追記します:

shell
. "$HOME/.asdf/asdf.sh"

またはasdf for oh-my-zshのようなZSHフレームワークプラグインを使用して、このスクリプトをsourceし、コマンド補完をセットアップします。

コマンド補完は、ZSHフレームワークのasdfプラグインで設定するか、~/.zshrcに下記の行を追記することで設定できます:

shell
# append completions to fpath
+fpath=(${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • compinitのセットアップをカスタマイズしている場合は、asdf.shソース以下にcompinitがくるようにしてください。
  • ZSHフレームワークでcompinitのセットアップをカスタマイズしている場合は、フレームワークソース以下にcompinitがくるようにしてください。

警告

ZSHフレームワークを使用している場合、新しいZSHコマンド補完を使用するには、fpath経由で、関連するasdfプラグインの更新が必要となることがあります。Oh-My-ZSH asdfプラグインは、ohmyzsh/ohmyzsh#8837でご覧いただくと分かるとおり、まだ更新されていません。

ZSH & Homebrew

下記コマンドで、~/.zshrcasdf.shを追加します:

shell
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc

OR use a ZSH Framework plugin like asdf for oh-my-zsh which will source this script and setup completions.

コマンド補完は、ZSHフレームワークasdfによって設定されるか、Homebrewの説明に従って設定必要があります。ZSHフレームワークを使用している場合、新しいZSHコマンド補完を使用するには、fpath経由で、関連するasdfプラグインの更新が必要となることがあります。Oh-My-ZSH asdfプラグインは、ohmyzsh/ohmyzsh#8837でご覧いただくと分かるとおり、まだ更新されていません。

ZSH & Pacman

~/.zshrcに下記の行を追記します:

shell
. /opt/asdf-vm/asdf.sh

コマンド補完は、ZSHに適した場所に配置されますが、オートコンプリートを使用するようにZSHを設定する必要があります

PowerShell Core & Git

~/.config/powershell/profile.ps1に下記の行を追記します:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

下記コマンドで、~/.config/powershell/profile.ps1asdf.shを追加します:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.ps1\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

~/.config/powershell/profile.ps1に下記の行を追記します:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\n$env.ASDF_NU_DIR = ($env.HOME | path join '.asdf')\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

コマンド補完は自動的に設定されます。

Nushell & Homebrew

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\n$env.ASDF_NU_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\n source " +  (brew --prefix asdf | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

コマンド補完は自動的に設定されます。

Nushell & Pacman

下記コマンドで、~/.config/nushell/config.nuasdf.nuを追加します:

shell
"\n$env.ASDF_NU_DIR = '/opt/asdf-vm/'\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

コマンド補完は自動的に設定されます。

POSIX Shell & Git

~/.profileに下記の行を追記します:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

下記コマンドで、~/.profileasdf.shを追加します:

shell
echo -e "\nexport ASDF_DIR=\"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.profile
+echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.profile
POSIX Shell & Pacman

~/.profileに下記の行を追記します:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdfのスクリプトは、$PATHを設定したあと、かつ、使用中のフレームワーク(oh-my-zsh など)を呼び出したあとに記述する必要があります。

警告

macOSでは、BasgまたはZSHシェルを起動すると、自動的にpath_helperというユーティリティが呼び出されます。path_helperPATH(およびMANPATH)内の項目の順番を並び替えることができるため、特定の順序を必要とするツールの動作に、一貫性が無くなってしまいます。これを回避するため、macOSでasdfを利用するときは、強制的にPATHエントリの先頭に追加する(優先度を一番高くする)ようにしてください。これは、ASDF_FORCE_PREPEND環境変数で制御できます。

PATHの変更を反映するために、シェルを再起動してください。たいていの場合、ターミナルのタブを新たに開けばOKです。

コアのインストールが完了!

これで、asdfのコアのインストールは完了です🎉

しかし、asdfが役に立つようになるのは、プラグインをインストールしてからツールをインストールし、バージョンを管理するようになってからです。引き続き、ガイドを進めていきましょう。

4. プラグインのインストール

ここではデモとして、asdf-nodejsプラグインを使用してNode.jsをインストール・設定してみましょう。

プラグインの依存関係

各プラグインには依存関係があるため、プラグインのリポジトリを確認しておきましょう。asdf-nodejsの場合、必要なものは次のとおりです:

OS依存関係インストールコマンド
Debianapt-get install dirmngr gpg curl gawk
CentOS/ Rocky Linux/ AlmaLinuxyum install gnupg2 curl gawk
macOSbrew install gpg gawk

一部のプラグインではインストール後の事後処理でこれらの依存関係が必要となるため、あらかじめインストールしておきましょう。

プラグインのインストール

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. 特定のバージョンのインストール

Node.js用のプラグインをインストールしたので、このツールの特定のバージョンをインストールしましょう。

インストール可能なバージョンはasdf list all nodejsコマンドで確認できますし、特定のメジャーバージョンのサブセットはasdf list all nodejs 14コマンドで確認できます。

最新版をインストールするには、次のコマンドを実行します:

shell
asdf install nodejs latest

備考

asdfでは正確なバージョン番号を指定してください。latestは、現時点での最新バージョンを指定できるasdfのヘルパーです。

6. バージョンをセット

asdfは、カレントディレクトリから上位の$HOMEディレクトリまでに存在するすべての.tool-versionsファイルをもとに、ツールのバージョンを照会します。照会は、asdfで管理するツールを実行した際に、ジャストインタイムで行われます。

警告

ツールで指定されたバージョンが見つからない場合、エラーが発生します。asdf currentコマンドを実行すると、カレントディレクトリにおいてツールのバージョンを解決可能か確認できるため、どのツールが実行に失敗するか検証することができます。

グローバル

グローバルのデフォルト設定は、$HOME/.tool-versionsで管理されます。グローバルのバージョンをセットするには、次のコマンドを実行します:

shell
asdf global nodejs latest

すると、$HOME/.tool-versions内には次のように書き込まれます:

nodejs 16.5.0

一部のOSでは、pythonのように、asdfではなくシステムが管理するツールが既にインストールされていることがあります。それを使用する場合、asdfに対して、バージョン管理をシステムに委任するように指示する必要があります。詳しくは、バージョンのリファレンスをご覧ください。

ローカル

ローカルのバージョン設定は、$PWD/.tool-versionsファイル(カレントディレクトリ内)で定義されます。たいていの場合は、プロジェクトのGitリポジトリ内となるでしょう。対象となるディレクトリで、下記コマンドを実行します:

shell
asdf local nodejs latest

すると、$PWD/.tool-versions内には次のように書き込まれます:

nodejs 16.5.0

ツールごとに用意された既存バージョンファイルの利用

asdfは、他のバージョンマネージャ向けに作られた既存のバージョンファイル(例: rbenvの場合は.ruby-versionファイル)からの移行をサポートしています。これはプラグイン単位でのサポートです。

asdf-nodejsであれば、.nvmrcファイルと.node-versionファイルの両方に対応しています。このサポートを有効にするには、asdfの構成設定ファイルである$HOME/.asdfrc内に、下記の行を追記してください:

legacy_version_file = yes

構成設定でのその他のオプションについて詳しくは、構成設定のリファレンスをご覧ください。

入門完了!

以上で、asdfの入門は完了です🎉 ここまでで、プロジェクトでのnodejsのバージョン管理ができるようになりました。プロジェクトで使用するツールごとに、同様の手順を実施してください!

asdfには使いこなすと便利なコマンドが他にもいっぱいあり、asdf --helpコマンドまたは単にasdfコマンドを実行すれば、すべてのコマンドの説明を見ることができます。コマンドは大きく分けて3つのカテゴリに分けられます:

+ + + + \ No newline at end of file diff --git a/ja-jp/guide/introduction.html b/ja-jp/guide/introduction.html new file mode 100644 index 00000000..958d3e69 --- /dev/null +++ b/ja-jp/guide/introduction.html @@ -0,0 +1,24 @@ + + + + + + イントロダクション | asdf + + + + + + + + + + + + + +
Skip to content

イントロダクション

asdfは、ツールのためのバージョンマネージャです。すべてのツールのバージョンは単一のファイル(.tool-versions)内で定義されるため、プロジェクトのGitリポジトリにチェックインして共有することで、チーム全員に同じーバージョンのツールを使ってもらえるようになります。

従来は、複数のCLIのバージョンマネージャを用意する必要があり、それぞれが異なるAPI、構成ファイル、および実装($PATHの操作、Shim、環境変数など)となっていました。asdfは、開発ワークフローを簡素化するための単一インターフェースと構成ファイルを提供しており、シンプルなプラグインインターフェースを使って、すべてのツール・ランタイムに拡張することができます。

どうやって動いているの

シェル上でasdfコアがセットアップすると、特定のツールを管理するためのプラグインをインストールすることができるようになります。プラグインによってツールがインストールされると、インストールされる実行ファイルごとにShimが作成されます。これらの実行ファイルを実行しようとすると、代わりにShimが実行され、.tool-versionsで定義されているバージョンをasdfが認識して、当該バージョンが実行されます。

関連プロジェクト

nvm / n / rbenv etc

nvmn、およびrbenvのようなツールはすべて、ツールによってインストールされる実行ファイルのShimを作成するシェルスクリプトです。

asdfはこれらのツールと非常に似ていて、ツール/ランタイムのバージョン管理という分野では競合しています。asdfはプラグインシステムを採用し、他のツールと差別化することで、ツール/ランタイムごとのマネージャ、マネージャごとの異なるコマンド、そしてリポジトリ内の様々な*-versionファイルといったものを排除しています。

direnv

シェルに、ディレクトリごとに環境変数をロード/アンロードできる機能を付け加えます。

asdfは環境変数を管理することはしませんが、direnvの動作をasdfに統合するasdf-direnvプラグインが存在します。

詳しくはdirenvのドキュメントをご覧ください。

Homebrew

macOS(またはLinux)のためのパッケージマネージャー

Homebrewは、パッケージとその上位の依存関係を管理します。asdfは上位の依存関係を管理することはしませんし、パッケージマネージャでもありません。それらの管理はユーザが負担することとなりますが、asdfはなるべく依存関係のリストを小さく保つように努めています。

詳しくはHomebrewのドキュメントをご覧ください。

NixOS

Nixは、パッケージ管理とシステム構成に独自のアプローチを取り入れたツールです。

NixOSは、各ツールの依存関係ツリー全体でパッケージのバージョンを正確に管理することで、真に再現可能な環境を構築することを目指しています。asdfでそのようなことはできません。NixOSは、独自のプログラミング言語、たくさんのCLIツール、そして60,000を超えるパッケージコレクションによって、それらの機能を支えています。

繰り返しになりますが、asdfは上位の依存関係を管理することはしませんし、パッケージマネージャでもありません。

詳しくはNixOSのドキュメントをご覧ください。

なぜasdfを使うの?

asdfは、プラグインシステムによって多くのツールをサポートしており、シェル構成にたった1行のシェルスクリプトを記述するだけで使えるというシンプルさ・親しみやすさによって、チームが確実に同じバージョンのツールを使用することを保証できます。

Note

asdfはシステムのパッケージマネージャになることを目指してはいません。あくまで、ツールのバージョンマネージャです。プラグインを作成することで、どのようなツールでもasdfで管理できるようになりますが、それがそのツールにとって最善の方法であるとは限りませんのでご注意ください。

+ + + + \ No newline at end of file diff --git a/ja-jp/index.html b/ja-jp/index.html new file mode 100644 index 00000000..b92d18a4 --- /dev/null +++ b/ja-jp/index.html @@ -0,0 +1,24 @@ + + + + + + asdf + + + + + + + + + + + + + +
Skip to content

asdf

マルチランタイム
バージョンマネージャ

1つのツールですべてのランタイムのバージョンを管理しましょう!

+ + + + \ No newline at end of file diff --git a/ja-jp/manage/commands.html b/ja-jp/manage/commands.html new file mode 100644 index 00000000..40f8c601 --- /dev/null +++ b/ja-jp/manage/commands.html @@ -0,0 +1,89 @@ + + + + + + すべてのコマンド | asdf + + + + + + + + + + + + + +
Skip to content

すべてのコマンド

asdfで利用可能なすべてのコマンドの一覧です。この一覧は、asdf helpコマンドで表示されるテキストです。

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        `ASDF_${LANG}_VERSION` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: `env`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
+ + + + \ No newline at end of file diff --git a/ja-jp/manage/configuration.html b/ja-jp/manage/configuration.html new file mode 100644 index 00000000..60ca25a6 --- /dev/null +++ b/ja-jp/manage/configuration.html @@ -0,0 +1,32 @@ + + + + + + 構成設定 | asdf + + + + + + + + + + + + + +
Skip to content

構成設定

asdfの構成設定には、他人と共有可能な.tool-versionsファイルと、.asdfrcや環境変数によってカスタマイズ可能なユーザ固有の設定とがあります。

.tool-versions

.tool-versionsファイルがディレクトリに存在する場合、当該ディレクトリおよびサブディレクトリで、ファイル内で宣言しているツールのバージョンが使用されます。

備考

グローバルのデフォルト値は、$HOME/.tool-versionsファイルで設定できます。

.tool-versionsファイル内は下記のような記述となっています:

ruby 2.5.3
+nodejs 10.15.0

コメントを含めることもできます:

ruby 2.5.3 # This is a comment
+# This is another comment
+nodejs 10.15.0

バージョンの表記は下記の形式があります:

  • 10.15.0 - 実バージョンの表記です。バイナリのダウンロードに対応しているプラグインの場合、バイナリがダウンロードされます。
  • ref:v1.0.2-a or ref:39cb398vb39 - 指定されたタグ/コミット/ブランチをgithubからダウンロードし、コンパイルされます。
  • path:~/src/elixir - 使用するツールをカスタムコンパイルしたバージョンへのパスです。言語開発者などが使用します。
  • system - このキーワードを指定した場合、asdfが管理していない、システム上のツールバージョンへパススルーします。

ヒント

スペースで区切れば、複数のバージョンを指定できます。例えば、Python 3.7.2を使用し、Python 2.7.15にフォールバックし、最終的にsystemのPythonにフォールバックさせるには、.tool-versionsに下記の行を追記します。

python 3.7.2 2.7.15 system

.tool-versionsファイルで定義されているすべてのツールをインストールするには、.tool-versionsファイルを含むディレクトリで、asdf installコマンドを引数を指定せずに実行します。

.tool-versionsファイルで定義されている単一のツールをインストールするには、.tool-versionsファイルを含むディレクトリで、asdf install <name>コマンドを実行します。ツールは、.tool-versionsファイルで指定されたバージョンでインストールされます。

ファイルは、直接編集するか、asdf localコマンド(またはasdf globalコマンド)を使用して更新してください。

.asdfrc

.asdfrcでは、ユーザのマシン固有の構成を設定します。

asdfはデフォルトで${HOME}/.asdfrcに構成ファイルを配置します。ファイルの場所は、ASDF_CONFIG_FILE環境変数で設定できます。

下記は、構成に必要な項目とそのデフォルト値を示しています:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

対応しているプラグインの場合、他のバージョンマネージャで使用されているバージョンファイルを読み込むことができます。例えば、Rubyのrbenvであれば.ruby-versionファイルを読み込みます。

オプション説明
no デフォルトバージョンの読み込みには.tool-versionsを使用します
yes利用可能なレガシーバージョンファイル(.ruby-versionなど)がある場合、プラグインのフォールバックで使用します

use_release_candidates

asdf updateコマンドでasdfを更新する際に、最新リリースではなく、リリース候補版へ更新するか制御します。

オプション説明
no デフォルト最新リリースを使用します
yesリリース候補版を使用します

always_keep_download

asdf installコマンドでダウンロードしたソースコードやバイナリを、保持しておくか削除するかを制御します。

オプション説明
no デフォルトインストールが成功したら、ソースコードやバイナリを削除します
yesインストール後も、ソースコードやバイナリを保持します

plugin_repository_last_check_duration

asdfプラグインリポジトリの同期間隔(分)を制御します。何らかのトリガーイベントが発生した際に、最後に同期した時刻からの経過時間をチェックします。設定された間隔以上の時間が経過していた倍は、新たに同期が開始されます。

オプション説明
1から999999999までの整数値
デフォルト60
最後に同期した時刻から指定時間(分)以上経過していた場合、トリガーイベントで同期します
0トリガーイベントのたびに同期します
never同期しません

同期は、以下のコマンドが実行されたときに発生します:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url>コマンドでは、プラグインの同期はトリガーされません。

備考

値をneverにしても、プラグインリポジトリの初期同期は停止されません。この動作については、disable_plugin_short_name_repositoryの節をご覧ください。

disable_plugin_short_name_repository

asdfプラグインのショートネームリポジトリの同期を無効化します。ショートネームリポジトリが無効となっている場合、同期イベントはすぐに終了します。

オプション説明
no デフォルト同期イベントが発生した際に、asdfプラグインリポジトリをクローンまたは更新します
yesプラグインショートネームリポジトリを無効化します

同期は、以下のコマンドが実行されたときに発生します:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url>コマンドでは、プラグインの同期はトリガーされません。

備考

プラグインショートネームリポジトリを無効化しても、すでに同期されたリポジトリは削除されません。プラグインリポジトリを削除するには、rm --recursive --trash $ASDF_DATA_DIR/repositoryコマンドを実行してください。

また、プラグインショートネームリポジトリを無効化しても、以前にこのソースからインストールされたプラグインは削除されません。プラグインを削除するには、asdf plugin remove <name>コマンドを実行してください。プラグインを削除すると、そのプラグインでインストールされたすべてのツールバージョンが削除されます。

concurrency

コンパイル時に使用するデフォルトのコア数です。

OptionsDescription
整数値ソースコードのコンパイル時に使用するコア数です
autonprocsysctl hw.ncpu/proc/cpuinfo、または1、の優先順でコア数を計算します

備考: ASDF_CONCURRENCY環境変数が設定されている場合はそちらが優先されます。

環境変数

環境変数の設定値は、お使いのシステムやシェルによって異なります。デフォルトロケーションは、インストールした場所や方法(Gitクローン、Homebrew、AUR)によって異なります。

環境変数は通常、asdf.sh/asdf.fishなどをsourceする前に設定する必要があります。Elvishの場合は、use asdfの上側に設定します。

以下では、Bashシェルでの使用方法について説明します。

ASDF_CONFIG_FILE

.asdfrc構成ファイルへのパスです。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: $HOME/.asdfrcの値が使用されます。
  • 使用方法: export ASDF_CONFIG_FILE=/home/john_doe/.config/asdf/.asdfrc

ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

ツール名とバージョンの情報を格納するファイルのファイル名です。有効なファイル名であれば何でも設定できます。通常、.tool-versionsファイルを無視したい場合を除き、この値を変更するべきではありません。

  • 未設定の場合: .tool-versionsの値が使用されます。
  • 使用方法: export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=tool_versions

ASDF_DIR

asdfのコアスクリプト場所です。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: bin/asdf実行ファイルの親ディレクトリが使用されます。
  • 使用方法: export ASDF_DIR=/home/john_doe/.config/asdf

ASDF_DATA_DIR

asdfがプラグイン、Shim、ツールのバージョンをインストールする場所です。任意の場所に設定できます。必ず絶対パスで設定してください。

  • 未設定の場合: $HOME/.asdfディレクトリが存在すればその場所、存在しない場合はASDF_DIRの値を使用します。
  • 使用方法: export ASDF_DATA_DIR=/home/john_doe/.asdf

ASDF_CONCURRENCY

ソースコードのコンパイル時に使用するコア数です。この環境変数の値は、asdf構成ファイルのconcurrencyの値よりも優先されます。

  • 未設定の場合: asdf構成ファイルのconcurrencyの値が使用されます。
  • 使用方法: export ASDF_CONCURRENCY=32

ASDF_FORCE_PREPEND

asdfのShimやパスのディレクトリをPATHの先頭(最高優先度)に追加するかどうかを設定します。

  • 未設定の場合: macOSでのデフォルト値はyes、その他のシステムでのデフォルト値はnoです。
  • yesの場合: asdfディレクトリを強制的にPATHの先頭に配置します。
  • yes以外の文字列を設定した場合: asdfディレクトリを強制的にPATHの先頭に配置することは しません
  • Usage: ASDF_FORCE_PREPEND=no . "<path-to-asdf-directory>/asdf.sh"

完全な構成の例

下記のように、asdfをシンプルにセットアップしたとします:

  • Bashシェル
  • インストール先は$HOME/.asdf
  • Git経由でインストール
  • 環境変数は何も設定していない
  • .asdfrcファイルは何もカスタマイズしていない

すると、結果として以下のような構成となります:

構成値がセットされる過程
config file location$HOME/.asdfrcASDF_CONFIG_FILEは空なので、$HOME/.asdfrcが使用されます。
default tool versions filename.tool-versionsASDF_DEFAULT_TOOL_VERSIONS_FILENAMEは空なので、.tool-versionsが使用されます。
asdf dir$HOME/.asdfASDF_DIRは空なので、bin/asdfの親ディレクトリが使用されます。
asdf data dir$HOME/.asdfASDF_DATA_DIRは空であり、$HOMEが存在するので、$HOME/.asdfが使用されます。
concurrencyautoASDF_CONCURRENCYは空なので、デフォルト構成concurrencyの値に依存します。
legacy_version_fileno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
use_release_candidatesno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
always_keep_downloadno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
plugin_repository_last_check_duration60.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。
disable_plugin_short_name_repositoryno.asdfrcをカスタマイズしていないので、デフォルト構成を使用します。

内部構成

この節では、パッケージマネージャやインテグレータ向けのasdfの内部構成について記述しているため、ユーザが気にする必要はありません。

  • $ASDF_DIR/asdf_updates_disabled: このファイルが存在する場合、asdf updateコマンドによる更新は無効になります(ファイル内容は関係ありません)。これは、PacmanやHomebrewのようなパッケージマネージャによって使用され、特定のインストールに対して正しい更新方法を適用するようにします。
+ + + + \ No newline at end of file diff --git a/ja-jp/manage/core.html b/ja-jp/manage/core.html new file mode 100644 index 00000000..918d51ea --- /dev/null +++ b/ja-jp/manage/core.html @@ -0,0 +1,41 @@ + + + + + + コア | asdf + + + + + + + + + + + + + +
Skip to content

コア

コアとなるasdfのコマンドはかなり少量ですが、多くのワークフローを円滑に進めることができます。

インストール & セットアップ

はじめようのガイドで説明されています。

実行

shell
asdf exec <command> [args...]

現在のバージョンのShimでコマンドを実行します。

環境変数

shell
asdf env <command> [util]

情報

shell
asdf info

OS、シェル、およびasdfのデバッグ情報を表示するヘルパーコマンドです。バグレポート作成時に共有してください。

Shimの再作成

shell
asdf reshim <name> <version>

特定のパッケージ・バージョンのShimを再作成します。デフォルトでは、Shimはプラグインによってツールのインストール中に作成されます。npm CLIなどのツールは、実行ファイルをグローバルインストールができます(例:npm install -g yarnコマンドでYarnをインストール)が、これらの実行ファイルはプラグインのライフサイクルを通してインストールされないため、Shimはまだ存在しません。そのような時に、例えばasdf reshim nodejs <version>を実行すると、nodejs<version>に対して、yarnのような新しい実行ファイルのShimを強制的に再作成させることができます。

Shimのバージョン

shell
asdf shim-versions <command>

<command>のShimを提供するプラグインおよびバージョンを一覧で表示します。

例えば、Node.jsにはnodenpmという2つの実行ファイルが提供されています。asdf-nodejsプラグインで、複数のバージョンのツールがインストールされている場合、shim-versionsは下記のような一覧を返します:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

更新

asdfには、Git依存のアップデートコマンドが用意されています(推奨されるインストール方法を使用した場合)。別の方法でインストールした場合、その方法の手順に従ってください:

方法最新の安定リリースmasterブランチの最新コミット
asdf (Git経由)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
Pacman新しいPKGBUILDをダウンロードしてリビルド、
または好みのAURヘルパーを使用

アンインストール

asdfをアンインストールするには以下の手順に従ってください:

Bash & Git
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. ~/.bash_profileで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

コマンド補完については、Homebrewで説明されている方法で設定されている可能性があるため、そちらのガイドに従って削除する行を見つけてください。

  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

macOS Catalina以降では、デフォルトのシェルがZSHに変更されました。もし、~/.bash_profileに設定が見つからない場合は、~/.zshrcにある可能性があります。その場合は、ZSHの手順をご覧ください。

  1. ~/.bash_profileで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

コマンド補完については、Homebrewで説明されている方法で設定されている可能性があるため、そちらのガイドに従って削除する行を見つけてください。

  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. ~/.bashrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. /opt/asdf-vm/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source ~/.asdf/asdf.fish

そして、次のコマンドで、コマンド補完を削除します:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. ~/.config/fish/config.fishで、asdf.fishをsourceしている行を削除します:
shell
source /opt/asdf-vm/asdf.fish
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. $HOME/.asdfディレクトリを削除します:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. ~/.config/elvish/rc.elvで、asdfモジュールを使用している行を削除します:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

そして、次のコマンドで、asdfモジュールを削除します:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. ~/.zshrcで、asdf.shおよびコマンド補完をsourceしている行を削除します:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

または、ZSHフレームワークプラグインを使用します。

  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. ~/.zshrcで、asdf.shをsourceしている行を削除します:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
brew uninstall asdf --force && brew autoremove
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. ~/.zshrcで、asdf.shをsourceしている行を削除します:
shell
. /opt/asdf-vm/asdf.sh
  1. パッケージマネージャでアンインストールします:
shell
pacman -Rs asdf-vm
  1. $HOME/.asdfディレクトリを削除します:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. asdfのすべての構成ファイルを削除するために次のコマンドを実行します:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

たったこれだけです! 🎉

+ + + + \ No newline at end of file diff --git a/ja-jp/manage/plugins.html b/ja-jp/manage/plugins.html new file mode 100644 index 00000000..d2cafa10 --- /dev/null +++ b/ja-jp/manage/plugins.html @@ -0,0 +1,34 @@ + + + + + + プラグイン | asdf + + + + + + + + + + + + + +
Skip to content

プラグイン

プラグインは、asdfがNode.jsやRuby、Elixirなどの様々なツールを取り扱えるようにするためのものです。

様々なツールをサポートするために使用されるプラグインAPIについては、プラグインの作成をご覧ください。

追加

下記コマンドでは、GitのURLからプラグインを追加します:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

または下記のコマンドで、プラグインリポジトリのショートネームを指定して追加します:

shell
asdf plugin add <name>
+# asdf plugin add erlang

推奨

リポジトリのショートネームに依存しないために、git-urlを使用することを推奨します。

インストール済みプラグイン一覧

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

全プラグインのショートネーム一覧

shell
asdf plugin list all

全プラグインのショートネーム一覧については、プラグインショートネームの一覧もご覧ください。

更新

shell
asdf plugin update --all

特定のプラグインパッケージを更新したい場合は、下記のように指定してください。

shell
asdf plugin update <name>
+# asdf plugin update erlang

この更新コマンドは、プラグインリポジトリの originデフォルトブランチ における 最新コミット を取得します。バージョニングされたプラグインの更新機能については、現在開発中です(#916)。

削除

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

プラグインを削除すると、当該プラグインでインストールされたすべてのツールが削除されます。これは、各ツールの未使用バージョンを手っ取り早くクリーンアップ/プルーニングするのに有用です。

ショートネームリポジトリの同期

ショートネームリポジトリはローカルマシンに同期され、定期的に更新されます。同期のタイミングの条件は、次のとおりです:

  • 同期イベントは、下記コマンドによってトリガーされます:
    • asdf plugin add <name>
    • asdf plugin list all
  • 構成設定のdisable_plugin_short_name_repositoryオプションがyesの場合、同期は中止されます。詳しくはasdfの構成設定のリファレンスをご覧ください。
  • もし、過去X分の間に同期が行われていない場合、同期が開始されます。
    • Xのデフォルト値は60ですが、.asdfrcファイルのplugin_repository_last_check_durationオプションで変更することができます。詳しくはasdfの構成設定のリファレンスをご覧ください。
+ + + + \ No newline at end of file diff --git a/ja-jp/manage/versions.html b/ja-jp/manage/versions.html new file mode 100644 index 00000000..79a8cec9 --- /dev/null +++ b/ja-jp/manage/versions.html @@ -0,0 +1,53 @@ + + + + + + バージョン | asdf + + + + + + + + + + + + + +
Skip to content

バージョン

バージョンのインストール

shell
asdf install <name> <version>
+# asdf install erlang 17.3

プラグインが、ソースコードからのダウンロード・コンパイルをサポートしている場合、ref:fooの形式(fooは特定のブランチ、タグ、またはコミット)でバージョンを指定できます。アンインストールするときも、同じ名前とバージョンを指定する必要があります。

最新安定バージョンのインストール

shell
asdf install <name> latest
+# asdf install erlang latest

下記のように、特定のプレフィックスでの最新安定バージョンをインストールすることもできます。

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

インストール済みバージョン一覧

shell
asdf list <name>
+# asdf list erlang

下記のように、特定のプレフィックスでのバージョンでフィルタすることもできます。

shell
asdf list <name> <version>
+# asdf list erlang 17

インストール可能な全バージョン一覧

shell
asdf list all <name>
+# asdf list all erlang

下記のように、特定のプレフィックスでのバージョンでフィルタすることもできます。

shell
asdf list all <name> <version>
+# asdf list all erlang 17

最新安定バージョンの表示

shell
asdf latest <name>
+# asdf latest erlang

下記のように、特定のプレフィックスでの最新安定バージョンで表示することもできます。

shell
asdf latest <name> <version>
+# asdf latest erlang 17

カレントバージョンのセット

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

globalの場合、バージョンは$HOME/.tool-versionsファイルに書き込まれます。

shellの場合、バージョンはASDF_${TOOL}_VERSIONという環境変数に設定され、現在のシェルセッションでのみ有効となります。

localの場合、バージョンは$PWD/.tool-versionsファイルに書き込まれます。存在しない場合は作成されます。

.tool-versionsファイルについて詳しくは、構成設定のリファレンスをご覧ください。

代替手段

現在のシェルセッションでのみバージョンを設定したい場合、 または、特定のツールバージョンでコマンドを実行するだけのためにバージョンを設定したい場合は、 ASDF_${TOOL}_VERSIONという環境変数で設定することができます。

下記の例では、バージョン1.4.0のElixirプロジェクトに対して、テストを実行させています。 バージョンの表記形式は、.tool-versionsファイルでサポートされているものと同じです。

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

システムバージョンへの委任

asdfで管理されているバージョンではなく、<name>で指定されたツールのシステムバージョンを使用するには、バージョンとしてsystemを指定します。

カレントバージョンのセットと同様の方法で、globallocal、またはshellのいずれかにsystemをセットしてください。

shell
asdf local <name> system
+# asdf local python system

カレントバージョンの表示

shell
asdf current
+# asdf current
+# erlang          17.3          /Users/kim/.tool-versions
+# nodejs          6.11.5        /Users/kim/cool-node-project/.tool-versions
+
+asdf current <name>
+# asdf current erlang
+# erlang          17.3          /Users/kim/.tool-versions

バージョンのアンインストール

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

asdfがパッケージをインストールすると、そのパッケージに含まれるすべての実行プログラムのShimが$ASDF_DATA_DIR/shimsディレクトリ(デフォルトは~/.asdf/shims)に作成されます。このディレクトリが(asdf.shasdf.fishなどによって)$PATHに設定されることで、インストールされているプログラムが当該環境で利用できるようになります。

Shim自体は非常に単純なラッパーであり、asdf execというヘルパープログラムに、プラグイン名と、Shimがラップしているインストール済みパッケージの実行ファイルのパスを渡して、execします。

asdf execヘルパーは、使用するパッケージのバージョン(.tool-versionsファイルで指定されたもの、またはasdf local ...asdf global ...で指定されたもの)、パッケージのインストールディレクトリにある実行ファイルの完全パス(プラグインのexec-pathコールバックで操作可能)、および実行環境(プラグインのexec-envスクリプトで提供)を決定し、実行します。

備考

本システムはexec呼び出しを使用するため、シェルによってsourceされるパッケージ内のスクリプトは、Shimラッパーを経由させずに直接アクセスする必要があります。asdfで用意されているwhichおよびwhereコマンドは、下記のように、インストールされたパッケージへのパスを返すため、この状況を解決するのに役立ちます:

shell
# returns path to main executable in current version
+source $(asdf which ${PLUGIN})/../script.sh
+
+# returns path to the package installation directory
+source $(asdf where ${PLUGIN})/bin/script.sh

asdfのShimのバイパス

何らかの理由でasdfのShimをバイパスしたい場合や、プロジェクトのディレクトリに移動した際に自動的に環境変数を設定したい場合は、asdf-direnvプラグインが役に立ちます。詳細はREADMEをご確認ください。

+ + + + \ No newline at end of file diff --git a/ja-jp/more/community-projects.html b/ja-jp/more/community-projects.html new file mode 100644 index 00000000..d3321541 --- /dev/null +++ b/ja-jp/more/community-projects.html @@ -0,0 +1,24 @@ + + + + + + コミュニティプロジェクト | asdf + + + + + + + + + + + + + +
Skip to content

コミュニティプロジェクト

asdfに関連するコミュニティプロジェクトをいくつか紹介します:

  • asdf-community: asdfプラグインの長期的なメンテナンスを目的とした コミュニティ主導の共同プロジェクトです。
  • asdf dev container: GitHub Codespacesでasdfによるツール管理をサポートする、 GitHub Dev Container です。

備考

asdfコアチームは、これらのプロジェクトやコードを所有していません。 asdfコアでは、ここに掲載されているものに関連する品質やセキュリティについては責任を負いません。

+ + + + \ No newline at end of file diff --git a/ja-jp/more/faq.html b/ja-jp/more/faq.html new file mode 100644 index 00000000..f9687ba6 --- /dev/null +++ b/ja-jp/more/faq.html @@ -0,0 +1,24 @@ + + + + + + FAQ | asdf + + + + + + + + + + + + + +
Skip to content

FAQ

ここでは、asdfに関するよくある質問を紹介します。

WSL1をサポートしていますか?

WSL1 (Windows Subsystem for Linux 1)は公式にはサポートしていません。asdfは正常に動作しない可能性があります。WSL1を公式にサポートする予定はありません。

WSL2をサポートしていますか?

WSL2 (Windows Subsystem for Linux 2)では、あなたが選択したWSLディストリビューションに基づいて、セットアップと依存関係の解決を済ませれば、動作するはずです。

重要なのは、WSL2が正常に動作するのは、カレントワークディレクトリがWindowsドライブではなくUnixドライブである場合に 限られる ということです。

GitHub Actionsでホストランナーのサポートが可能になれば、WSL2でテストスイートを実行する予定ですが、現時点ではそうではないようです。

新しくインストールした実行ファイルが実行できないのですが?

npm install -g yarnを実行したにも関わらず、yarnが実行できません。どうなっているの?

asdfShimを使って実行ファイルを管理しています。プラグインによってインストールされるものは、自動的にShimが作成されますが、asdfが管理しているツールによって実行ファイルがインストールされた場合は、Shimを作成しなければならないということをasdfに通知する必要があります。上記の例では、YarnのShimを作成しなければいけません。詳しくは、asdf reshimコマンドのドキュメントをご覧ください。

シェルが、新しくインストールされたShimを検知してくれないのですが?

asdf reshimコマンドを実行しても問題が解決しない場合、asdf.shasdf.fishのsourceが、シェルの構成ファイル(.bash_profile.zshrcconfig.fishなど)の一番下にないことが原因である可能性があります。$PATHを設定した、そしてフレームワーク(oh-my-zshなど)を使用しているのれあればそれをsourceしたに、sourceする必要があります。

+ + + + \ No newline at end of file diff --git a/ja-jp/more/thanks.html b/ja-jp/more/thanks.html new file mode 100644 index 00000000..7ed4116f --- /dev/null +++ b/ja-jp/more/thanks.html @@ -0,0 +1,24 @@ + + + + + + 謝辞 | asdf + + + + + + + + + + + + + +
Skip to content

謝辞

このページを借りて、asdfのオーサーおよびコントリビューターの皆様に感謝を申し上げます!

クレジット

私 (@HashNuke)、高熱、風邪、咳。

コピーライト 2014年から今まで (MIT License)

メンテナー

コントリビューター

GitHubのコントリビューターリスト🙏をご覧ください。

+ + + + \ No newline at end of file diff --git a/ja-jp/plugins/create.html b/ja-jp/plugins/create.html new file mode 100644 index 00000000..03d2d909 --- /dev/null +++ b/ja-jp/plugins/create.html @@ -0,0 +1,82 @@ + + + + + + プラグインの作成 | asdf + + + + + + + + + + + + + +
Skip to content

プラグインの作成

プラグインとは、 言語/ツールのバージョン管理をサポートするための実行スクリプトを含めたGitリポジトリのことです。 これらのスクリプトは、asdf list-all <name>asdf install <name> <version>などの機能をサポートするコマンドを使って、 asdfによって実行されます。

クイックスタート

オリジナルのプラグインを作成するには、次の2つの方法があります:

  1. asdf-vm/asdf-plugin-templateリポジトリを使用し、 デフォルトのスクリプトが実装されたプラグインリポジトリ(名前はasdf-<tool_name>)を 生成 します。 生成できたら、 そのリポジトリをクローンしてsetup.bashのスクリプトを実行し、 テンプレートを対話的に更新していきます。
  2. asdf-<tool_name>という名前のリポジトリを自分で立ち上げ、 以降に記載されている必要なスクリプトを実装します。

プラグインスクリプトの鉄則

  • スクリプト内で他のasdfコマンドを呼び出してはいけません
  • シェルのツール/コマンドへの依存関係を小さく保つようにしてください。
  • 移植性のないツールやコマンドフラグの使用は避けてください。 例えば、sort -Vなどです。 asdfコアの禁止コマンド一覧もご覧ください。

スクリプトの概要

以下は、asdfから呼び出せるスクリプトの全リストです。

スクリプト説明
bin/list-all 必須インストール可能なすべてのバージョンをリストします。
bin/download 必須ツールの特定バージョンのソースコードまたはバイナリをダウンロードします。
bin/install 必須ツールの特定バージョンをインストールします。
bin/latest-stable 推奨指定されたツールの最新安定バージョンをリストします。
bin/help.overviewプラグインおよびツールに関する概要説明を出力します。
bin/help.depsオペレーティングシステムに合わせた依存関係のリストを出力します。
bin/help.configプラグインおよびツールの構成設定一覧を出力します。
bin/help.linksプラグインとツールに関連するリンクリストを出力します。
bin/list-bin-pathsShimを作成するバイナリが存在するディレクトリへの相対パスの一覧を出力します。
bin/exec-envツールのバイナリのShimを実行する前に環境を準備します。
bin/exec-pathツールの特定バージョンの実行ファイルパスを出力します。
bin/uninstallツールの特定バージョンをアンインストールします。
bin/list-legacy-filenames.ruby-versionのような、レガシー構成ファイルのリストを出力します。
bin/parse-legacy-fileレガシーバージョンファイルのカスタムパーサーです。
bin/post-plugin-addプラグインが追加された後に実行されるフックです。
bin/post-plugin-updateプラグインが更新された後に実行されるフックです。
bin/pre-plugin-removeプラグインが削除される前に実行されるフックです。

どのコマンドがどのスクリプトを呼び出すかについては、 各スクリプトの詳細なドキュメントを参照してください。

環境変数の概要

以下は、すべてのスクリプトで使用される環境変数の全リストです。

環境変数説明
ASDF_INSTALL_TYPEversionまたはrefです。
ASDF_INSTALL_VERSIONASDF_INSTALL_TYPEに応じてフルバージョンナンバーまたはGit Refの値が入ります。
ASDF_INSTALL_PATHツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
ASDF_CONCURRENCYソースコードのコンパイル時に使用するコア数です。make -jのようなフラグを設定する際に便利です。
ASDF_DOWNLOAD_PATHbin/downloadによってソースコードまたはバイナリがダウンロードされる場所へのパスです。
ASDF_PLUGIN_PATHプラグインがインストールされている場所へのパスです。
ASDF_PLUGIN_SOURCE_URLプラグインソースのURLです。
ASDF_PLUGIN_PREV_REFプラグインの以前のgit-refです。
ASDF_PLUGIN_POST_REF更新後のプラグインのgit-refです。
ASDF_CMD_FILEソースとなるファイルのフルパスに解決されます。

備考

すべてのスクリプトですべての環境変数が使用できるわけではありません。 以下の各スクリプトのドキュメントで、そのスクリプトで利用可能な環境変数を確認してください。

必須スクリプト

bin/list-all 必須

説明

インストール可能なすべてのバージョンをリストします。

出力フォーマット

スペース区切りのバージョンリストの文字列を出力する必要があります。例えば次のとおりです:

txt
1.0.1 1.0.2 1.3.0 1.4

最新バージョンが末尾にくる必要があります。

asdfコアは各バージョンを1行ずつ表示するため、 いくつかのバージョンは画面外にはみ出る場合があります。

並べ替え

ウェブサイト上のリリースページからバージョンを取得する場合、 提供されている順序は正しいリリース順となっていることが多いため、 そのままの順序を使用することを推奨します。 逆順にしたければ、tscをパイプで通すだけで十分です。

どうしても並べ替えが避けられない場合、sort -Vは移植性が無いため、次のいずれかの方法を使用することを推奨します:

スクリプトで使用できる環境変数

このスクリプトに環境変数は提供されません。

このスクリプトを呼び出すコマンド

  • asdf list all <name> [version]
  • asdf list all nodejs: このスクリプトで返されるすべてのバージョンを、 1行ずつリストします。
  • asdf list all nodejs 18: このスクリプトで返されるすべてのバージョンから、 18で始まるバージョンのみフィルタし、1行ずつリストします。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/list-all"

bin/download 必須

説明

ツールの特定バージョンのソースコードまたはバイナリを、指定された場所にダウンロードします。

実装内容

  • スクリプトは、ASDF_DOWNLOAD_PATHで指定されたディレクトリに、ソースコードまたはバイナリをダウンロードする必要があります。
  • 解凍されたソースコードまたはバイナリのみを、ASDF_DOWNLOAD_PATHディレクトリに配置する必要があります。
  • 失敗した場合、ASDF_DOWNLOAD_PATHディレクトリ内に何もファイルを配置しないようにしてください。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

レガシープラグイン

このスクリプトはすべてのプラグインで 必須 とされていますが、このスクリプトが導入される以前の"レガシー"プラグインでは、 オプション となっていました。

このスクリプトが存在しない場合、asdfはbin/installスクリプトがあると想定して、バージョンのダウンロード、かつ、インストールが実行されます。

レガシープラグインのサポートは最終的に削除される予定のため、今後作成するすべてのプラグインでこのスクリプトを含めるようにしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
  • ASDF_DOWNLOAD_PATH: ソースコードまたはバイナリのダウンロード先のパスです。

このスクリプトを呼び出すコマンド

  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: Node.jsのバージョン18.0.0のソースコードまたはバイナリをダウンロードし、ASDF_DOWNLOAD_PATHディレクトリに配置します。 そしてbin/installスクリプトを実行します。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}"/bin/download

bin/install 必須

説明

ツールの特定バージョンを指定された場所にインストールします。

実装内容

  • スクリプトは、指定されたバージョンをASDF_INSTALL_PATHのパスのディレクトリにインストールする必要があります。
  • Shimはデフォルトで、$ASDF_INSTALL_PATH/bin内にあるファイルに対して作成されます。 この動作は、オプションのbin/list-bin-pathsスクリプトでカスタマイズできます。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。
  • TOCTOU (Time-of-Check-to-Time-of-Use)の問題を避けるために、ツールのビルドとインストールが成功したとみなされた場合にのみ、ASDF_INSTALL_PATHにファイルを配置するようなスクリプトとしてください。

レガシープラグイン

bin/downloadスクリプトが存在しない場合、このスクリプトでは、指定されたバージョンをダウンロード、かつ、インストールをする必要があります。

0.7._以前と0.8._以降のasdfコアの互換性を保つために、ASDF_DOWNLOAD_PATH環境変数が設定されているかを確認してください。 設定されている場合は、bin/downloadスクリプトがすでにバージョンをダウンロードしていると想定し、設定されていない場合は、bin/installでソースコードをダウンロードするようにしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。
  • ASDF_CONCURRENCY: ソースコードのコンパイル時に使用するコア数です。make -jのようなフラグを設定する際に便利です。
  • ASDF_DOWNLOAD_PATH: ソースコードまたはバイナリのダウンロード先のパスです。

このスクリプトを呼び出すコマンド

  • asdf install
  • asdf install <tool>
  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: ASDF_INSTALL_PATHディレクトリに、 Node.jsのバージョン18.0.0をインストールします。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}"/bin/install

オプションスクリプト

bin/latest-stable 推奨

説明

ツールの最新安定バージョンを判定します。このスクリプトが存在しない場合、asdfコアはbin/list-allの出力をtailした結果をもとに判定しますが、ツールによってはこれが望ましくないことがあります。

実装内容

  • スクリプトは、ツールの最新安定バージョンを標準出力する必要があります。
  • 非安定版やリリース候補版は除外されるべきです。
  • フィルタクエリは、スクリプトの第1引数で提供されます。このクエリは、バージョン番号やツールプロバイダによる出力をフィルタするために使用されるべきです。
    • 例えば、rubyプラグインでのasdf list all rubyの出力は、jrubyrbxtrufflerubyなどの多くのプロバイダのRubyバージョンをリストアップします。ユーザが提供したフィルタは、セマンティックバージョンやプロバイダをフィルタするために、プラグインで使用できます。
      > asdf latest ruby
      +3.2.2
      +> asdf latest ruby 2
      +2.7.8
      +> asdf latest ruby truffleruby
      +truffleruby+graalvm-22.3.1
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf global <tool> latest: ツールのグローバルバージョンとして、当該ツールの最新安定バージョンにセットします。
  • asdf local <name> latest: ツールのローカルバージョンとして、当該ツールの最新安定バージョンにセットします。
  • asdf install <tool> latest: ツールの最新安定バージョンをインストールします。
  • asdf latest <tool> [<version>]: オプションのフィルタに基づいて、ツールの最新バージョンを出力します。
  • asdf latest --all: asdfによって管理されているすべてのツールの最新バージョンと、それらがインストールされているかどうかを出力します。

asdfからの呼び出しシグネチャ

このスクリプトは、フィルタクエリという1つの引数を受け取ります。

bash
"${plugin_path}"/bin/latest-stable "$query"

bin/help.overview

説明

プラグインおよび管理されているツールに関する概要説明を出力します。

実装内容

  • このスクリプトは、プラグインのヘルプを表示するために必要です。
  • ヘッダはasdfコア側で表示するため、スクリプト内では表示しないでください。
  • 自由な形式のテキストで出力して構いませんが、短い1段落程度の説明が理想です。
  • コアとなるasdf-vmドキュメントですでに説明されている情報は出力しないでください。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.overview

bin/help.deps

説明

オペレーティングシステムに合わせた依存関係のリストを出力します。依存関係を1行ごとに出力します。

bash
git
+curl
+sed

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.deps

bin/help.config

説明

プラグインおよびツールで設定必須または任意設定可能な構成設定一覧を出力します。例えば、ツールのインストール・コンパイルに必要な環境変数やその他フラグについて説明します。

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • 自由な形式のテキストで出力できます。
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.config

説明

プラグインとツールに関連するリンクリストを出力します。リンクを1行ごとに出力します。

bash
Git Repository:	https://github.com/vlang/v
+Documentation:	https://vlang.io

実装内容

  • このスクリプトの出力を考慮するために、bin/help.overviewを用意する必要があります。
  • リンクを1行ごとに出力してください。
  • 形式は以下のいずれかである必要があります:
    • <title>: <link>
    • または<link>のみ
  • オペレーティングシステムと、インストールされているツールのバージョンに合わせて出力を調整する必要があります(必要に応じて、ASDF_INSTALL_VERSIONおよびASDF_INSTALL_TYPE環境変数の値を使用してください)。
  • 成功した場合、終了コードは0としてください。
  • 失敗した場合、終了コードは非ゼロとしてください。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf help <name> [<version>]: プラグインおよびツールのドキュメントを出力します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}"/bin/help.links

bin/list-bin-paths

説明

ツールの特定バージョンにおける、実行ファイルが含まれるディレクトリの一覧を出力します。

実装内容

  • このスクリプトが存在しない場合、asdfは"${ASDF_INSTALL_PATH}"/binディレクトリ内にあるバイナリを探し、そのバイナリ向けのShimを作成します。
  • 実行ファイルが含まれるディレクトリのパスをスペース区切りで出力してください。
  • パスはASDF_INSTALL_PATHからの相対パスである必要があります。例えば、次のような出力となります:
bash
bin tools veggies

以上の場合、下記ディレクトリ内のファイルへのShimを作成するよう、asdfへ指示されます:

  • "${ASDF_INSTALL_PATH}"/bin
  • "${ASDF_INSTALL_PATH}"/tools
  • "${ASDF_INSTALL_PATH}"/veggies

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf install <tool> [version]: バイナリへのShimを初期作成します。
  • asdf reshim <tool> <version>: バイナリへのShimを再作成します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/list-bin-paths"

bin/exec-env

説明

ツールのバイナリのShimを実行する前に環境を準備します。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf which <command>: 実行ファイルのパスを表示します。
  • asdf exec <command> [args...]: 現在のバージョンでShimコマンドを実行します。
  • asdf env <command> [util]: Shimコマンドの実行時に使用される環境において、util(デフォルト: env)を実行します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/exec-env"

bin/exec-path

ツールの特定バージョンの実行ファイルパスを取得します。 実行ファイルへの相対パスを文字列で出力する必要があります。 これにより、プラグインはShimで指定された実行ファイルパスを条件付きで上書きして返すか、 そうでなければ、Shimで指定されたデフォルトのパスを返すことができます。

説明

ツールの特定バージョンの実行ファイルパスを取得します。

実装内容

  • 実行ファイルへの相対パスを文字列で出力する必要があります。
  • Shimで指定された実行ファイルパスを条件付きで上書きして返すか、そうでなければ、Shimで指定されたデフォルトのパスを返してください。
shell
Usage:
+  plugin/bin/exec-path <install-path> <command> <executable-path>
+
+Example Call:
+  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"
+
+Output:
+  bin/foox

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

  • asdf which <command>: 実行ファイルのパスを表示します。
  • asdf exec <command> [args...]: 現在のバージョンでShimコマンドを実行します。
  • asdf env <command> [util]: Shimコマンドの実行時に使用される環境において、util(デフォルト: env)を実行します。

asdfからの呼び出しシグネチャ

bash
"${plugin_path}/bin/exec-path" "$install_path" "$cmd" "$relative_path"

bin/uninstall

説明

ツールの特定バージョンをアンインストールします。

出力フォーマット

ユーザへの出力は、stdoutまたはstderrへ適切に送信してください。後続のコア実行によってこれらの出力が読み取られることはありません。

スクリプトで使用できる環境変数

このスクリプトに環境変数は提供されません。

このスクリプトを呼び出すコマンド

  • asdf list all <name> <version>
  • asdf uninstall nodejs 18.15.0: nodejsのバージョン18.15.0をアンインストールし、npm i -gでグローバルにインストールしたものを含むすべてのShimを削除します。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/uninstall"

bin/list-legacy-filenames

説明

ツールのバージョンを決定するために使用されるレガシー構成ファイルのリストを出力します。

実装内容

  • スペース区切りのファイル名リストを出力してください。
    bash
    .ruby-version .rvmrc
  • この内容は、"${HOME}"/.asdfrc内のlegacy_version_fileオプションを有効にしたユーザにのみ適用されます。

スクリプトで使用できる環境変数

  • ASDF_INSTALL_TYPE: versionまたはrefです。
  • ASDF_INSTALL_VERSION:
    • ASDF_INSTALL_TYPE=versionの場合、バージョンのフルナンバーです。
    • ASDF_INSTALL_TYPE=refの場合、Gitのref (tag/commit/branch)です。
  • ASDF_INSTALL_PATH: ツールがインストール されている 場所、またはインストール されるべき 場所へのパスです。

このスクリプトを呼び出すコマンド

ツールのバージョンを読み込むすべてのコマンドから呼び出されます。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/list-legacy-filenames"

bin/parse-legacy-file

説明

asdfによって発見されたレガシーファイルをパースして、ツールのバージョンを決定します。JavaScriptのpackage.jsonや、Go言語のgo.modのようなファイルから、バージョン番号を抽出するのに役立ちます。

実装内容

  • このスクリプトが存在しない場合、asdfは単純にレガシーファイルをcatしてバージョンを決定します。
  • 決定論的で、常に正確で同じバージョンを返す必要があります:
    • 同じレガシーファイルを解析したら、同じバージョンを返すようにしてください。
    • マシンに何がインストールされているか、また、レガシーバージョンが有効で完全かどうかは関係ありません。一部のレガシーファイルのフォーマットは適切でないときもあります。
  • 下記のように、バージョン番号を1行で出力してください:
    bash
    1.2.3

スクリプトで使用できる環境変数

このスクリプトが呼び出される前に、環境変数が設定されることはありません。

このスクリプトを呼び出すコマンド

ツールのバージョンを読み込むすべてのコマンドから呼び出されます。

asdfからの呼び出しシグネチャ

このスクリプトは、レガシーファイルの内容を読み込むために、レガシーファイルのパスという1つの引数を受け取ります。

bash
"${plugin_path}/bin/parse-legacy-file" "$file_path"

bin/post-plugin-add

説明

このスクリプトは、asdfのasdf plugin add <tool>コマンドで、プラグインが 追加 された 後に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。
  • ASDF_PLUGIN_SOURCE_URL: プラグインソースのURLです。ローカルディレクトリパスを指定することもできます。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/post-plugin-add"

bin/post-plugin-update

説明

このスクリプトは、asdfのasdf plugin update <tool> [<git-ref>]コマンドで、 更新 されたプラグインがダウンロードされた 後に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_updated
  • pre_asdf_plugin_updated_${plugin_name}
  • post_asdf_plugin_updated
  • post_asdf_plugin_updated_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。
  • ASDF_PLUGIN_PREV_REF: プラグインの以前のgit-refです。
  • ASDF_PLUGIN_POST_REF: 更新後のプラグインのgit-refです。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/post-plugin-update"

bin/pre-plugin-remove

説明

このスクリプトは、asdfのasdf plugin remove <tool>コマンドで、プラグインが 削除 される 前に 呼び出されます。

関連するコマンドフックについても参照してください:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_${plugin_name}

スクリプトで使用できる環境変数

  • ASDF_PLUGIN_PATH: プラグインがインストールされている場所へのパスです。

asdfからの呼び出しシグネチャ

引数はありません。

bash
"${plugin_path}/bin/pre-plugin-remove"

asdf CLIの拡張コマンド 高度

プラグイン名をサブコマンドとして使用し、 asdfコマンドラインインターフェースを通して呼び出すことのできるlib/commands/command*.bashスクリプトまたは実行ファイルを用意することで、 新しいasdfコマンドを定義することができます。

例えば、fooというプラグインがあるとすると:

shell
foo/
+  lib/commands/
+    command.bash
+    command-bat.bash
+    command-bat-man.bash
+    command-help.bash

ユーザは下記コマンドが実行できるようになります:

shell
$ asdf foo         # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash`
+$ asdf foo bar     # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar`
+$ asdf foo help    # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash`
+$ asdf foo bat man # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash`
+$ asdf foo bat baz # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz`

プラグイン開発者はこの機能を使って、ツールに関連するユーティリティを提供したり、 asdf自体のコマンド拡張プラグインを作成したりすることができます。

実行可能ビット(executable bit)が付与されている場合、 asdfの実行に代わって、当該スクリプトが実行されます。

実行可能ビット(executable bit)が付与されていない場合、asdfは当該スクリプトをBashスクリプトとしてsourceします。

$ASDF_CMD_FILE環境変数は、ソースとなるファイルのフルパスに解決されます。

haxeは、 この機能使ったプラグインの素晴らしい例です。 このプラグインは、asdf haxe neko-dylibs-linkを提供しており、 Haxeの実行ファイルが実行ディレクトリから相対的に動的ライブラリを見つけようとしてしまう問題を修正します。

プラグインのREADMEには、asdf拡張コマンドに関することを必ず記載するようにしてください。

カスタムShimテンプレート 高度

警告

どうしても必要な場合にのみ使用してください。

asdfでは、カスタムShimテンプレートを使用することができます。 fooという実行ファイルに対して、プラグイン内にshims/fooファイルが存在すれば、 asdfは標準Shimテンプレートを使用する代わりに、そのファイルをコピーします。

この機能は賢く使う必要があります。

asdfコアチームが把握している限り、 この機能は公式プラグインであるElixirプラグインでのみ使用されています。 実行ファイルは、実行ファイルであると同時に、Elixirファイルとしても読み込まれます。 そのため、標準的なBashのShimを使用できないのです。

テスト

asdfでは、プラグインをテストするためのplugin-testコマンドを用意しており、下記のように使用できます:

shell
asdf plugin test <plugin_name> <plugin_url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git_ref>] [test_command...]
  • <plugin_name><plugin_url>は必須です。
  • オプションで[--asdf-tool-version <version>]を指定すると、そのバージョンのツールがインストールされます。 デフォルトは、asdf latest <plugin-name>です。
  • オプションで[--asdf-plugin-gitref <git_ref>]を指定すると、 そのコミット/ブランチ/タグでプラグイン自体をチェックアウトします。 これは、プラグインのCIにおいて、プルリクエストをテストする際に便利です。
  • オプションの[test_command...]パラメータは、インストールしたツールが正しく動作するかを確認するために実行するコマンドです。 通常は、<tool> --versionまたは<tool> --helpとなります。 例えば、NodeJSプラグインをテストするときは、次のように実行します:
    shell
    # asdf plugin test <plugin_name>  <plugin_url>                               [test_command]
    +  asdf plugin test nodejs         https://github.com/asdf-vm/asdf-nodejs.git node --version

備考

LinuxとmacOSの両方のCI環境でテストすることを推奨します。

GitHub Action

asdf-vm/actionsリポジトリでは、 GitHub上でホストされているプラグインをテストするためのGitHub Actionを提供しています。 `.github/workflows/test.yamlのActionsワークフローの例は以下のとおりです:

yaml
name: Test
+on:
+  push:
+    branches:
+      - main
+  pull_request:
+
+jobs:
+  plugin_test:
+    name: asdf plugin test
+    strategy:
+      matrix:
+        os:
+          - ubuntu-latest
+          - macos-latest
+    runs-on: ${{ matrix.os }}
+    steps:
+      - name: asdf_plugin_test
+        uses: asdf-vm/actions/plugin-test@v2
+        with:
+          command: "<MY_TOOL> --version"

TravisCI 構成設定

以下は、.travis.ymlファイルの例です。必要に応じてカスタマイズしてください:

yaml
language: c
+script: asdf plugin test <MY_TOOL> $TRAVIS_BUILD_DIR '<MY_TOOL> --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

備考

他のCIを使用する場合、 プラグインの場所への相対パスを渡す必要がある場合があります:

shell
asdf plugin test <tool_name> <path> '<tool_command> --version'

APIレート制限

bin/list-allbin/latest-stableのように、コマンドが外部APIへのアクセスに依存している場合、 自動テスト中にレート制限が発生することがあります。 これを軽減するため、環境変数経由で認証トークンを提供するコードパスがあることを確認してください。 以下に例を示します:

shell
cmd="curl --silent"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

GITHUB_API_TOKEN

GITHUB_API_TOKENを利用する際は、 まず、 public_repoアクセスのみをもつ新しいパーソナルトークンを作成してください。

次に、このトークンをCIパイプライン環境変数に追加してください。

警告

認証トークンをコードリポジトリで公開してはいけません。

プラグインショートネームインデックス

ヒント

推奨されるプラグインのインストール方法は、URLをもとに直接インストールする方法です:

shell
# asdf plugin add <name> <git_url>
+  asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

asdfの各種コマンドでgit_urlが指定されなかった場合、 asdfは正確なgit_urlを決定するために、 ショートネームインデックスリポジトリを使用します。

このリポジトリの指示に従うことで、 あなたが作成したプラグインを、 ショートネームインデックスに追加することができます。

+ + + + \ No newline at end of file diff --git a/manage/commands.html b/manage/commands.html new file mode 100644 index 00000000..8fdc8daf --- /dev/null +++ b/manage/commands.html @@ -0,0 +1,89 @@ + + + + + + All Commands | asdf + + + + + + + + + + + + + +
Skip to content

All Commands

The list of all commands available in asdf. This list is the asdf help command text.

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        `ASDF_${LANG}_VERSION` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: `env`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
+ + + + \ No newline at end of file diff --git a/manage/configuration.html b/manage/configuration.html new file mode 100644 index 00000000..56072ea2 --- /dev/null +++ b/manage/configuration.html @@ -0,0 +1,32 @@ + + + + + + Configuration | asdf + + + + + + + + + + + + + +
Skip to content

Configuration

Configuration of asdf encompasses both the sharable .tool-versions files as well as user specific customisations with .asdfrc and Environment Variables.

.tool-versions

Whenever .tool-versions file is present in a directory, the tool versions it declares will be used in that directory and any subdirectories.

Note

Global defaults can be set in the file $HOME/.tool-versions

This is what a .tool-versions file looks like:

ruby 2.5.3
+nodejs 10.15.0

You can also include comments:

ruby 2.5.3 # This is a comment
+# This is another comment
+nodejs 10.15.0

The versions can be in the following format:

  • 10.15.0 - an actual version. Plugins that support downloading binaries, will download binaries.
  • ref:v1.0.2-a or ref:39cb398vb39 - tag/commit/branch to download from github and compile
  • path:~/src/elixir - a path to custom compiled version of a tool to use. For use by language developers and such.
  • system - this keyword causes asdf to passthrough to the version of the tool on the system that is not managed by asdf.

TIP

Multiple versions can be set by separating them with a space. For example, to use Python 3.7.2, fallback to Python 2.7.15 and finally to the system Python, the following line can be added to .tool-versions.

python 3.7.2 2.7.15 system

To install all the tools defined in a .tool-versions file run asdf install with no other arguments in the directory containing the .tool-versions file.

To install a single tool defined in a .tool-versions file run asdf install <name> in the directory containing the .tool-versions file. The tool will be installed at the version specified in the .tool-versions file.

Edit the file directly or use asdf local (or asdf global) which updates it.

.asdfrc

The .asdfrc file defines the user's machine specific configuration.

${HOME}/.asdfrc is the default location used by asdf. This can be set with the Environment Variable ASDF_CONFIG_FILE.

The below file shows the required format with the default values:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

Plugins with support can read the versions files used by other version managers, for example, .ruby-version in the case of Ruby's rbenv.

OptionsDescription
no defaultUse .tool-versions to read versions
yesUse plugin fallback to legacy version files (.ruby-version) if available

use_release_candidates

Configure the asdf update command to upgrade to the latest Release Candidate instead of the latest Semantic Version.

OptionsDescription
no defaultSemantic Version is used
yesRelease Candidate is used

always_keep_download

Configure the asdf install command to keep or delete the source code or binary it downloads.

OptionsDescription
no defaultDelete source code or binary after successful install
yesKeep source code or binary after install

plugin_repository_last_check_duration

Configure the duration (in minutes) between asdf plugin repository syncs. Trigger events result in a check of the duration. If more time has elapsed since the last sync than specified in the duration, a new sync occurs.

OptionsDescription
integer in range 1 to 999999999
60 is default
Sync on trigger event if duration (in minutes) since last sync has been exceeded
0Sync on each trigger event
neverNever sync

Sync events occur when the following commands are executed:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url> does NOT trigger a plugin sync.

Note

Setting the value to never does not stop the plugin repository from being initially synced, for that behaviour see disable_plugin_short_name_repository.

disable_plugin_short_name_repository

Disable synchronization of the asdf plugin short-name repository. Sync events will exit early if the short-name repository is disabled.

OptionsDescription
no defaultClone or update the asdf plugin repository on sync events
yesDisable the plugin short-name repository

Sync events occur when the following commands are executed:

  • asdf plugin add <name>
  • asdf plugin list all

asdf plugin add <name> <git-url> does NOT trigger a plugin sync.

Note

Disabling the plugin short-name repository does not remove the repository if it has already synced. Remove the plugin repo with rm --recursive --trash $ASDF_DATA_DIR/repository.

Disabling the plugin short-name repository does not remove plugins previously installed from this source. Plugins can be removed with asdf plugin remove <name>. Removing a plugin will remove all installed versions of the managed tool.

concurrency

The default number of cores to use during compilation.

OptionsDescription
integerNumber of cores to use when compiling the source code
autoCalculate the number of cores using nproc, then sysctl hw.ncpu, then /proc/cpuinfo or else 1

Note: the environment variable ASDF_CONCURRENCY take precedence if set.

Plugin Hooks

It is possible to execute custom code:

  • Before or after a plugin is installed, reshimed, updated, or uninstalled
  • Before or after a plugin command is executed

For example, if a plugin called foo is installed and provides a bar executable, then the following hooks can be used to execute custom code first:

text
pre_foo_bar = echo Executing with args: $@

The following patterns are supported:

  • pre_<plugin_name>_<command>
  • pre_asdf_download_<plugin_name>
  • {pre,post}_asdf_{install,reshim,uninstall}_<plugin_name>
    • $1: full version
  • {pre,post}_asdf_plugin_{add,update,remove,reshim}
    • $1: plugin name
  • {pre,post}_asdf_plugin_{add,update,remove}_<plugin_name>

See Create a Plugin for specifics on what command hooks are ran before or after what commands.

Environment Variables

Setting environment variables varies depending on your system and Shell. Default locations depend upon your installation location and method (Git clone, Homebrew, AUR).

Environment variables should generally be set before sourcing asdf.sh/asdf.fish etc. For Elvish set above use asdf.

The following describe usage with a Bash Shell.

ASDF_CONFIG_FILE

Path to the .asdfrc configuration file. Can be set to any location. Must be an absolute path.

  • If Unset: $HOME/.asdfrc will be used.
  • Usage: export ASDF_CONFIG_FILE=/home/john_doe/.config/asdf/.asdfrc

ASDF_DEFAULT_TOOL_VERSIONS_FILENAME

The filename of the file storing the tool names and versions. Can be any valid filename. Typically, you should not set this value unless you want to ignore .tool-versions files.

  • If Unset: .tool-versions will be used.
  • Usage: export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=tool_versions

ASDF_DIR

The location of asdf core scripts. Can be set to any location. Must be an absolute path.

  • If Unset: the parent directory of the bin/asdf executable is used.
  • Usage: export ASDF_DIR=/home/john_doe/.config/asdf

ASDF_DATA_DIR

The location where asdf will install plugins, shims and tool versions. Can be set to any location. Must be an absolute path.

  • If Unset: $HOME/.asdf if it exists, or else the value of ASDF_DIR
  • Usage: export ASDF_DATA_DIR=/home/john_doe/.asdf

ASDF_CONCURRENCY

Number of cores to use when compiling the source code. If set, this value takes precedence over the asdf config concurrency value.

  • If Unset: the asdf config concurrency value is used.
  • Usage: export ASDF_CONCURRENCY=32

ASDF_FORCE_PREPEND

Whether or not to prepend the asdf shims and path directories to the front-most (highest-priority) part of the PATH.

  • If Unset: On macOS, defaults to yes; but on other systems, defaults to no
  • If yes: Force asdf directories to the front of the PATH
  • If set to any string other than yes: Do not force asdf directories to the front of the PATH
  • Usage: ASDF_FORCE_PREPEND=no . "<path-to-asdf-directory>/asdf.sh"

Full Configuration Example

Following a simple asdf setup with:

  • a Bash Shell
  • an installation location of $HOME/.asdf
  • installed via Git
  • NO environment variables set
  • NO custom .asdfrc file

would result in the following outcomes:

ConfigurationValueCalculated by
config file location$HOME/.asdfrcASDF_CONFIG_FILE is empty, so use $HOME/.asdfrc
default tool versions filename.tool-versionsASDF_DEFAULT_TOOL_VERSIONS_FILENAME is empty, so use .tool-versions
asdf dir$HOME/.asdfASDF_DIR is empty, so use parent dir of bin/asdf
asdf data dir$HOME/.asdfASDF_DATA_DIR is empty so use $HOME/.asdf as $HOME exists.
concurrencyautoASDF_CONCURRENCY is empty, so rely on concurrency value from the default configuration
legacy_version_filenoNo custom .asdfrc, so use the default configuration
use_release_candidatesnoNo custom .asdfrc, so use the default configuration
always_keep_downloadnoNo custom .asdfrc, so use the default configuration
plugin_repository_last_check_duration60No custom .asdfrc, so use the default configuration
disable_plugin_short_name_repositorynoNo custom .asdfrc, so use the default configuration

Internal Configuration

Users should not worry about this section as it describes configuration internal to asdf useful for Package Managers and integrators.

  • $ASDF_DIR/asdf_updates_disabled: Updates via the asdf update command are disabled when this file is present (content irrelevant). This is used by package managers like Pacman or Homebrew to ensure the correct update method is used for the particular installation.
+ + + + \ No newline at end of file diff --git a/manage/core.html b/manage/core.html new file mode 100644 index 00000000..a8f666e5 --- /dev/null +++ b/manage/core.html @@ -0,0 +1,41 @@ + + + + + + Core | asdf + + + + + + + + + + + + + +
Skip to content

Core

The core asdf command list is rather small, but can facilitate many workflows.

Installation & Setup

Covered in the Getting Started guide.

Exec

shell
asdf exec <command> [args...]

Executes the command shim for the current version.

Env

shell
asdf env <command> [util]

Info

shell
asdf info

A helper command to print the OS, Shell and asdf debug information. Share this when making a bug report.

Reshim

shell
asdf reshim <name> <version>

This recreates the shims for the current version of a package. By default, shims are created by plugins during installation of a tool. Some tools like the npm CLI allow global installation of executables, for example, installing Yarn via npm install -g yarn. Since this executable was not installed via the plugin lifecycle, no shim exists for it yet. asdf reshim nodejs <version> will force recalculation of shims for any new executables, like yarn, for <version> of nodejs .

Shim-versions

shell
asdf shim-versions <command>

Lists the plugins and versions that provide shims for a command.

As an example, Node.js ships with two executables, node and npm. When many versions of the tools are installed with asdf-nodejs shim-versions can return:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

Update

asdf has a built in command to update which relies on Git (our recommended installation method). If you installed using a different method you should follow the steps for that method:

MethodLatest Stable ReleaseLatest commit on master
asdf (via Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
PacmanDownload a new PKGBUILD & rebuild
or use your preferred AUR helper

Uninstall

To uninstall asdf follow these steps:

Bash & Git
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. In your ~/.bash_profile remove the lines that source asdf.sh and the completions:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

Completions may have been configured as per Homebrew's instructions so follow their guide to find out what to remove.

  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

If using macOS Catalina or newer, the default shell has changed to ZSH. If you can't find any config in your ~/.bash_profile it may be in a ~/.zshrc in which case please follow the ZSH instructions.

  1. In your ~/.bash_profile remove the lines that source asdf.sh and the completions:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

Completions may have been configured as per Homebrew's instructions so follow their guide to find out what to remove.

  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. In your ~/.bashrc remove the lines that source asdf.sh and the completions:
shell
. /opt/asdf-vm/asdf.sh
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source ~/.asdf/asdf.fish

and remove completions with this command:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. Remove the $HOME/.asdf dir:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. In your ~/.config/fish/config.fish remove the lines that source asdf.fish:
shell
source /opt/asdf-vm/asdf.fish
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Remove the $HOME/.asdf dir:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. In your ~/.config/elvish/rc.elv remove the lines that use the asdf module:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

and uninstall the asdf module with this command:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. In your ~/.zshrc remove the lines that source asdf.sh and completions:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

OR the ZSH Framework plugin if used.

  1. Remove the $HOME/.asdf dir:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. In your ~/.zshrc remove the lines that source asdf.sh:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. Uninstall with your package manager:
shell
brew uninstall asdf --force && brew autoremove
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. In your ~/.zshrc remove the lines that source asdf.sh:
shell
. /opt/asdf-vm/asdf.sh
  1. Uninstall with your package manager:
shell
pacman -Rs asdf-vm
  1. Remove the $HOME/.asdf dir:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Run this command to remove all asdf config files:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

That's it! 🎉

+ + + + \ No newline at end of file diff --git a/manage/plugins.html b/manage/plugins.html new file mode 100644 index 00000000..be59f0da --- /dev/null +++ b/manage/plugins.html @@ -0,0 +1,34 @@ + + + + + + Plugins | asdf + + + + + + + + + + + + + +
Skip to content

Plugins

Plugins are how asdf knows to handle different tools like Node.js, Ruby, Elixir etc.

See Creating Plugins for the plugin API used to support more tools.

Add

Add plugins via their Git URL:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

or via the short-name association in the plugins repository:

shell
asdf plugin add <name>
+# asdf plugin add erlang

Recommendation

Prefer the longer git-url method as it is independent of the short-name repo.

List Installed

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

List All in Short-name Repository

shell
asdf plugin list all

See Plugins Shortname Index for the entire short-name list of plugins.

Update

shell
asdf plugin update --all

If you want to update a specific package, just say so.

shell
asdf plugin update <name>
+# asdf plugin update erlang

This update will fetch the latest commit on the default branch of the origin of the plugin repository. Versioned plugins and updates are currently being developed (#916)

Remove

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

Removing a plugin will remove all installations of the tool made with the plugin. This can be used as a shorthand for cleaning/pruning many unused versions of a tool.

Syncing the asdf Short-name Repository

The short-name repo is synced to your local machine and periodically refreshed. This method to determine a sync is as follows:

  • sync events are triggered by commands:
    • asdf plugin add <name>
    • asdf plugin list all
  • if configuration option disable_plugin_short_name_repository is set to yes, then sync is aborted early. See the asdf config docs for more.
  • if there has not been a synchronization in the last X minutes then the sync will occur.
    • X defaults to 60, but can be configured in your .asdfrc via the plugin_repository_last_check_duration option. See the asdf config docs for more.
+ + + + \ No newline at end of file diff --git a/manage/versions.html b/manage/versions.html new file mode 100644 index 00000000..f1e3d5a7 --- /dev/null +++ b/manage/versions.html @@ -0,0 +1,53 @@ + + + + + + Versions | asdf + + + + + + + + + + + + + +
Skip to content

Versions

Install Version

shell
asdf install <name> <version>
+# asdf install erlang 17.3

If a plugin supports downloading & compiling from source, you can specify ref:foo where foo is a specific branch, tag, or commit. You'll need to use the same name and reference when uninstalling too.

Install Latest Stable Version

shell
asdf install <name> latest
+# asdf install erlang latest

Install latest stable version that begins with a given string.

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

List Installed Versions

shell
asdf list <name>
+# asdf list erlang

Filter versions to those that begin with a given string.

shell
asdf list <name> <version>
+# asdf list erlang 17

List All Available Versions

shell
asdf list all <name>
+# asdf list all erlang

Filter versions to those that begin with a given string.

shell
asdf list all <name> <version>
+# asdf list all erlang 17

Show Latest Stable Version

shell
asdf latest <name>
+# asdf latest erlang

Show latest stable version that begins with a given string.

shell
asdf latest <name> <version>
+# asdf latest erlang 17

Set Current Version

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global writes the version to $HOME/.tool-versions.

shell set the version to an environment variable named ASDF_${TOOL}_VERSION, for the current shell session only.

local writes the version to $PWD/.tool-versions, creating it if needed.

See the .tool-versions file in the Configuration section for details.

Alternatively

If you want to set a version only for the current shell session or for executing just a command under a particular tool version, you can set an environment variable like ASDF_${TOOL}_VERSION.

The following example runs tests on an Elixir project with version 1.4.0. The version format is the same supported by the .tool-versions file.

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

Fallback to System Version

To use the system version of tool <name> instead of an asdf managed version you can set the version for the tool to system.

Set system with either global, local or shell as outlined in Set Current Version section above.

shell
asdf local <name> system
+# asdf local python system

View Current Version

shell
asdf current
+# asdf current
+# erlang          17.3          /Users/kim/.tool-versions
+# nodejs          6.11.5        /Users/kim/cool-node-project/.tool-versions
+
+asdf current <name>
+# asdf current erlang
+# erlang          17.3          /Users/kim/.tool-versions

Uninstall Version

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

When asdf installs a package it creates shims for every executable program in that package in a $ASDF_DATA_DIR/shims directory (default ~/.asdf/shims). This directory being on the $PATH (by means of asdf.sh, asdf.fish, etc) is how the installed programs are made available in the environment.

The shims themselves are really simple wrappers that exec a helper program asdf exec passing it the name of the plugin and path to the executable in the installed package that the shim is wrapping.

The asdf exec helper determines the version of the package to use (as specified in .tool-versions file, selected by asdf local ... or asdf global ...), the final path to the executable in the package installation directory (this can be manipulated by the exec-path callback in the plugin) and the environment to execute in (also provided by the plugin - exec-env script), and finally it executes it.

Note

Because this system uses exec calls, any scripts in the package that are meant to be sourced by the shell instead of executed need to be accessed directly instead of via the shim wrapper. The two asdf commands: which and where can help with this by returning the path to the installed package:

shell
# returns path to main executable in current version
+source $(asdf which ${PLUGIN})/../script.sh
+
+# returns path to the package installation directory
+source $(asdf where ${PLUGIN})/bin/script.sh

By-passing asdf shims

If for some reason you want to by-pass asdf shims or want your environment variables automatically set upon entering your project's directory, the asdf-direnv plugin can be helpful. Be sure to check its README for more details.

+ + + + \ No newline at end of file diff --git a/more/community-projects.html b/more/community-projects.html new file mode 100644 index 00000000..d9e5ab37 --- /dev/null +++ b/more/community-projects.html @@ -0,0 +1,24 @@ + + + + + + Community Projects | asdf + + + + + + + + + + + + + +
Skip to content

Community Projects

Here are some community projects related to asdf:

Note

asdf core team do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

+ + + + \ No newline at end of file diff --git a/more/faq.html b/more/faq.html new file mode 100644 index 00000000..e9df9d35 --- /dev/null +++ b/more/faq.html @@ -0,0 +1,24 @@ + + + + + + FAQ | asdf + + + + + + + + + + + + + +
Skip to content

FAQ

Here are some common questions regarding asdf.

WSL1 support?

WSL1 (Windows Subsystem for Linux 1) is not officially supported. Some aspects of asdf may not work properly. We do not intend to add official support for WSL1.

WSL2 support?

WSL2 (Windows Subsystem for Linux 2) should work using the setup & dependency instructions for you chosen WSL distro.

Importantly, WSL2 is only expected to work properly when the current working directory is a Unix drive and not a bound Windows drive.

We intend to run out test suite on WSL2 when host runner support is available on GitHub Actions, currently this does not appear to be the case.

Newly installed executable not running?

I just npm install -g yarn, but cannot execute yarn. What gives?

asdf uses shims to manage executables. Those installed by plugins have shims automatically created, whereas installing executables via an asdf managed tool will require you to notify asdf of the need to create shims. In this instance, to create a shim for Yarn. See the asdf reshim command docs.

Shell not detecting newly installed shims?

If asdf reshim is not resolving your issue, then it is most-likely due to the sourcing of asdf.sh or asdf.fish not being at the BOTTOM of your Shell config file (.bash_profile, .zshrc, config.fish etc). It needs to be sourced AFTER you have set your $PATH and AFTER you have sourced your framework (oh-my-zsh etc) if any.

+ + + + \ No newline at end of file diff --git a/more/thanks.html b/more/thanks.html new file mode 100644 index 00000000..167f7b40 --- /dev/null +++ b/more/thanks.html @@ -0,0 +1,24 @@ + + + + + + Thanks | asdf + + + + + + + + + + + + + +
Skip to content

Thanks

Thank you page to the asdf authors & contributors!

Credits

Me (@HashNuke), High-fever, cold, cough.

Copyright 2014 to the end of time (MIT License)

Maintainers

Contributors

See the list of contributors 🙏 on GitHub

+ + + + \ No newline at end of file diff --git a/plugins/create.html b/plugins/create.html new file mode 100644 index 00000000..8259536b --- /dev/null +++ b/plugins/create.html @@ -0,0 +1,82 @@ + + + + + + Create a Plugin | asdf + + + + + + + + + + + + + +
Skip to content

Create a Plugin

A plugin is a Git repo with some executable scripts to support versioning a language / tool. These scripts are run by asdf using specific commands to support features such as asdf list-all <name>, asdf install <name> <version> etc.

Quickstart

There are two options to get started with creating your own plugin:

  1. use the asdf-vm/asdf-plugin-template repository to generate a plugin repo (named asdf-<tool_name>) with default scripts implemented. Once generated, clone the repo and run the setup.bash script to interactively update the template.
  2. start your own repo called asdf-<tool_name> and implement the required scripts as listed in the documentation below.

Golden Rules for Plugin Scripts

  • scripts should NOT call other asdf commands
  • keep your dependency list of Shell tools/commands small
  • avoid non-portable tools or command flags. For example, sort -V. See our asdf core list of banned commands

Scripts Overview

The full list of scripts callable from asdf.

ScriptDescription
bin/list-all requiredList all installable versions
bin/download requiredDownload source code or binary for the specified version
bin/install requiredInstalls the specified version
bin/latest-stable recommendedList the latest stable version of the specified tool
bin/help.overviewOutput a general description about the plugin & tool
bin/help.depsOutput a list of dependencies per Operating System
bin/help.configOutput plugin or tool configuration information
bin/help.linksOutput a list of links for the plugin or tool
bin/list-bin-pathsList relative paths to directories with binaries to create shims
bin/exec-envPrepare the environment for running the binaries
bin/exec-pathOutput the executable path for a version of a tool
bin/uninstallUninstall a specific version of a tool
bin/list-legacy-filenamesOutput filenames of legacy version files: .ruby-version
bin/parse-legacy-fileCustom parser for legacy version files
bin/post-plugin-addHook to execute after a plugin has been added
bin/post-plugin-updateHook to execute after a plugin has been updated
bin/pre-plugin-removeHook to execute before a plugin is removed

To see which commands invoke which scripts, see the detailed documentation for each script.

Environment Variables Overview

The full list of Environment Variables used throughout all scripts.

Environment VariablesDescription
ASDF_INSTALL_TYPEversion or ref
ASDF_INSTALL_VERSIONfull version number or Git Ref depending on ASDF_INSTALL_TYPE
ASDF_INSTALL_PATHthe path to where the tool should, or has been installed
ASDF_CONCURRENCYthe number of cores to use when compiling the source code. Useful for setting make -j
ASDF_DOWNLOAD_PATHthe path to where the source code or binary was downloaded to by bin/download
ASDF_PLUGIN_PATHthe path the plugin was installed
ASDF_PLUGIN_SOURCE_URLthe source URL of the plugin
ASDF_PLUGIN_PREV_REFprevous git-ref of the plugin repo
ASDF_PLUGIN_POST_REFupdated git-ref of the plugin repo
ASDF_CMD_FILEresolves to the full path of the file being sourced

NOTE

Not all environment variables are available in all scripts. Check the documentation for each script below to see which env vars are available to it.

Required Scripts

bin/list-all required

Description

List all installable versions.

Output Format

Must print a string with a space-separated list of versions. For example:

txt
1.0.1 1.0.2 1.3.0 1.4

Newest version should be last.

asdf core will print each version on its own line, potentially pushing some versions offscreen.

Sorting

If versions are being pulled from releases page on a website it's recommended to leave the versions in the provided order as they are often already in the correct order. If they are in reverse order piping them through tac should suffice.

If sorting is unavoidable, sort -V is not portable, so we suggest either:

Environment Variables available to script

No environment variables are provided to this script.

Commands that invoke this script

  • asdf list all <name> [version]
  • asdf list all nodejs: lists all versions as returned by this script, one on each line.
  • asdf list all nodejs 18: lists all versions as returned by this script, one on each line, with a filter matching any version beginning with 18 applied.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/list-all"

bin/download required

Description

Download the source code or binary for a specific version of a tool to a specified location.

Implementation Details

  • The script must download the source or binary to the directory specified by ASDF_DOWNLOAD_PATH.
  • Only the decompressed source code or binary should be placed in the ASDF_DOWNLOAD_PATH directory.
  • On failure, no files should be placed in ASDF_DOWNLOAD_PATH.
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Legacy Plugins

Though this script is marked as required for all plugins, it is optional for "legacy" plugins which predate its introduction.

If this script is absent, asdf will assume that the bin/install script is present and will download and install the version.

All plugins must include this script as support for legacy plugins will eventually be removed.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.
  • ASDF_DOWNLOAD_PATH: The path to where the source code or binary was downloaded to.

Commands that invoke this script

  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: downloads the source code or binary for Node.js version 18.0.0 and places it in the ASDF_DOWNLOAD_PATH directory. Then runs the bin/install script.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}"/bin/download

bin/install required

Description

Install a specific version of a tool to a specified location.

Implementation Details

  • The script should install the specified version in the path ASDF_INSTALL_PATH.
  • Shims will be created by default for any files in $ASDF_INSTALL_PATH/bin. This behaviour can be customised with the optional bin/list-bin-paths script.
  • Success should exit with 0.
  • Failure should exit with a non-zero status.
  • To avoid TOCTOU (Time-of-Check-to-Time-of-Use) issues, ensure the script only places files in ASDF_INSTALL_PATH once the build and installation of the tool is deemed a success.

Legacy Plugins

If the bin/download script is absent, this script should download and install the specified version.

For compatibility with versions of the asdf core earlier than 0.7._ and newer than 0.8._, check for the presence of the ASDF_DOWNLOAD_PATH environment variable. If set, assume the bin/download script already downloaded the version, else download the source code in the bin/install script.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.
  • ASDF_CONCURRENCY: The number of cores to use when compiling source code. Useful for setting flags like make -j.
  • ASDF_DOWNLOAD_PATH: The path where the source code or binary was downloaded to.

Commands that invoke this script

  • asdf install
  • asdf install <tool>
  • asdf install <tool> [version]
  • asdf install <tool> latest[:version]
  • asdf install nodejs 18.0.0: installs Node.js version 18.0.0 in the ASDF_INSTALL_PATH directory.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}"/bin/install

Optional Scripts

bin/latest-stable recommended

Description

Determine the latest stable version of a tool. If absent, the asdf core will tail the bin/list-all output which may be undesirable.

Implementation Details

  • The script should print the latest stable version of the tool to stdout.
  • Non-stable or release candidate versions should be omitted.
  • A filter query is provided as the first argument to the script. This should be used to filter the output by version number or tool provider.
    • For instance, the output of asdf list all ruby from the ruby plugin lists versions of Ruby from many providers: jruby, rbx & truffleruby amongst others. The user provided filter could be used by the plugin to filter the semver versions and/or provider.
      > asdf latest ruby
      +3.2.2
      +> asdf latest ruby 2
      +2.7.8
      +> asdf latest ruby truffleruby
      +truffleruby+graalvm-22.3.1
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf global <tool> latest: set the global version of a tool to the latest stable version for that tool.
  • asdf local <name> latest: set the local version of a tool to the latest stable version for that tool.
  • asdf install <tool> latest: installs the latest version of a tool.
  • asdf latest <tool> [<version>]: outputs the latest version of a tool based on the optional filter.
  • asdf latest --all: outputs the latest version of all tools managed by asdf and whether they are installed.

Call signature from asdf core

The script should accept a single argument, the filter query.

bash
"${plugin_path}"/bin/latest-stable "$query"

bin/help.overview

Description

Output a general description about the plugin and the tool being managed.

Implementation Details

  • This script is required for any help output to be displayed for the plugin.
  • No heading should be printed as asdf core will print headings.
  • Output may be free-form text but ideally only one short paragraph.
  • Must not output any information that is already covered in the core asdf-vm documentation.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.overview

bin/help.deps

Description

Output the list of dependencies tailored to the operating system. One dependency per line.

bash
git
+curl
+sed

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.deps

bin/help.config

Description

Output any required or optional configuration for the plugin and tool. For example, describe any environment variables or other flags needed to install or compile the tool.

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • Output can be free-form text.
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.config

Description

Output a list of links relevant to the plugin and tool. One link per line.

bash
Git Repository:	https://github.com/vlang/v
+Documentation:	https://vlang.io

Implementation Details

  • This script requires bin/help.overview for its output to be considered.
  • One link per line.
  • Format must be either:
    • <title>: <link>
    • or just <link>
  • Should be tailored to the Operating System and version of the tool being installed (using optionally set Environment Variables ASDF_INSTALL_VERSION and ASDF_INSTALL_TYPE).
  • Success should exit with 0.
  • Failure should exit with a non-zero status.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf help <name> [<version>]: Output documentation for plugin and tool

Call signature from asdf core

bash
"${plugin_path}"/bin/help.links

bin/list-bin-paths

Description

List directories containing executables for the specified version of the tool.

Implementation Details

  • If this script is not present, asdf will look for binaries in the "${ASDF_INSTALL_PATH}"/bin directory & create shims for those.
  • Output a space-separated list of paths containing executables.
  • Paths must be relative to ASDF_INSTALL_PATH. Example output would be:
bash
bin tools veggies

This will instruct asdf to create shims for the files in:

  • "${ASDF_INSTALL_PATH}"/bin
  • "${ASDF_INSTALL_PATH}"/tools
  • "${ASDF_INSTALL_PATH}"/veggies

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf install <tool> [version]: initially create shims for binaries.
  • asdf reshim <tool> <version>: recreate shims for binaries.

Call signature from asdf core

bash
"${plugin_path}/bin/list-bin-paths"

bin/exec-env

Description

Prepare the environment before executing the shims for the binaries for the tool.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf which <command>: Display the path to an executable
  • asdf exec <command> [args...]: Executes the command shim for current version
  • asdf env <command> [util]: Runs util (default: env) inside the environment used for command shim execution.

Call signature from asdf core

bash
"${plugin_path}/bin/exec-env"

bin/exec-path

Get the executable path for the specified version of the tool. Must print a string with the relative executable path. This allows the plugin to conditionally override the shim's specified executable path, otherwise return the default path specified by the shim.

Description

Get the executable path for the specified version of the tool.

Implementation Details

  • Must print a string with the relative executable path.
  • Conditionally override the shim's specified executable path, otherwise return the default path specified by the shim.
shell
Usage:
+  plugin/bin/exec-path <install-path> <command> <executable-path>
+
+Example Call:
+  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"
+
+Output:
+  bin/foox

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

  • asdf which <command>: Display the path to an executable
  • asdf exec <command> [args...]: Executes the command shim for current version
  • asdf env <command> [util]: Runs util (default: env) inside the environment used for command shim execution.

Call signature from asdf core

bash
"${plugin_path}/bin/exec-path" "$install_path" "$cmd" "$relative_path"

bin/uninstall

Description

Uninstall the provided version of a tool.

Output Format

Output should be sent to stdout or stderr as appropriate for the user. No output is read by subsequent execution in the core.

Environment Variables available to script

No environment variables are provided to this script.

Commands that invoke this script

  • asdf list all <name> <version>
  • asdf uninstall nodejs 18.15.0: Uninstalls the version 18.15.0 of nodejs, removing all shims including those installed global with npm i -g

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/uninstall"

bin/list-legacy-filenames

Description

List legacy configuration filenames for determining the specified version of the tool.

Implementation Details

  • Output a space-separated list of filenames.
    bash
    .ruby-version .rvmrc
  • Only applies for users who have enabled the legacy_version_file option in their "${HOME}"/.asdfrc.

Environment Variables available to script

  • ASDF_INSTALL_TYPE: version or ref
  • ASDF_INSTALL_VERSION:
    • Full version number if ASDF_INSTALL_TYPE=version.
    • Git ref (tag/commit/branch) if ASDF_INSTALL_TYPE=ref.
  • ASDF_INSTALL_PATH: The path to where the tool has been, or should be installed.

Commands that invoke this script

Any command which reads a tool version.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/list-legacy-filenames"

bin/parse-legacy-file

Description

Parse the legacy file found by asdf to determine the version of the tool. Useful to extract version numbers from files like JavaScript's package.json or Golangs go.mod.

Implementation Details

  • If not present, asdf will simply cat the legacy file to determine the version.
  • Should be deterministic and always return the same exact version:
    • when parsing the same legacy file.
    • regardless of what is installed on the machine or whether the legacy version is valid or complete. Some legacy file formats may not be suitable.
  • Output a single line with the version:
    bash
    1.2.3

Environment Variables available to script

No environment variables specifically set before this script is called.

Commands that invoke this script

Any command which reads a tool version.

Call signature from asdf core

The script should accept a single argument, the path to the legacy file for reading its contents.

bash
"${plugin_path}/bin/parse-legacy-file" "$file_path"

bin/post-plugin-add

Description

Execute this callback script after the plugin has been added to asdf with asdf plugin add <tool>.

See also the related command hooks:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.
  • ASDF_PLUGIN_SOURCE_URL: URL of the plugin source. Can be a local directory path.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/post-plugin-add"

bin/post-plugin-update

Description

Execute this callback script after asdf has downloaded the update plugin with asdf plugin update <tool> [<git-ref>].

See also the related command hooks:

  • pre_asdf_plugin_update
  • pre_asdf_plugin_update_${plugin_name}
  • post_asdf_plugin_update
  • post_asdf_plugin_update_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.
  • ASDF_PLUGIN_PREV_REF: the plugin's previous git-ref
  • ASDF_PLUGIN_POST_REF: the plugin's updated git-ref

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/post-plugin-update"

bin/pre-plugin-remove

Description

Execute this callback script before asdf has removed the plugin with asdf plugin remove <tool>.

See also the related command hooks:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_${plugin_name}

Environment Variables available to script

  • ASDF_PLUGIN_PATH: path where the plugin was installed.

Call signature from asdf core

No parameters provided.

bash
"${plugin_path}/bin/pre-plugin-remove"

Extension Commands for asdf CLI advanced

It's possible for plugins to define new asdf commands by providing lib/commands/command*.bash scripts or executables that will be callable using the asdf command line interface by using the plugin name as a subcommand.

For example, suppose a foo plugin has:

shell
foo/
+  lib/commands/
+    command.bash
+    command-bat.bash
+    command-bat-man.bash
+    command-help.bash

Users can now execute:

shell
$ asdf foo         # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash`
+$ asdf foo bar     # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar`
+$ asdf foo help    # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash`
+$ asdf foo bat man # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash`
+$ asdf foo bat baz # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz`

Plugin authors can use this feature to provide utilities related to their tools, or even create plugins that are just new command extensions of asdf itself.

If the executable bit is set, the script is executed, replacing the asdf execution.

If the executable bit is not set, asdf will source the scripts as Bash scripts.

$ASDF_CMD_FILE resolves to the full path of the file being sourced.

haxe is a great example of a plugin which uses this feature. It provides the asdf haxe neko-dylibs-link to fix an issue where Haxe executables expect to find dynamic libraries relative to the executable directory.

Be sure to list your asdf Extension Commands in your plugins README.

Custom Shim Templates advanced

WARNING

Please only use if absolutely required

asdf allows custom shim templates. For an executable called foo, if there's a shims/foo file in the plugin, then asdf will copy that file instead of using its standard shim template.

This must be used wisely.

As far as the asdf core team is aware, this feature is only in use in the first-party Elixir plugin. This is because an executable is also read as an Elixir file in addition to being an executable. This makes it not possible to use the standard Bash shim.

Testing

asdf contains the plugin-test command to test your plugin:

shell
asdf plugin test <plugin_name> <plugin_url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git_ref>] [test_command...]
  • <plugin_name> & <plugin_url> are required
  • If optional [--asdf-tool-version <version>] is specified, the tool will be installed with that specific version. Defaults to asdf latest <plugin-name>
  • If optional [--asdf-plugin-gitref <git_ref>] is specified, the plugin itself is checked out at that commit/branch/tag. This is useful for testing a pull-request on your plugin's CI. Defaults to the default branch of the plugin's repository.
  • Optional parameter [test_command...] is the command to execute to validate the installed tool works correctly. Typically <tool> --version or <tool> --help. For example, to test the NodeJS plugin, we could run
    shell
    # asdf plugin test <plugin_name>  <plugin_url>                               [test_command]
    +  asdf plugin test nodejs         https://github.com/asdf-vm/asdf-nodejs.git node --version

Note

We recommend testing in both Linux & macOS CI environments

GitHub Action

The asdf-vm/actions repo provides a GitHub Action for testing your plugins hosted on GitHub. A sample .github/workflows/test.yaml Actions Workflow:

yaml
name: Test
+on:
+  push:
+    branches:
+      - main
+  pull_request:
+
+jobs:
+  plugin_test:
+    name: asdf plugin test
+    strategy:
+      matrix:
+        os:
+          - ubuntu-latest
+          - macos-latest
+    runs-on: ${{ matrix.os }}
+    steps:
+      - name: asdf_plugin_test
+        uses: asdf-vm/actions/plugin-test@v2
+        with:
+          command: "<MY_TOOL> --version"

TravisCI Config

A sample .travis.yml file, customize it to your needs

yaml
language: c
+script: asdf plugin test <MY_TOOL> $TRAVIS_BUILD_DIR '<MY_TOOL> --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

NOTE

When using another CI you may need to pass a relative path to the plugin location:

shell
asdf plugin test <tool_name> <path> '<tool_command> --version'

API Rate Limiting

If a command depends on accessing an external API, like bin/list-all or bin/latest-stable, it may experience rate limiting during automated testing. To mitigate this, ensure there is a code-path which provides an authentication token via an environment variable. For example:

shell
cmd="curl --silent"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

GITHUB_API_TOKEN

To utilise the GITHUB_API_TOKEN, create a new personal token with only public_repo access.

Then add this to your CI pipeline environment variables.

WARNING

NEVER publish your authentication tokens in your code repository

Plugin Shortname Index

TIP

The recommended installation method for a plugin is via direct URL installation:

shell
# asdf plugin add <name> <git_url>
+  asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

If the git_url is not provided, asdf will use the Shortname Index repository to determine the exact git_url to use.

You can add your plugin to the Shortname Index by following the instructions in that repo.

+ + + + \ No newline at end of file diff --git a/pt-br/contribute/core.html b/pt-br/contribute/core.html new file mode 100644 index 00000000..dfdaa5a0 --- /dev/null +++ b/pt-br/contribute/core.html @@ -0,0 +1,48 @@ + + + + + + asdf + + + + + + + + + + + + + +
Skip to content

asdf

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

guia de contribuição principal asdf.

Configuração inicial

Fork asdf no GitHub e/ou Git clone o branch padrão:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

As ferramentas para o desenvolvimento do núcleo estão em .tool-versions deste repositório. Se você deseja gerenciar com o próprio asdf, adicione os plugins:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

Instale as versões para desenvolver asdf com:

shell
asdf install

pode ser útil não usar asdf para gerenciar as ferramentas durante o desenvolvimento em sua máquina local, pois você pode precisar quebrar funcionalidades que, então, quebrariam suas ferramentas de desenvolvimento. Aqui está a lista bruta de ferramentas:

  • bats-core: Bash Automated Testing System, para testes unitários de scripts compatíveis com Bash ou POSIX.
  • shellcheck: Ferramenta de análise estática para scripts de shell.
  • shfmt: Um analisador, formatador e interpretador de shell com suporte a bash; inclui shfmt

Desenvolvimento

Se você quiser testar suas alterações sem fazer alterações em seu asdf instalado, você pode definir a variável $ASDF_DIR para o caminho onde você clonou o repositório e anexar temporariamente o diretório bin e shims do diretório para o seu caminho.

É melhor formatar, lint e testar seu código localmente antes de confirmar ou enviar para o controle remoto. Use os seguintes scripts/comandos:

shell
# Shellcheck
+./scripts/shellcheck.bash
+
+# Format
+./scripts/shfmt.bash
+
+# Test: all tests
+bats test/
+# Test: for specific command
+bats test/list_commands.bash

TIP

Adicione testes! - Os testes são necessários para novos recursos e aceleram a revisão de correções de bugs. Por favor, cubra novos caminhos de código antes de criar um Pull Request. Consulte documentação do bats-core

Teste de BATS

É fortemente recomendado examinar o conjunto de testes existente e a documentação do bats-core antes de escrever os testes.

A depuração de BATs pode ser difícil às vezes. Usar a saída TAP com o sinalizador -t permitirá que você imprima saídas com o descritor de arquivo especial >&3 durante a execução do teste, simplificando a depuração. Como um exemplo:

shell
# test/some_tests.bats
+
+printf "%s\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\n" "Will be printed during bats -t test/some_tests.bats" >&3

Isso está documentado em bats-core Imprimindo no Terminal.

Pull Requests, Releases e Commits Convencionais

O asdf está usando uma ferramenta de lançamento automatizada chamada Release Please para aumentar automaticamente a versão SemVer e gerar a Changelog. Essas informações são determinadas lendo o histórico de confirmação desde a última versão.

Mensagens de confirmação convencionais definem o formato do título da solicitação pull que se torna o formato da mensagem de confirmação na ramificação padrão. Isso é aplicado com GitHub Action amannn/action-semantic-pull-request.

O Commit Convencional segue este formato:

<type>[optional scope][optional !]: <description>
+
+<!-- examples -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

A lista completa de <types> é: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.

O ! indica uma mudança de ruptura.

fix: will create a new SemVer patchfeat: will create a new SemVer minor<type>!: will create a new SemVer major

O título da solicitação pull deve seguir este formato.

TIP

Use o formato de mensagem de confirmação convencional para seu título de solicitação de pull.

Imagens Docker

Os projetos asdf-alpine e asdf-ubuntu são um esforço contínuo para fornecer imagens de algumas ferramentas asdf. Você pode usar essas imagens docker como base para seus servidores de desenvolvimento ou para executar seus aplicativos de produção.

+ + + + \ No newline at end of file diff --git a/pt-br/contribute/documentation.html b/pt-br/contribute/documentation.html new file mode 100644 index 00000000..3871f15d --- /dev/null +++ b/pt-br/contribute/documentation.html @@ -0,0 +1,52 @@ + + + + + + Docs & Site | asdf + + + + + + + + + + + + + +
Skip to content

Docs & Site

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Documentação e guia de contribuição do site.

Configuração inicial

Fork asdf no GitHub e/ou Git clone o branch padrão:

shell
# clone your fork
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# or clone asdf
+git clone https://github.com/asdf-vm/asdf.git

As ferramentas para desenvolvimento de sites Docs são gerenciadas com asdf em docs/.tool-versions. Adicione os plugins com:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

Instale a(s) versão(ões) da ferramenta com:

shell
asdf install
  • Node.js: tempo de execução JavaScript criado no mecanismo JavaScript V8 do Chrome.

Instale as dependências do Node.js do docs/package.json:

shell
npm install

Desenvolvimento

Vuepress (v2) é o Static Site Generator (SSG) que usamos para construir o site de documentação do asdf. Foi escolhido para substituir Docsify.js, pois gostaríamos de oferecer suporte a um substituto somente HTML quando os usuários não tiverem JavaScript disponível ou ativado. Isso não era possível com o Docsify. Fora isso, o conjunto de recursos é basicamente o mesmo, com foco em escrever arquivos Markdown com configuração mínima.

package.json contém os scripts necessários para o desenvolvimento:

@code json{3-5}

Para iniciar o servidor de desenvolvimento local:

shell
npm run dev

Formate o código antes de confirmar:

shell
npm run format

Pull Requests, Releases e Commits Convencionais

asdf está usando um pipeline de lançamento automatizado que depende de Commits Convencionais em títulos de PR. Documentação detalhada encontrada no guia de contribuição principal.

Ao criar um PR para alterações na documentação, por favor, faça o título do PR com o tipo de Commit Convencional docs no formato docs: <description>.

Vuepress

A configuração do site está contida em alguns arquivos JavaScript com objetos JS usados para representar a configuração. Eles estão:

  • docs/.vuepress/config.js: o arquivo de configuração raiz do site. Leia a documentação do Vuepress para obter as especificações.

Para simplificar a configuração raiz, os objetos JS maiores que representam a configuração navbar e sidebar foram extraídos e separados por sua localidade. Veja os dois em:

  • docs/.vuepress/navbar.js
  • docs/.vuepress/sidebar.js

Com a documentação oficial para essas configurações vivendo na Referência de tema padrão.

I18n

Vuepress tem suporte de primeira classe para internacionalização. O root config docs/.vuepress/config.js define os locais suportados com sua URL, título no menu suspenso de seleção e referências de configurações navbar/sidebar.

As configurações da barra de navegação/barra lateral são capturadas nos arquivos de configuração mencionados acima, separadas por localidade e exportadas individualmente.

O conteúdo de markdown para cada localidade deve estar em uma pasta com o mesmo nome das chaves para locales na configuração raiz. Isso é:

js
{
+  ...
+  themeConfig: {
+    locales: {
+      "/": {
+        selectLanguageName: "English (US)",
+        sidebar: sidebar.en,
+        navbar: navbar.en
+      },
+      "/pt-BR/": {
+        selectLanguageName: "Brazilian Portuguese",
+        sidebar: sidebar.pt_br,
+        navbar: navbar.pt_br
+      }
+    }
+  }
+}

/pt-BR/ exigirá o mesmo conjunto de arquivos markdown localizados em docs/pt-BR/, assim:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

A documentação oficial do Vuepress i18n entra em mais detalhes.

+ + + + \ No newline at end of file diff --git a/pt-br/contribute/first-party-plugins.html b/pt-br/contribute/first-party-plugins.html new file mode 100644 index 00000000..2d48f4b8 --- /dev/null +++ b/pt-br/contribute/first-party-plugins.html @@ -0,0 +1,24 @@ + + + + + + First-Party Plugins | asdf + + + + + + + + + + + + + +
Skip to content

First-Party Plugins

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A equipe principal do asdf criou alguns plugins relevantes para sua vida profissional diária. A ajuda é sempre bem-vinda na manutenção e melhoria desses plugins. Veja o repositório associado para cada link abaixo:

Para plugins da comunidade, consulte:

+ + + + \ No newline at end of file diff --git a/pt-br/contribute/github-actions.html b/pt-br/contribute/github-actions.html new file mode 100644 index 00000000..013d83a3 --- /dev/null +++ b/pt-br/contribute/github-actions.html @@ -0,0 +1,24 @@ + + + + + + GitHub Actions | asdf + + + + + + + + + + + + + +
Skip to content

GitHub Actions

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Obrigado pelo seu interesse, consulte o repositório de ações asdf para ver os problemas, conversas e diretrizes de contribuição existentes.

+ + + + \ No newline at end of file diff --git a/pt-br/guide/getting-started.html b/pt-br/guide/getting-started.html new file mode 100644 index 00000000..16794836 --- /dev/null +++ b/pt-br/guide/getting-started.html @@ -0,0 +1,36 @@ + + + + + + Começando | asdf + + + + + + + + + + + + + +
Skip to content

Começando

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A instalação do asdf envolve:

  1. Instalar as dependências
  2. Instalar o núcleo do asdf
  3. Adicionar o asdf ao seu shell
  4. Instalar um plugin para cada ferramenta que você gostaria de gerenciar
  5. Instalar uma versão desta ferramenta
  6. Definir uma versão global e uma versão local através do arquivo de configuração .tool-versions

Você pode também acompanhar o passo a passo da instalação através deste vídeo.

1. Instalando as dependências

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. Download asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. Adicionando ao seu shell

Existem diversas combinações de shells, sistemas operacionais e métodos de instalação que podem impactar a configuração. Abaixo, expanda a seção que se adeque mais com o seu sistema:

Bash & Git

Adicione esta linha ao seu ~/.bashrc:

shell
. "$HOME/.asdf/asdf.sh"

O auto completar deve ser configurado manualmente a partir da adição da seguinte linha ao .bashrc:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

Se você estiver usando o macOS Catalina ou mais recente, o shell padrão mudou para o ZSH. A não ser que você tenha voltado para o bash, siga as instruções de instalação para o ZSH.

Adicione esta linha ao seu ~/.bash_profile:

shell
. "$HOME/.asdf/asdf.sh"

O auto completar deve ser configurado manualmente a partir da adição da seguinte linha ao .bash_profile:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

Adicione asdf.sh ao ~/.bashrc através do comando:

shell
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bashrc

O auto completar deve ser configurado seguindo as instruções da Homebrew, ou as seguintes:

shell
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.bashrc
Bash & Homebrew (macOS)

Se você estiver usando o macOS Catalina ou mais recente, o shell padrão mudou para o ZSH. A não ser que você tenha voltado para o bash, siga as instruções de instalação para o ZSH.

Adicione asdf.sh ao ~/.bash_profile através do comando:

shell
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ~/.bash_profile

O auto completar deve ser configurado seguindo as instruções da Homebrew, ou as seguintes:

shell
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.bash_profile
Bash & Pacman

Adicione a seguinte linha ao seu ~/.bashrc:

shell
. /opt/asdf-vm/asdf.sh

O pacote bash-completion precisa ser instalado para o auto completar funcionar.

Fish & Git

Adicione a seguinte linha ao seu ~/.config/fish/config.fish:

shell
source ~/.asdf/asdf.fish

O auto completar deve ser configurado manualmente através do seguinte comando:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

Adicione asdf.fish ao seu ~/.config/fish/config.fish através do comando:

shell
echo -e "\nsource "(brew --prefix asdf)"/asdf.fish" >> ~/.config/fish/config.fish

O auto completar é configurado pela Homebrew para o fish shell.

Fish & Pacman

Adicione a seguinte linha ao seu ~/.config/fish/config.fish:

shell
source /opt/asdf-vm/asdf.fish

O auto completar é configurado automaticamente durante a instalação do pacote AUR.

Elvish & Git

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

Elvish & Homebrew

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

Elvish & Pacman

Adicione asdf.elv ao ~/.config/elvish/rc.elv através do comando:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

Ao concluir atualizará automaticamente

ZSH & Git

Adicione a seguinte linha ao seu ~/.zshrc:

shell
. "$HOME/.asdf/asdf.sh"

OU utilize um framework para ZSH, como asdf para oh-my-zsh que irá adicionar o script e o auto completar.

O auto completar pode ser configurado ou pelo plugin do asdf para framework para ZSH, ou através da adição das seguintes linhas ao seu .zshrc:

shell
# append completions to fpath
+fpath=(${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • Se você está utilizando uma configuração compinit customizada, garanta que compinit esteja abaixo chamada asdf.sh
  • Se você está utilizando uma configuração compinit customizada com um framework para ZSH, garanta que compinit esteja abaixo da chamada do framework.

Aviso

Se você está utilizando um framework para ZSH, o plugin do asdf pode precisar ser atualizado para utilização adequada do novo auto completar do ZSH através do fpath. O plugin do asdf para o oh-my-zsh ainda não foi atualizado, veja: ohmyzsh/ohmyzsh#8837.

ZSH & Homebrew

Adicione asdf.sh ao seu ~/.zshrc através do comando:

shell
echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc

OU utilize um framework para ZSH, como asdf para oh-my-zsh que irá adicionar o script e o auto completar.

O auto completar pode ser configurado ou pelo framework para ZSH, ou de acordo com as instruções da Homebrew. Se você está usando um framework para ZSH, pode ser que seja necessário atualizar o plugin do asdf para que o novo auto completar funcione adequadamente através do fpath. O plugin do asdf para o Oh-My-ZSH ainda será atualizado, veja: ohmyzsh/ohmyzsh#8837.

ZSH & Pacman

Adicione a seguinte linha ao seu ~/.zshrc:

shell
. /opt/asdf-vm/asdf.sh
PowerShell Core & Git

Adicione a seguinte linha ao seu ~/.config/powershell/profile.ps1:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

Adicione asdf.ps1 ao seu ~/.config/powershell/profile.ps1 através do comando:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.ps1\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

Adicione a seguinte linha ao seu ~/.config/powershell/profile.ps1:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

Ao concluir atualizará automaticamente

Nushell & Homebrew

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

Ao concluir atualizará automaticamente

Nushell & Pacman

Adicione asdf.nu ao seu ~/.config/nushell/config.nu através do comando:

shell
"\n$env.ASDF_DIR = '/opt/asdf-vm/'\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

Ao concluir atualizará automaticamente

POSIX Shell & Git

Adicione a seguinte linha ao seu ~/.profile:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

Adicione asdf.sh ao ~/.profile através do comando:

shell
echo -e "\nexport ASDF_DIR=\"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.profile
+echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.profile
POSIX Shell & Pacman

Adicione a seguinte linha ao seu ~/.profile:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

O auto completar é colocado em um local familiar para o ZSH, mas o ZSH deve ser configurado para conseguir utilizá-lo. :::

Os scripts do asdf precisam ser chamados depois de ter configurado a sua variável $PATH e depois de ter chamado o seu framework para ZSH (oh-my-zsh etc).

Reinicie seu shell para que as mudanças na variável PATH tenham efeito. Abrir uma nova janela/sessão de terminal o fará.

4. Instalando um plugin

Para demonstração, vamos instalar e configurar o Node.js através do plugin asdf-nodejs.

Dependências dos plugins

Cada plugin possui algumas dependências, por isso precisamos checar no repositório onde elas estão listadas. Por exemplo, para o asdf-nodejs são:

SOInstalação de dependencia
Linux (Debian)apt-get install dirmngr gpg curl gawk
macOSbrew install gpg gawk

Devemos instalar instalar as dependências primeiro, pois alguns plugins exigem algumas ações após a instalação.

Instalando o plugin

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. Instalando uma versão

Agora temos o plugin para o Node.js, nós podemos instalar uma versão desta ferramenta.

Podemos ver quais versões tão disponíveis através do comando asdf list all nodejs, ou uma lista específica de versões com asdf list all nodejs 14

Vamos instalar somente a última versão disponível, utilizando a tag latest:

shell
asdf install nodejs latest

Nota

asdf exige versões exatas. A palavra latest resulta na instalação da versão atual na data da execução.

6. Definindo uma versão

asdf executa uma verificação das versões das ferramentas a serem utilizadas através do arquivo .tool-versions presente desde diretório atual, até o diretório $HOME. A varredura ocorre no momento em que você executa uma ferramenta que o asdf gerencia.

WARNING

Se uma versão não for especificada para uma ferramenta, ao executá-la resultará em erro. asdf current mostrará a ferramenta e sua versão, ou então a falta dela no seu diretório atual para que você possa observar quais ferramentas falharão ao serem executadas.

Versões globais

Os padrões globais são gerenciados em $HOME/.tool-versions. Defina uma versão global através do comando:

shell
asdf global nodejs latest

$HOME/.tool-versions ficará assim:

nodejs 16.5.0

Alguns sistemas operacionais vêm por padrão com ferramentas que são gerenciadas pelo próprio sistema e não pelo asdf, python é um exemplo. Você precisa indicar para o asdf para devolver o gerenciamento para o sistema. A seção de referência de versões irá guiá-lo.

Versões locais

Versões locais são definidas no arquivo $PWD/.tool-versions (seu diretório atual). Geralmente, será um repositório Git para um projeto. Quando estiver no diretório desejado, execute:

shell
asdf local nodejs latest

$PWD/.tool-versions ficará assim:

nodejs 16.5.0

Usando arquivos de versão existentes

asdf suporta a migração de arquivos de versão provenientes de outros gerenciadores de versão. Por exemplo: .ruby-version para o rbenv. Essa funcionalidade é baseada no plugin de cada ferramenta.

O asdf-nodejs suporta tanto arquivos .nvmrc quanto .node-version. Para ativar essa funcionalidade, adicione a seguinte linha ao seu arquivo de configuração do asdf - $HOME/.asdfrc:

legacy_version_file = yes

Veja a página de refencia da configuração para mais opções de configuração.

Setup finalizado!

A configuração inicial do asdf foi finalizada 🎉. Agora, você pode gerenciar versões do nodejs para o seus projetos. Siga passos semelhantes para cada ferramenta do seu projeto.

O asdf possui diversos outros comandos para se acustomar ainda, você pode ver todos eles através do comando asdf --help ou simplesmente asdf. Eles estão divididos em três categorias:

+ + + + \ No newline at end of file diff --git a/pt-br/guide/introduction.html b/pt-br/guide/introduction.html new file mode 100644 index 00000000..cc47163e --- /dev/null +++ b/pt-br/guide/introduction.html @@ -0,0 +1,24 @@ + + + + + + Introdução | asdf + + + + + + + + + + + + + +
Skip to content

Introdução

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

O asdf é um gerenciador de versões. Todas as definições de versão das ferramentas estão contidas no arquivo (.tool-versions), o qual você pode compartilhar com o seu time no repositório Git de um projeto e garantir que todos estejam usando exatamente a mesma versão das ferramentas.

A maneira antiga de trabalhar necessitava diversos gerenciadores de versão, cada um deles com uma documentação, arquivos de configuração diferentes (manipulação do $PATH, shims e variáveis de ambiente, por exemplo). O asdf provê um único arquivo de configuração e uma única interface para simplificar o fluxo de desenvolvimento, podendo ser ampliado para todas as ferramentas através de um simples plugin.

Funcionamento

Após instalar e configurar o asdf no seu shell, plugins podem ser instalados para gerenciar determinadas ferramentas. Quando uma ferramenta é instalada por um plugin, os executáveis que foram instalados possuem shims criados para cada um deles. Quando você roda algum destes executáveis, o shim é executado, permitindo que o asdf identifique qual versão da ferramenta está configurada no arquivo .tool-versions e execute esta versão.

Projetos relacionados

nvm / n / rbenv etc

Ferramentas como o nvm, n e rbenv são escritas em shell scripts que criam shims para os executáveis instalados para essas ferramentas.

O asdf é bem similar e foi criado para competir neste meio de ferramentas de gerenciamento de versão. O grande diferencial do asdf é que seu sistema de plugins elimina a necessidade de um gerenciador de versões para cada ferramenta, esta com diferentes comandos e arquivos de configuração.

direnv

Aumenta os shells existentes com a possibilidade de utilizar diferentes variáveis de ambiente com base no diretório atual.

O asdf não gerencia variáveis de ambiente, entretanto existe o plugin asdf-direnv para integrar o comportamento do direnv ao asdf.

Veja a documentação do direnv para mais detalhes.

Homebrew

O gerenciador de pacotes faltante para o macOS (ou Linux)

O Homebrew gerencia seus pacotes e dependências destes pacotes. O asdf não gerencia dependencias, não é um gerenciador de pacotes, a escolha do gerenciador de pacotes é reservada ao usuário.

Veja a documentação do Homebrew para mais detalhes.

NixOS

O Nix é uma ferramenta que relaciona o gerenciamento de pacotes e as configurações de sistema.

O NixOS visa construir ambientes verdadeiramente replicáveis através da gerência das versões exatas dos pacotes e dependências de cada ferramenta, algo que o asdf não faz. O NixOS faz isso através da sua própria linguagem de programação, muitas ferramentas da linha de comando e uma coleção de pacotes contendo mais de 60,000 destes.

Novamente, o asdf não gerencia dependências/pacotes e não é um gerenciador de pacotes.

Veja a documentação do NixOS para mais detalhes.

Por que usar o asdf?

O asdf garante que equipes utilizem exatamente a mesma versão de alguma ferramenta, com suporte para diversas delas através do sistema de plugins e a simplicidade e familiaridade de ser um único shell script que você inclui na configuração do seu shell

Nota

O asdf não foi feito para ser o gerenciador de pacotes do seu sistema, mas sim uma ferramenta para gerenciar versões de outras ferramentas. Não é por que é possível criar um plugin para qualquer ferramenta/linguagem com o asdf que esta sempre será a solução mais adequada.

+ + + + \ No newline at end of file diff --git a/pt-br/index.html b/pt-br/index.html new file mode 100644 index 00000000..e859ba54 --- /dev/null +++ b/pt-br/index.html @@ -0,0 +1,24 @@ + + + + + + asdf + + + + + + + + + + + + + +
Skip to content

asdf

O Gerenciador de Múltiplas Versões de Tempo de Execução

Gerencie todas as suas versões de tempo de execução com uma ferramenta!

+ + + + \ No newline at end of file diff --git a/pt-br/manage/commands.html b/pt-br/manage/commands.html new file mode 100644 index 00000000..fa6e05d4 --- /dev/null +++ b/pt-br/manage/commands.html @@ -0,0 +1,89 @@ + + + + + + All Commands | asdf + + + + + + + + + + + + + +
Skip to content

All Commands

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A lista de todos os comandos disponíveis em asdf. Esta lista é o texto do comando asdf help.

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        `ASDF_${LANG}_VERSION` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: `env`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
+ + + + \ No newline at end of file diff --git a/pt-br/manage/configuration.html b/pt-br/manage/configuration.html new file mode 100644 index 00000000..842bb7c6 --- /dev/null +++ b/pt-br/manage/configuration.html @@ -0,0 +1,25 @@ + + + + + + Configuration | asdf + + + + + + + + + + + + + +
Skip to content

Configuration

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A configuração do asdf abrange tanto os arquivos .tool-versions compartilháveis quanto as personalizações específicas do usuário com .asdfrc e variáveis de ambiente.

.tool-versions

Sempre que o arquivo .tool-versions estiver presente em um diretório, as versões da ferramenta que ele declara serão usadas nesse diretório e em seus subdiretórios.

Configurações globais podem ser modificadas no arquivo $HOME/.tool-versions

O arquivo .tool-versions se parece assim:

ruby 2.5.3
+nodejs 10.15.0

As versões podem estar no seguinte formato:

  • 10.15.0 - uma versão real. Os plugins que suportam o download de binários farão o download de binários.
  • ref:v1.0.2-a ou ref:39cb398vb39 - tag/commit/branch para download pelo github e compilação um path costumizado e compi
  • path:~/src/elixir - um path para uma versão compilada e personalizada de uma ferramenta pronta para usar. Para uso por linguagens de desenvolvimento e outros.
  • system - faz com que asdf passe para a versão da ferramenta no sistema que não é gerenciada por asdf .

Várias versões podem ser definidas, separando-as com um espaço. Por exemplo, para usar Python 3.7.2, e também Python 2.7.15, use a linha abaixo em seu arquivo .tool-versions.

python 3.7.2 2.7.15 system

Para instalar todas as ferramentas definidas em .tool-versions, execute o camando asdf install sem argumentos no mesmo diretório de .tool-versions.

Para isntalar somente uma ferramenta definida em .tool-versions, execute o camando asdf install sem argumentos no mesmo diretório de .tool-versions. A ferramenta será instalada na versão especificada no arquivo .tool-versions.

Edite o arquivo diretamente no diretório ou use asdf local (ou asdf global) para atualiza-lo.

$HOME/.asdfrc

Adicione um arquivo .asdfrc ao seu diretório home e asdf usará as configurações especificadas no arquivo. O arquivo deve ser formatado assim:

legacy_version_file = yes

Configurações

  • legacy_version_file - por padrão é no. Se definido como yes, fará com que os plug-ins que suportam esse recurso leiam os arquivos de versão usados por outros gerenciadores de versão (por exemplo, .ruby-version no caso do rbenv do Ruby).

  • use_release_candidates - por padrão é no. Se definido como yes, fará com que o comando asdf update atualize para o mais recente em vez da versão semântica mais recente.

  • always_keep_download - por padrão é no. Se definido como yes, fará com que o asdf install sempre mantenha o código-fonte ou binário baixado. Se definido como no, o código fonte ou binário baixado por asdf install será excluído após a instalação bem sucedida.

  • plugin_repository_last_check_duration - por padrão é 60 min (1 hrs). Ele define a duração da última verificação do repositório de plugins asdf. Quando o comando asdf plugin add <nome>, asdf plugin list all for executado, ele verificará a duração da última atualização para atualizar o repositório. Se definido como 0, ele atualizará o repositório de plugins asdf todas as vezes.

Variáveis de ambiente

  • ASDF_CONFIG_FILE - O padrão é ~ /.asdfrc conforme descrito acima. Pode ser definido para qualquer local.
  • ASDF_DEFAULT_TOOL_VERSIONS_FILENAME - O nome do arquivo que armazena os nomes e versões das ferramentas. O padrão é .tool-versions. Pode ser qualquer nome de arquivo válido. Normalmente você não deve substituir o valor padrão, a menos que deseja que o asdf ignore os arquivos .tool-versions.
  • ASDF_DIR - O padrão é ~/.asdf - Localização dos arquivos asdf. Se você instalar asdf em algum outro diretório, defina-o para esse diretório. Por exemplo, se você estiver instalando através do AUR, você deve definir isso para /opt/asdf-vm.
  • ASDF_DATA_DIR - O padrão é ~/.asdf - Local onde asdf instala plugins, correções e instalações. Pode ser definido para qualquer local antes de fornecer asdf.sh ou asdf.fish mencionado na seção acima. Para Elvish, isso pode ser definido acima de use asdf.
+ + + + \ No newline at end of file diff --git a/pt-br/manage/core.html b/pt-br/manage/core.html new file mode 100644 index 00000000..0a734147 --- /dev/null +++ b/pt-br/manage/core.html @@ -0,0 +1,41 @@ + + + + + + Core | asdf + + + + + + + + + + + + + +
Skip to content

Core

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

A lista de comandos do núcleo asdf é bastante pequena, mas pode facilitar muitos fluxos de trabalho.

Instalação e configuração

Baseado no Guia de Introdução.

Execute

shell
asdf exec <command> [args...]

Executa o comando shim para a versão atual

Variável de Ambiente

shell
asdf env <command> [util]

Informações

shell
asdf info

Um comando auxiliar para imprimir as informações de depuração do SO, Shell e asdf. Compartilhe isso ao fazer um relatório de bug.

Reshim

shell
asdf reshim <name> <version>

Isso recria os shims para a versão atual de um pacote. Por padrão, os calços são criados por plugins durante a instalação de uma ferramenta. Algumas ferramentas como a npm CLI permitem a instalação global de executáveis, por exemplo, instalando Yarn via npm install -g fio. Como este executável não foi instalado por meio do ciclo de vida do plug-in, ainda não existe shim para ele. asdf reshim nodejs <version> forçará o recálculo de shims para quaisquer novos executáveis, como yarn, para <version> de nodejs.

Versionamento do Shim

shell
asdf shim-versions <command>

Lista os plugins e versões que fornecem shims para um comando.

Como exemplo, o Node.js vem com dois executáveis, node e npm. Quando muitas versões das ferramentas são instaladas com asdf-nodejs shim-versions pode retornar:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

Atualizar

asdf tem um comando embutido para atualização que depende do Git (nosso método de instalação recomendado). Se você instalou usando um método diferente, siga as etapas para esse método:

MethodLatest Stable ReleaseLatest commit on master
asdf (via Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
PacmanObter manualmente um novo PKGBUILD e
reconstruir ou usar suas preferências de AUR.

Desinstalar

Para desinstalar asdf siga os passos:

Bash & Git
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. Em seu ~/.bash_profile remova as linhas do asdf.sh e remova seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e remova seus complementos:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

?> Os complementos precisam instruções de configuração do Homebrew e siga o guia de remoção.

  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

Caso esteja usando macOs Catalina ou mais recente, por padrão o shell é ZSH. Se não achar alguma configuração em seu ~/.bash_profile talvez esteja em ~/.zshrc em cada caso siga as intruções do ZSH.

  1. Em seu ~/.bash_profile remova as linhas do asdf.sh e remova seus complementos:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

?> Os complementos precisam instruções de configuração do Homebrew e siga o guia de remoção.

  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. Em seu ~/.bashrc remova as linhas do asdf.sh e seus complementos:
shell
. /opt/asdf-vm/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.sh:
shell
source ~/.asdf/asdf.fish

e remova os complementos de com esse comando:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.fish:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. Em seu ~/.config/fish/config.fish remova as linhas do asdf.fish:
shell
source /opt/asdf-vm/asdf.fish
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Remova o diretório $HOME/.asdf:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Desinstale com seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. Em seu ~/.config/elvish/rc.elv remova as linhas que importa o módulo asdf:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

e desinstale o módulo asdf com este comando:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. Desinstale com seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $ HOME/.asdf:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. Execute este comando para remover todos os arquivos de configuração asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. Em seu ~/.zshrc remova as linhas do asdf.sh e seus complementos:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

Ou use ZSH Framework plugin.

  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. Em seu ~/.zshrc remova as linhas do asdf.sh:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
brew uninstall asdf --force
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. Em seu ~/.zshrc remova as linhas do asdf.sh:
shell
. /opt/asdf-vm/asdf.sh
  1. Desinstale usando seu gerenciador de pacotes:
shell
pacman -Rs asdf-vm
  1. Remova o diretório $HOME/.asdf:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. Execute o comando para remover todos os arquivos de configurações do asdf:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

Tudo pronto! 🎉

+ + + + \ No newline at end of file diff --git a/pt-br/manage/plugins.html b/pt-br/manage/plugins.html new file mode 100644 index 00000000..a04091e6 --- /dev/null +++ b/pt-br/manage/plugins.html @@ -0,0 +1,34 @@ + + + + + + Plugins | asdf + + + + + + + + + + + + + +
Skip to content

Plugins

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Plugins são como asdf sabe lidar com diferentes ferramentas, tais quais Node.js, Ruby, Elixir etc.

Veja Criando Plugins para a API do plugin usada para suportar mais ferramentas.

Adicionar

Adicione os plugins via sua Url Git:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

ou pelo nome abreviado dentro do repositório de plugins:

shell
asdf plugin add <name>
+# asdf plugin add erlang

Recommendation

Prefira o método mais longo git-url, pois ele é independente do repositório de nome abreviado.

Listar Instalados

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

Listar todos nomes abreviados no repositório

shell
asdf plugin list all

Veja Plugins Shortname Index para toda a lista de nomes curtos de plugins.

Atualizar

shell
asdf plugin update --all

Se você quiser atualizar um pacote específico, apenas use.

shell
asdf plugin update <name>
+# asdf plugin update erlang

Esta atualização irá buscar o último commit na branch padrão no origin de seu respositório. Plugins e atualizações das versões estão sendo desenvolvidas (#916)

Remover

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

Removendo o plugin irá remover todas as instalações feitas com o plugin. Isso pode ser usado como um atalho para apagar/remover sujeiras de versões não utilizadas de uma ferramenta.

Sincronizar nome abreviado no repositório

O nome abreviado do repositório é sincronizado em seu máquina local e periodicamente atualizado. Esse período pode ser determinado com o seguinte método:

  • comandos asdf plugin add <name> ou asdf plugin list all disparam a sincronização
  • ocorre uma sincronização se não houver nenhuma nos últimos X minutos
  • X por padrão é 60, mas pode ser mudado em .asdfrc via as opções do plugin_repository_last_check_duration. Seja mais em asdf documentação de configuração.
+ + + + \ No newline at end of file diff --git a/pt-br/manage/versions.html b/pt-br/manage/versions.html new file mode 100644 index 00000000..5deae60c --- /dev/null +++ b/pt-br/manage/versions.html @@ -0,0 +1,53 @@ + + + + + + Versões | asdf + + + + + + + + + + + + + +
Skip to content

Versões

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

Instalar Versão

shell
asdf install <name> <version>
+# asdf install erlang 17.3

Se um plugin suporta o download e compilação do código-fonte, você pode especificar ref:foo no qual foo é uma 'branch' especifica, 'tag', ou 'commit'. Você também precisará usar o mesmo nome e referência ao desinstalar.

Instalar última versão estável

shell
asdf install <name> latest
+# asdf install erlang latest

Instale a última versão estável que inicia com um texto.

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

Listar versões instaladas

shell
asdf list <name>
+# asdf list erlang

Limite as versões que inicie com um determinado texto.

shell
asdf list <name> <version>
+# asdf list erlang 17

Listar todas as versões disponíveis

shell
asdf list all <name>
+# asdf list all erlang

Limite as versões que inicie com um determinado texto.

shell
asdf list all <name> <version>
+# asdf list all erlang 17

Mostrar última versão estável

shell
asdf latest <name>
+# asdf latest erlang

Mostrar última versão estável que inicie com um determinado texto.

shell
asdf latest <name> <version>
+# asdf latest erlang 17

Selecionar versão atual

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global escreve a versão para $HOME/.tool-versions.

shell selecione a versão na variável de ambiente ASDF_${LANG}_VERSION, para a atual seção do shell.

local escreve a versão para $PWD/.tool-versions, crie se necessário .

Veja em .tool-versions arquivo de seleção de configuração para mais detalhes.

Alternativa

Se você quiser selecionar a versão atual do seu shell ou para executar um comando em uma versão específica de sua ferramenta, você pode selecionar a versão na variável de ambiente ASDF_${TOOL}_VERSION.

O seguinte exemplo executa os testes em um projeto Elixir na versão 1.4.0. O formato da versão é o mesmo suportado pelo arquivo .tool-versions.

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

Resposta do sistema de versão

Para usar o sistema de versão da ferramenta <name> inicie um gerenciador de versões do asdf para selecionar a versão na ferramenta do system.

Selecione o sistema com global, local ou shell Set system with either global, local or shell conforme descrito em Selecionar versão atual.

shell
asdf local <name> system
+# asdf local python system

Verificar a versão atual

shell
asdf current
+# asdf current
+# erlang 17.3 (set by /Users/kim/.tool-versions)
+# nodejs 6.11.5 (set by /Users/kim/cool-node-project/.tool-versions)
+
+asdf current <name>
+# asdf current erlang
+# 17.3 (set by /Users/kim/.tool-versions)

Desinstalar versão

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

Shims

Quando asdf instala um pacote é criado shims para cada programa executado no pacote do diretório $ASDF_DATA_DIR/shims (padrão ~/.asdf/shims). Esse diretório começa no $PATH (pelos asdf.sh, asdf.fish, etc) é como o programa instalado é disponibilizado no ambiente do sistema.

Os shims em si são atalhos simples que executam um programa auxiliar asdf exec passando o nome do plugin e o caminho para o executável no pacote instalado que o shim está contido.

O asdf exec ajuda a determinar a versão do pacote usado (como especificado no arquivo .tool-versions, pelo asdf local ... ou asdf global ...), o final do path do executavél no pacote instalado no diretório (pode ser manipulado pelo exec-path no callback do plugin) e o ambiente executado em (também fornecido pelo plugin - exec-env) e finalmente executado.

Observação

Observe que, como este sistema usa chamadas exec, qualquer scripts no pacote devem ser fornecidos pelo shell, a instancia em execução precisa ser aessado diretamente ao invés do shim. Os dois comandos do asdf: which e where pode ajudar com o retorno do caminho para o pacote instalado:

shell
# retorna o 'path' da versão atual em execução
+source $(asdf which ${PLUGIN})/../script.sh
+
+# retorna o 'path' do pacote instalado no diretório
+source $(asdf where ${PLUGIN} $(asdf current ${PLUGIN}))/bin/script.sh

Ignorando shims do asdf

Se por algum motivo você deseja ignorar shims do asdf ou deseja que suas variáveis de ambiente sejam definidas automaticamente ao entrar no diretório do seu projeto, pode ser útil o asdf-direnv. Verifique o README para mais detalhes.

+ + + + \ No newline at end of file diff --git a/pt-br/more/community-projects.html b/pt-br/more/community-projects.html new file mode 100644 index 00000000..abfa2ad6 --- /dev/null +++ b/pt-br/more/community-projects.html @@ -0,0 +1,24 @@ + + + + + + Community Projects | asdf + + + + + + + + + + + + + +
Skip to content

Community Projects

Here are some community projects related to asdf:

Note

asdf core do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

+ + + + \ No newline at end of file diff --git a/pt-br/more/faq.html b/pt-br/more/faq.html new file mode 100644 index 00000000..f3e51ba2 --- /dev/null +++ b/pt-br/more/faq.html @@ -0,0 +1,24 @@ + + + + + + Perguntas frequentes | asdf + + + + + + + + + + + + + +
Skip to content

Perguntas frequentes

Aqui estão algumas perguntas comuns sobre asdf.

Suporte WSL1?

WSL1 (Windows Subsystem for Linux 1) não é oficialmente suportado. Alguns aspectos do asdf podem não funcionar corretamente. Não temos a intenção de adicionar suporte oficial para WSL1.

Suporte WSL2?

WSL2 (Subsistema Windows para Linux 2) deve funcionar usando as instruções de configuração e dependência para a distribuição WSL escolhida.

É importante ressaltar que o WSL2 apenas deve funcionar corretamente quando o diretório de trabalho atual é uma unidade Unix e não uma unidade Windows vinculada.

Pretendemos executar o conjunto de testes no WSL2 quando o suporte ao host runner estiver disponível nas Ações do GitHub; atualmente, esse não parece ser o caso.

Exectable recém-instalado não está funcionando?

Acabei de instalar o npm -g yarn, mas não consigo executar o yarn. O que da?

asdf usa shims para gerenciar executáveis. Aqueles instalados por plug-ins têm shims criados automaticamente, enquanto a instalação de executáveis ​​por meio de uma ferramenta gerenciada asdf exigirá que você notifique oasdf sobre a necessidade de criar shims. Neste caso, para criar um shim para Yarn. Veja a documentação do comando [asdf reshim](/ manage / core.md # reshim).

Shell não detecta shims recém-instalados?

Se asdf reshim não está resolvendo seu problema, então é mais provável devido ao sourcing deasdf.sh ou asdf.fish não estar no ** BOTTOM ** de seu arquivo de configuração Shell (.bash_profile, .zshrc, config.fish, etc). Ele precisa ser fornecido DEPOIS de você definir seu $PATH e DEPOIS de ter fornecido seu framework (oh-meu-zsh etc), se houver.

+ + + + \ No newline at end of file diff --git a/pt-br/more/thanks.html b/pt-br/more/thanks.html new file mode 100644 index 00000000..17c9a507 --- /dev/null +++ b/pt-br/more/thanks.html @@ -0,0 +1,24 @@ + + + + + + Créditos | asdf + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pt-br/plugins/create.html b/pt-br/plugins/create.html new file mode 100644 index 00000000..1300db61 --- /dev/null +++ b/pt-br/plugins/create.html @@ -0,0 +1,58 @@ + + + + + + Criar um plug-in | asdf + + + + + + + + + + + + + +
Skip to content

Criar um plug-in

Hi, we've recently migrated our docs and added some new pages. If you would like to help translate this page, see the "Edit this page" link at the bottom of the page.

O que há em um plug-in

Um plugin é um repositório git, com alguns scripts executáveis, para dar suporte ao versionamento de outra linguagem ou ferramenta. Esses scripts são executados quando os comandos list-all, install ou uninstall são executados. Você pode definir ou desmarcar env vars e fazer qualquer coisa necessária para configurar o ambiente para a ferramenta.

Scripts obrigatórios

  • bin/list-all - lista todas as versões instaláveis
  • bin/download - baixe o código fonte ou binário para a versão especificada
  • bin/install - instala a versão especificada

Variavéis de Ambiente

Todos os scripts, exceto bin/list-all, terão acesso aos seguintes env vars para agir:

  • ASDF_INSTALL_TYPE - version ou ref
  • ASDF_INSTALL_VERSION - se ASDF_INSTALL_TYPE é version então este será o número da versão. Caso contrário, será o git ref que será passado. Pode apontar para uma tag/commit/branch no repositório.
  • ASDF_INSTALL_PATH - o diretório onde foi instalado (ou deve ser instalado no caso do script bin/install)

Essas variáveis de ambiente adicionais estarão disponíveis para o script bin/install:

  • ASDF_CONCURRENCY - o número de núcleos a serem usados ao compilar o código-fonte. Útil para definir make -j.
  • ASDF_DOWNLOAD_PATH - o caminho para onde o código fonte ou binário foi baixado pelo script bin/download.

Essas variáveis de ambiente adicionais estarão disponíveis para o script bin/download:

  • ASDF_DOWNLOAD_PATH - o caminho para onde o código-fonte ou binário deve ser baixado.

bin/list-all

Deve imprimir uma string com uma lista de versões separadas por espaço. A saída de exemplo seria a seguinte:

shell
1.0.1 1.0.2 1.3.0 1.4

Observe que a versão mais recente deve ser listada por último para que apareça mais próxima do prompt do usuário. Isso é útil já que o comando list-all imprime cada versão em sua própria linha. Se houver muitas versões, é possível que as primeiras versões fiquem fora da tela.

Se as versões estiverem sendo extraídas da página de lançamentos em um site, é recomendável não classificar as versões, se possível. Muitas vezes as versões já estão na ordem correta ou, na ordem inversa, nesse caso algo como tac deve ser suficiente. Se você precisar classificar as versões manualmente, não poderá confiar em sort -V, pois não é suportado no OSX. Uma função de classificação alternativa como esta é uma escolha melhor.

bin/download

Este script deve baixar o código fonte ou binário, no caminho contido na variável de ambiente ASDF_DOWNLOAD_PATH. Se o código-fonte ou binário baixado estiver compactado, apenas o código-fonte ou binário descompactado poderá ser colocado no diretório ASDF_DOWNLOAD_PATH.

O script deve sair com um status de 0 quando o download for bem-sucedido. Se o download falhar, o script deve sair com qualquer status de saída diferente de zero.

Se possível, o script deve apenas colocar arquivos no ASDF_DOWNLOAD_PATH. Se o download falhar, nenhum arquivo deve ser colocado no diretório.

Se este script não estiver presente, o asdf assumirá que o script bin/install está presente e fará o download e instalará a versão. asdf só funciona sem este script para suportar plugins legados. Todos os plugins devem incluir este script e, eventualmente, o suporte para plugins legados será removido.

bin/install

Este script deve instalar a versão, no caminho mencionado em ASDF_INSTALL_PATH. Por padrão, o asdf criará shims para qualquer arquivo em $ASDF_INSTALL_PATH/bin (isso pode ser personalizado com o script opcional bin/list-bin-paths).

O script de instalação deve sair com um status de 0 quando a instalação for bem-sucedida. Se a instalação falhar, o script deve sair com qualquer status de saída diferente de zero.

Se possível, o script deve apenas colocar os arquivos no diretório ASDF_INSTALL_PATH uma vez que a compilação e instalação da ferramenta são consideradas bem sucedidas pelo script de instalação. asdf verifica a existência do diretório ASDF_INSTALL_PATH para determinar se essa versão da ferramenta está instalado. Se o diretório ASDF_INSTALL_PATH for preenchido no início do processo de instalação, outros comandos asdf executados em outros terminais durante a instalação podem considerar essa versão da ferramenta instalada, mesmo quando não estiver totalmente instalada.

Se você quiser que seu plugin funcione com asdf versão 0.7._ e anterior e versão 0.8._ e mais recente, verifique a presença da variável de ambiente ASDF_DOWNLOAD_PATH. Se não estiver definido, baixe o código-fonte no retorno de chamada bin/install. Se estiver definido, suponha que o script bin/download já tenha baixado.

Scripts Opcional

scripts bin/help

Este não é um script de retorno de chamada, mas sim um conjunto de scripts de retorno de chamada que imprimem documentação diferente para STDOUT. Os scripts de retorno de chamada possíveis estão listados abaixo. Observe que bin/help.overview é um caso especial, pois deve estar presente para que qualquer saída de ajuda seja exibida para o script.

  • bin/help.overview - Este script deve gerar uma descrição geral sobre o plugin e a ferramenta que está sendo gerenciada. Nenhum título deve ser impresso, pois o asdf imprimirá títulos. A saída pode ser um texto de formato livre, mas idealmente apenas um parágrafo curto. Este script deve estar presente se você quiser que o asdf forneça informações de ajuda para seu plugin. Todos os outros scripts de retorno de chamada de ajuda são opcionais.
  • bin/help.deps - Esse script deve gerar a lista de dependências adaptadas ao sistema operacional. Uma dependência por linha.
  • bin/help.config - Este script deve imprimir qualquer configuração obrigatória ou opcional que possa estar disponível para o plug-in e a ferramenta. Quaisquer variáveis de ambiente ou outros sinalizadores necessários para instalar ou compilar a ferramenta (para o sistema operacional dos usuários quando possível). A saída pode ser texto de formato livre.
  • bin/help.links - Esta deve ser uma lista de links relevantes para o plug-in e a ferramenta (mais uma vez, adaptados ao sistema operacional atual, quando possível). Um link por linha. As linhas podem estar no formato <title>: <link> ou apenas <link>.

Cada um desses scripts deve adaptar sua saída ao sistema operacional atual. Por exemplo, quando no Ubuntu, o script deps pode gerar as dependências como pacotes apt-get que devem ser instalados. O script também deve adaptar sua saída ao valor de ASDF_INSTALL_VERSION e ASDF_INSTALL_TYPE quando as variáveis forem definidas. Eles são opcionais e nem sempre serão definidos.

O script de retorno de chamada de ajuda NÃO DEVE gerar nenhuma informação que já esteja coberta na documentação principal do asdf-vm. As informações gerais de uso do asdf não devem estar presentes.

bin/list-bin-paths

Liste os executáveis para a versão especificada da ferramenta. Deve imprimir uma string com uma lista separada por espaços de caminhos de diretórios que contêm executáveis. Os caminhos devem ser relativos ao caminho de instalação passado. A saída de exemplo seria:

shell
bin tools veggies

Isso instruirá o asdf a criar shims para os arquivos em <install-path>/bin, <install-path>/tools e <install-path>/veggies

Se este script não for especificado, o asdf procurará o diretório bin em uma instalação e criará shims para eles.

bin/exec-env

Configure o env para executar os binários no pacote.

bin/exec-path

Obtenha o caminho executável para a versão especificada da ferramenta. Deve imprimir uma string com o caminho executável relativo. Isso permite que o plug-in substitua condicionalmente o caminho executável especificado do shim, caso contrário, retorne o caminho padrão especificado pelo shim.

shell
Usage:
+  plugin/bin/exec-path <install-path> <command> <executable-path>
+
+Example Call:
+  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"
+
+Output:
+  bin/foox

bin/uninstall

Desinstala uma versão específica de uma ferramenta.

bin/list-legacy-filenames

Registre arquivos setter adicionais para este plugin. Deve imprimir uma string com uma lista de nomes de arquivos separados por espaços.

shell
.ruby-version .rvmrc

Nota: Isso só se aplica a usuários que habilitaram a opção legacy_version_file em seu ~/.asdfrc.

bin/parse-legacy-file

Isso pode ser usado para analisar ainda mais o arquivo legado encontrado pelo asdf. Se o parse-legacy-file não for implementado, o asdf simplesmente irá cat o arquivo para determinar a versão. O script receberá o caminho do arquivo como seu primeiro argumento.

bin/post-plugin-add

Isso pode ser usado para executar qualquer ação pós-instalação depois que o plug-in for adicionado ao asdf.

O script tem acesso ao caminho em que o plugin foi instalado (${ASDF_PLUGIN_PATH}) e o URL de origem (${ASDF_PLUGIN_SOURCE_URL}), se algum foi usado.

Veja também os ganchos relacionados:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_${plugin_name}

bin/pre-plugin-remove

Isso pode ser usado para executar qualquer ação de pré-remoção antes que o plug-in seja removido do asdf.

O script tem acesso ao caminho em que o plugin foi instalado (${ASDF_PLUGIN_PATH}).

Veja também os ganchos relacionados:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_${plugin_name}

Comandos de extensão para asdf CLI.

É possível que plugins definam novos comandos asdf fornecendo scripts ou executáveis lib/commands/command*.bash que será chamado usando a interface de linha de comando asdf usando o nome do plug-in como um subcomando.

Por exemplo, suponha que um plugin foo tenha:

shell
foo/
+  lib/commands/
+    command.bash
+    command-bat.bash
+    command-bat-man.bash
+    command-help.bash

Os usuários agora podem executar

shell
$ asdf foo         # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash`
+$ asdf foo bar     # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar`
+$ asdf foo help    # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash`
+$ asdf foo bat man # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash`
+$ asdf foo bat baz # same as running `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz`

Os autores de plugins podem usar esse recurso para fornecer utilitários relacionados às suas ferramentas, ou até mesmo criar plugins que são apenas novas extensões de comando para o próprio asdf.

Quando invocados, se os comandos de extensão não tiverem seus bits executáveis definidos, eles serão originado como scripts bash, tendo todas as funções de $ASDF_DIR/lib/utils.bash disponíveis. Além disso, o $ASDF_CMD_FILE resolve para o caminho completo do arquivo que está sendo originado. Se o bit executável estiver definido, eles são apenas executados e substituem a execução do asdf.

Um bom exemplo desse recurso é para plugins como haxe que fornece o asdf haxe neko-dylibs-link para corrigir um problema onde os executáveis haxe esperam encontrar bibliotecas dinâmicas relativas ao diretório executável.

Se o seu plug-in fornecer um comando de extensão asdf, certifique-se de mencioná-lo no README do seu plug-in.

Modelos de calços personalizados

POR FAVOR, use este recurso apenas se for absolutamente necessário

asdf permite modelos de calços personalizados. Para um executável chamado foo, se houver um arquivo shims/foo no plug-in, o asdf copiará esse arquivo em vez de usar seu modelo padrão de shim.

Isso deve ser usado com sabedoria. Por enquanto AFAIK, está sendo usado apenas no plugin Elixir, porque um executável também é lido como um arquivo Elixir, além de ser apenas um executável. O que torna impossível usar o calço bash padrão.

Testando plug-ins

asdf contém o comando plugin-test para testar seu plugin. Você pode usá-lo da seguinte forma

shell
asdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]

Apenas os dois primeiros argumentos são necessários. Se _version for especificado, a ferramenta será instalada com essa versão específica. O padrão é o que retorna asdf latest <plugin-name>. Se git-ref for especificado, o plug-in em si é verificado nesse commit/branch/tag, útil para testar um pull-request no CI do seu plug-in. O padrão é o branch default do repositório do plugin.

Os argumentos Rest são considerados o comando a ser executado para garantir que a ferramenta instalada funcione corretamente. Normalmente seria algo que leva --version ou --help. Por exemplo, para testar o plugin NodeJS, podemos executar

shell
asdf plugin test nodejs https://github.com/asdf-vm/asdf-nodejs.git node --version

É altamente recomendável que você teste seu plug-in em um ambiente CI e verifique se ele funciona no Linux e no OSX.

Exemplo GitHub Action

O repositório asdf-vm/actions fornece uma ação do GitHub para testar seus plugins hospedados no github.

yaml
steps:
+  - name: asdf_plugin_test
+    uses: asdf-vm/actions/plugin-test@v1
+    with:
+      command: "my_tool --version"
+    env:
+      GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically provided

Exemplo de configuração do TravisCI

Aqui está um arquivo .travis.yml de amostra, personalize-o de acordo com suas necessidades

yaml
language: c
+script: asdf plugin test nodejs $TRAVIS_BUILD_DIR 'node --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

Notas: Ao usar outro IC, você precisará verificar qual variável mapeia para o caminho do repositório.

Você também tem a opção de passar um caminho relativo para plugin-test.

Por exemplo, se o script de teste for executado no diretório: asdf plugin test nodejs . 'node --version'.

Limitação de taxa da API do GitHub

Se o list-all do seu plug-in depender do acesso à API do GitHub, certifique-se de fornecer um token de autorização ao acessá-lo, caso contrário, seus testes podem falhar devido à limitação de taxa.

Para fazer isso, crie um novo token pessoal com apenas acesso public_repo.

Em seguida, nas configurações de compilação do travis.ci, adicione uma variável de ambiente secure para ela chamada algo como GITHUB_API_TOKEN. E NUNCA publique seu token em seu código.

Finalmente, adicione algo como o seguinte para bin/list-all

shell
cmd="curl -s"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

Enviando plugins para o repositório oficial de plugins

asdf pode facilmente instalar plugins especificando o url do repositório de plugins, por exemplo. plugin add my-plugin https://github.com/user/asdf-my-plugin.git.

Para facilitar para seus usuários, você pode adicionar seu plugin ao repositório oficial de plugins para ter seu plugin listado e facilmente instalável usando um comando mais curto, por exemplo asdf plugin add my-plugin.

Siga as instruções no repositório de plugins: asdf-vm/asdf-plugins.

+ + + + \ No newline at end of file diff --git a/zh-hans/contribute/core.html b/zh-hans/contribute/core.html new file mode 100644 index 00000000..956e2bbd --- /dev/null +++ b/zh-hans/contribute/core.html @@ -0,0 +1,48 @@ + + + + + + asdf + + + + + + + + + + + + + +
Skip to content

asdf

asdf 核心贡献指南.

初始化安装

在 Github 上 fork asdf 并且/或者使用 Git 克隆默认分支:

shell
# 克隆你 fork 的 asdf
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# 或者直接克隆 asdf
+git clone https://github.com/asdf-vm/asdf.git

核心开发所需的工具都列举在这个存储库的 .tool-versions 文件中。如果你想要使用 asdf 自身来管理它,请使用以下命令添加这些插件:

shell
asdf plugin add bats https://github.com/timgluz/asdf-bats.git
+asdf plugin add shellcheck https://github.com/luizm/asdf-shellcheck.git
+asdf plugin add shfmt https://github.com/luizm/asdf-shfmt.git

使用以下命令安装这些版本来开发 asdf

shell
asdf install

在本地机器的开发过程中不使用 asdf 来管理工具 或许 对你有帮助,因为你可能需要打破某些可能会影响到你的开发工具链的功能。以下是所需工具的原始列表:

  • bats-core:Bash 自动化测试系统,用于单元测试 Bash 或 POSIX 兼容脚本。
  • shellcheck:Shell 脚本的静态分析工具。
  • shfmt:支持 Bash 的 Shell 解析器、格式化器和解释器;包含 shfmt。

开发

如果你想要在不更改已安装的 asdf 的情况下尝试应用你的更改,可以将 $ASDF_DIR 变量设置为克隆存储库的路径,并临时将目录的 binshims 目录添加到你的路径中。

最好在提交或推送到远程之前,在本地做好格式化、lint 检查和测试你的代码。可以使用以下脚本/命令:

shell
# 脚本检查
+./scripts/shellcheck.bash
+
+# 格式化
+./scripts/shfmt.bash
+
+# 测试:所有案例
+bats test/
+# 测试:特定命令
+bats test/list_commands.bash

提示

增加测试! - 新特性需要进行测试,并加快错误修复的审查速度。请在创建拉取请求之前覆盖新的代码路径。查看 bats-core 文档 了解更多。

Bats 测试

强烈建议在编写测试之前检查现有的测试套件和 bats-core 文档

Bats 调试有时可能很困难。使用带有 -t 标识的 TAP 输出将使你能够在测试执行期间打印带有特殊文件描述符 >&3 的输出,从而简化调试。例如:

shell
# test/some_tests.bats
+
+printf "%s\n" "Will not be printed during bats test/some_tests.bats"
+printf "%s\n" "Will be printed during bats -t test/some_tests.bats" >&3

进一步相关文档请查看 bats-core 的 Printing to the Terminal 部分.

拉取请求、发布以及约定式提交

asdf 正在使用一个名为 Release Please 的自动发布工具来自动碰撞 SemVer 版本并生成 变更日志。这个信息是通过读取自上次发布以来的提交历史记录来确定的。

约定式提交 定义了拉取请求标题的格式,该标题成为默认分支上的提交消息格式。这是通过 Github Action amannn/action-semantic-pull-request 强制执行的。

约定式提交遵循以下格式:

<type>[optional scope][optional !]: <description>
+
+<!-- 例子 -->
+fix: some fix
+feat: a new feature
+docs: some documentation update
+docs(website): some change for the website
+feat!: feature with breaking change

<types> 的所有类型包含: featfixdocsstylerefactorperftestbuildcichorerevert

  • !:表示重大更改
  • fix:将会创建一个新的 SemVer patch 补丁
  • feat:将会创建一个新的 SemVer minor 小版本
  • <type>!:将会创建一个新的 SemVer major 大版本

拉取请求标题必须遵循这种格式。

提示

请使用约定式提交信息格式作为拉取请求标题。

Docker 镜像

asdf-alpineasdf-ubuntu 项目正在努力提供一些 asdf 工具的容器化镜像。你可以使用这些容器镜像作为开发服务器的基础镜像,或者运行生产应用。

+ + + + \ No newline at end of file diff --git a/zh-hans/contribute/documentation.html b/zh-hans/contribute/documentation.html new file mode 100644 index 00000000..9171ba45 --- /dev/null +++ b/zh-hans/contribute/documentation.html @@ -0,0 +1,52 @@ + + + + + + 文档 & 网站 | asdf + + + + + + + + + + + + + +
Skip to content

文档 & 网站

文档 & 网站贡献指南。

初始化设置

在 Github 上 fork asdf 并且/或者使用 Git 克隆默认分支:

shell
# 克隆你 fork 的 asdf
+git clone https://github.com/<GITHUB_USER>/asdf.git
+# 或者直接克隆 asdf
+git clone https://github.com/asdf-vm/asdf.git

文档网站开发所需的工具都在文件 docs/.tool-versions 中使用 asdf 进行管理。使用以下命令添加插件:

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs

使用以下命令安装工具版本:

shell
asdf install
  • Node.js:基于 Chrome 的 V8 引擎的 JavaScript 运行环境。

根据 docs/package.json 文件安装 Node.js 依赖:

shell
npm install

开发

Vuepress (v2) 是我们用来构建 asdf 文档网站的静态站点生成器(SSG)。它被选中来取代 Docsify.js,因为我们希望在用户没有可用或未启用 JavaScript 时支持仅依靠 HTML。Docsify 无法做到这一点。除此之外,两者特性集合大致相同,重点是 Vuepress 可以用最少的配置编写 Markdown 文件。

package.json 包含了开发所需的脚本:

@code json{3-5}

启动本地开发服务器:

shell
npm run dev

在提交之前格式化代码:

shell
npm run format

拉取请求、发布以及约定式提交

asdf 正在使用依赖 PR 标题中的约定式提交的自动化发布流水线。具体的文档可以查看 核心贡献指南.

当为文档更改创建 PR 请求时,请确保 PR 标题使用了约定式提交类型 docs 以及 docs: <description> 的格式。

Vuepress

网站的配置包含在几个 JavaScript 文件中,其中 JS 对象用于表示配置。它们是:

  • docs/.vuepress/config.js:网站的根配置文件。请查看 Vuepress 文档 了解更多详情。

为了简化根配置文件,更大的 JS 对象表示 导航栏和侧边栏 配置已经被提取并按照语言类型分隔开来。请参考以下文件:

  • docs/.vuepress/navbar.js
  • docs/.vuepress/sidebar.js

这些配置的官方文档位于 默认主题参考

I18n 国际化

Vuepress 有一流的国际化支持。根配置文件 docs/.vuepress/config.js 定义了支持的语言类型及其 URL、在选择下拉菜单中的标题以及导航栏/侧边栏配置引用。

导航栏/侧边栏配置在上述配置文件中捕获,按语言类型分隔开并单独导出。

每种语言的 markdown 内容必须位于与根配置文件中 locale 键同名的目录位置。也就是:

js
{
+  ...
+  themeConfig: {
+    locales: {
+      "/": {
+        selectLanguageName: "English (US)",
+        sidebar: sidebar.en,
+        navbar: navbar.en
+      },
+      "/pt-BR/": {
+        selectLanguageName: "Brazilian Portuguese",
+        sidebar: sidebar.pt_br,
+        navbar: navbar.pt_br
+      }
+    }
+  }
+}

/pt-BR/ 将要求 markdown 文件的同一集合位于 docs/pt-BR/ 目录下,如下所示:

shell
docs
+├─ README.md
+├─ foo.md
+├─ nested
+  └─ README.md
+└─ pt-BR
+   ├─ README.md
+   ├─ foo.md
+   └─ nested
+      └─ README.md

请查看 Vuepress i18n 国际化官方文档 了解更多详情。

+ + + + \ No newline at end of file diff --git a/zh-hans/contribute/first-party-plugins.html b/zh-hans/contribute/first-party-plugins.html new file mode 100644 index 00000000..2201c74d --- /dev/null +++ b/zh-hans/contribute/first-party-plugins.html @@ -0,0 +1,24 @@ + + + + + + 官方插件 | asdf + + + + + + + + + + + + + +
Skip to content

官方插件

asdf 核心团队已经开发了一些与他们日常工作相关的插件。随时欢迎大家维护和改进这些插件。这些插件所对应的存储库链接如下所示:

对于社区插件,请参考:

+ + + + \ No newline at end of file diff --git a/zh-hans/contribute/github-actions.html b/zh-hans/contribute/github-actions.html new file mode 100644 index 00000000..d580d68c --- /dev/null +++ b/zh-hans/contribute/github-actions.html @@ -0,0 +1,24 @@ + + + + + + GitHub Actions | asdf + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/zh-hans/guide/getting-started.html b/zh-hans/guide/getting-started.html new file mode 100644 index 00000000..169019f9 --- /dev/null +++ b/zh-hans/guide/getting-started.html @@ -0,0 +1,36 @@ + + + + + + 快速入门 | asdf + + + + + + + + + + + + + +
Skip to content

快速入门

asdf 安装过程包括:

  1. 安装依赖
  2. 下载 asdf 核心
  3. 安装 asdf
  4. 为每一个你想要管理的工具/运行环境安装插件
  5. 安装工具/运行环境的一个版本
  6. 通过 .tool-versions 配置文件设置全局和项目版本

1. 安装依赖

asdf primarily requires git & curl. Here is a non-exhaustive list of commands to run for your package manager (some might automatically install these tools in later steps).

OSPackage ManagerCommand
linuxAptitudeapt install curl git
linuxDNFdnf install curl git
linuxPacmanpacman -S curl git
linuxZypperzypper install curl git
macOSHomebrewbrew install coreutils curl git
macOSSpackspack install coreutils curl git

Note

sudo may be required depending on your system configuration.

2. 下载 asdf

Official Download

shell
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1

Community Supported Download Methods

We highly recommend using the official git method.

MethodCommand
Homebrewbrew install asdf
Pacmangit clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si or use your preferred AUR helper

3. 安装 asdf

根据 Shell 脚本、操作系统和安装方法的组合不同,相应的配置也会不同。展开以下与你的系统最匹配的选项:

Bash & Git

~/.bashrc 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

补全功能必须在 .bashrc 文件中加入以下内容来配置完成:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Git (macOS)

如果你正在使用 macOS Catalina 或者更新的版本, 默认的 shell 已经被修改为 ZSH。除非修改回 Bash, 否则请遵循 ZSH 的说明。

~/.bash_profile 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

补全功能必须在 .bash_profile 文件中使用以下内容手动配置完成:

shell
. "$HOME/.asdf/completions/asdf.bash"
Bash & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.bashrc 文件中:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.bashrc

补全功能将需要 按照 Homebrew 的说明完成配置 或者执行以下命令:

shell
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.bashrc
Bash & Homebrew (macOS)

如果你正在使用 macOS Catalina 或者更新的版本, 默认的 shell 已经被修改为 ZSH。除非修改回 Bash, 否则请遵循 ZSH 的说明。

使用以下命令将 asdf.sh 加入到 ~/.bash_profile 文件中:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.bash_profile

补全功能将需要 按照 Homebrew 的说明完成配置 或者执行以下命令:

shell
echo -e "\n. \"$(brew --prefix asdf)/etc/bash_completion.d/asdf.bash\"" >> ~/.bash_profile
Bash & Pacman

~/.bashrc 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.sh

为了让补全功能正常工作需要安装 bash-completion

Fish & Git

~/.config/fish/config.fish 文件中加入以下内容:

shell
source ~/.asdf/asdf.fish

补全功能必须按照以下命令手动配置完成:

shell
mkdir -p ~/.config/fish/completions; and ln -s ~/.asdf/completions/asdf.fish ~/.config/fish/completions
Fish & Homebrew

使用以下命令将 asdf.fish 加入到 ~/.config/fish/config.fish 文件中:

shell
echo -e "\nsource "(brew --prefix asdf)"/libexec/asdf.fish" >> ~/.config/fish/config.fish

Fish shell 的补全功能可以交给 Homebrew 处理. 很友好!

Fish & Pacman

~/.config/fish/config.fish 文件中加入以下内容:

shell
source /opt/asdf-vm/asdf.fish

补全功能将会在安装过程中由 AUR 包管理器自动配置完成。

Elvish & Git

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s ~/.asdf/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

Elvish & Homebrew

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s (brew --prefix asdf)/libexec/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

Elvish & Pacman

使用以下命令将 asdf.elv 加入到 ~/.config/elvish/rc.elv 文件中:

shell
mkdir -p ~/.config/elvish/lib; ln -s /opt/asdf-vm/asdf.elv ~/.config/elvish/lib/asdf.elv
+echo "\n"'use asdf _asdf; var asdf~ = $_asdf:asdf~' >> ~/.config/elvish/rc.elv
+echo "\n"'set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~' >> ~/.config/elvish/rc.elv

补全功能将会自动配置。

ZSH & Git

~/.zshrc 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.sh"

或者 使用 ZSH 框架插件,比如 asdf for oh-my-zsh 将会使脚本生效并安装补全功能。

补全功能会被 ZSH 框架 asdf 插件或者通过在 .zshrc 文件中加入以下内容自动配置:

shell
# append completions to fpath
+fpath=(${ASDF_DIR}/completions $fpath)
+# initialise completions with ZSH's compinit
+autoload -Uz compinit && compinit
  • 如果你正在使用自定义的 compinit 配置,请确保 compinitasdf.sh 生效位置的下方
  • 如果你正在使用自定义的 compinit 配置和 ZSH 框架,请确保 compinit 在框架生效位置的下方

警告

如果你正在使用 ZSH 框架,有关的 asdf 插件或许需要更新才能通过 fpath 正确地使用最新的 ZSH 补全功能。Oh-My-ZSH asdf 插件还在更新中,请查看 ohmyzsh/ohmyzsh#8837 了解更多。

ZSH & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.zshrc 文件中:

shell
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc

或者 使用 ZSH 框架插件,比如 asdf for oh-my-zsh 将会使脚本生效并安装补全功能。

补全功能可以被 ZSH 框架 asdf 或者 按照 Homebrew 的指引 完成配置。如果你正在使用 ZSH 框架,有关的 asdf 插件或许需要更新才能通过 fpath 正确地使用最新的 ZSH 补全功能。Oh-My-ZSH asdf 插件还在更新中,请查看 ohmyzsh/ohmyzsh#8837 了解更多。

ZSH & Pacman

~/.zshrc 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.sh

补全功能会被放在一个对 ZSH 很友好的位置,但是 ZSH 必须使用自动补全完成配置

PowerShell Core & Git

~/.config/powershell/profile.ps1 文件中加入以下内容:

shell
. "$HOME/.asdf/asdf.ps1"
PowerShell Core & Homebrew

使用以下命令将 asdf.ps1 加入到 ~/.config/powershell/profile.ps1 文件中:

shell
echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.ps1\"" >> ~/.config/powershell/profile.ps1
PowerShell Core & Pacman

~/.config/powershell/profile.ps1 文件中加入以下内容:

shell
. /opt/asdf-vm/asdf.ps1
Nushell & Git

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\n$env.ASDF_DIR = ($env.HOME | path join '.asdf')\n source " + ($env.HOME | path join '.asdf/asdf.nu') | save --append $nu.config-path

补全功能将会自动配置。

Nushell & Homebrew

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\n$env.ASDF_DIR = (brew --prefix asdf | str trim | into string | path join 'libexec')\n source " +  (brew --prefix asdf | str trim | into string | path join 'libexec/asdf.nu') | save --append $nu.config-path

补全功能将会自动配置。

Nushell & Pacman

使用以下命令将 asdf.nu 加入到 ~/.config/nushell/config.nu 文件中:

shell
"\n$env.ASDF_DIR = '/opt/asdf-vm/'\n source /opt/asdf-vm/asdf.nu" | save --append $nu.config-path

补全功能将会自动配置。

POSIX Shell & Git

~/.profile 文件中加入以下内容:

shell
export ASDF_DIR="$HOME/.asdf"
+. "$HOME/.asdf/asdf.sh"
POSIX Shell & Homebrew

使用以下命令将 asdf.sh 加入到 ~/.profile 文件中:

shell
echo -e "\nexport ASDF_DIR=\"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.profile
+echo -e "\n. \"$(brew --prefix asdf)/libexec/asdf.sh\"" >> ~/.profile
POSIX Shell & Pacman

~/.profile 文件中加入以下内容:

shell
export ASDF_DIR="/opt/asdf-vm"
+. /opt/asdf-vm/asdf.sh

asdf 脚本需要在设置好的 $PATH 之后和已经生效的框架(比如 oh-my-zsh 等等)之后的位置生效。

通常打开一个新的终端标签页来重启你的 shell 让 PATH 更改即时生效。

核心安装完成!

这样就完成了 asdf 核心的安装 🎉

asdf 仅在你安装插件工具和管理它们的版本时才开始真正发挥作用。请继续阅读下面的指南来了解这些是如何做到的。

4. 安装插件

出于演示目的,我们将通过 asdf-nodejs 插件来安装和设置 Node.js

插件依赖

每个插件都有依赖,所以我们需要确认应该列举了这些依赖的插件源码。对于 asdf-nodejs 来说,它们是:

操作系统安装依赖
Linux (Debian)apt-get install dirmngr gpg curl gawk
macOSbrew install gpg gawk

我们应该提前安装这些依赖,因为有些插件有 post-install 钩子。

安装插件

shell
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git

5. 安装指定版本

现在我们已经有了 Node.js 插件,所以我们可以开始安装某个版本了。

我们通过 asdf list all nodejs 可以看到所有可用的版本或者通过 asdf list all nodejs 14 查看版本子集。

我们将只安装最新可用的 latest 版本:

shell
asdf install nodejs latest

注意

asdf 强制使用准确的版本。latest 是一个通过 asdf 来解析到执行时刻的实际版本号的辅助工具。

6. 设置默认版本

asdf 在从当前工作目录一直到 $HOME 目录的所有 .tool-versions 文件中进行工具的版本查找。查找在执行 asdf 管理的工具时实时发生。

警告

如果没有为工具找到指定的版本,则会出现错误asdf current 将显示当前目录中的工具和版本解析结果,或者不存在,以便你可以观察哪些工具将无法执行。

全局

全局默认配置在 $HOME/.tool-versions 文件中进行管理。使用以下命令可以设置一个全局版本:

shell
asdf global nodejs latest

$HOME/.tool-versions 文件内容将会如下所示:

nodejs 16.5.0

某些操作系统已经有一些由系统而非 asdf 安装和管理的工具了,python 就是一个常见的例子。你需要告诉 asdf 将管理权还给系统。版本参考部分 将会引导你。

本地

本地版本被定义在 $PWD/.tool-versions 文件中(当前工作目录)。通常,这将会是一个项目的 Git 存储库。当在你想要的目录执行:

shell
asdf local nodejs latest

$PWD/.tool-versions 文件内容将会如下所示:

nodejs 16.5.0

使用现有工具版本文件

asdf 支持从其他版本管理器的现有版本文件中迁移过来,比如 rbenv.ruby-version 文件。这在每个插件中都原生支持。

asdf-nodejs 支持从 .nvmrc.node-version 文件进行迁移。为了启用此功能,请在 asdf 配置文件 $HOME/.asdfrc 中加入以下内容:

legacy_version_file = yes

请查看 配置 参考页面可以了解更多配置选项。

完成指南!

恭喜你完成了 asdf 的快速上手 🎉 你现在可以管理你的项目的 nodejs 版本了。对于项目中的其他工具类型可以执行类似步骤即可!

asdf 还有更多命令需要熟悉,你可以通过运行 asdf --help 或者 asdf 来查看它们。命令主要分为三类:

+ + + + \ No newline at end of file diff --git a/zh-hans/guide/introduction.html b/zh-hans/guide/introduction.html new file mode 100644 index 00000000..ab68d21e --- /dev/null +++ b/zh-hans/guide/introduction.html @@ -0,0 +1,24 @@ + + + + + + 项目简介 | asdf + + + + + + + + + + + + + +
Skip to content

项目简介

asdf 是一个工具版本管理器。所有的工具版本定义都包含在一个文件(.tool-versions)中,你可以将配置文件放在项目的 Git 存储库中以便于和团队其他成员共享,从而确保每个人都使用完全相同的工具版本。

传统工作方式需要多个命令行版本管理器,而且每个管理器都有其不同的 API、配置文件和实现方式(比如,$PATH 操作、垫片、环境变量等等)。asdf 提供单个交互方式和配置文件来简化开发工作流程,并可通过简单的插件接口扩展到所有工具和运行环境。

它是如何工作的

一旦 asdf 核心在 Shell 配置中设置好之后,你可以安装插件来管理特定的工具。当通过插件安装工具时,安装的可执行程序会为每个可执行程序创建 垫片。当你尝试运行其中一个可执行程序时,将运行垫片,从而允许 asdf 识别 .tool-versions 文件中设置的工具版本并执行该版本。

相关项目

nvm / n / rbenv 等

nvm, nrbenv 等工具都是用 Shell 脚本写的,这些脚本能为工具安装的可执行程序创建垫片。

asdf 非常相似,目的是在工具/运行环境版本管理领域竞争。asdf 的区别之处在于它的插件系统,它消除了每个工具/运行环境对管理工具的需求、每个管理工具的不同命令以及存储库中不同的*-版本文件。

direnv

使用可以根据当前目录加载和卸载环境变量的新功能增强现有 shell。

asdf 不管理环境变量,但是有一个插件 asdf-direnv 可以用来集成 direnv 的特性到 asdf 中。

请查看 direnv 文档 了解更多。

Homebrew

macOS(或者 Linux)上缺失包的管理器

Homebrew 管理你的软件包及其上游依赖。asdf 不管理上游依赖,它不是包管理器。这个责任取决于用户,尽管我们试图保持依赖关系列表很小。

请查看 Homebrew 文档 了解更多。

NixOS

Nix 是一种采用独特方法进行软件包管理和系统配置的工具

NixOS 旨在通过管理每个工具的整个依赖关系树中软件包的确切版本来构建真正可重复的环境,有些是 asdf 无法做到的。NixOS 使用自己的编程语言、许多命令行工具和超过 60,000 个包的包集合来实现这一点。

同样,asdf 不管理上游依赖,并且它不是一个包管理器。

请查看 NixOS 文档 了解更多。

为什么使用 asdf?

asdf 确保团队可以使用完全相同的工具版本,通过插件系统支持很多工具,以及作为 Shell 配置中包含的单个 Shell 脚本的 简单性和熟悉性

注意

asdf 并不打算成为一个系统包管理器。它是一个工具版本管理器。仅仅因为你可以为任何工具创建插件并使用 asdf 管理其版本,并不意味着这是这个特定工具的最佳实践方案。

+ + + + \ No newline at end of file diff --git a/zh-hans/index.html b/zh-hans/index.html new file mode 100644 index 00000000..2101bb26 --- /dev/null +++ b/zh-hans/index.html @@ -0,0 +1,24 @@ + + + + + + asdf + + + + + + + + + + + + + +
Skip to content

asdf

多运行时版本管理器

使用一个工具管理所有运行时版本!

+ + + + \ No newline at end of file diff --git a/zh-hans/manage/commands.html b/zh-hans/manage/commands.html new file mode 100644 index 00000000..621cca02 --- /dev/null +++ b/zh-hans/manage/commands.html @@ -0,0 +1,89 @@ + + + + + + 所有命令 | asdf + + + + + + + + + + + + + +
Skip to content

所有命令

asdf 中所有可用命令的列表。这个列表就是 asdf help 命令的打印内容。

txt
MANAGE PLUGINS
+asdf plugin add <name> [<git-url>]      Add a plugin from the plugin repo OR,
+                                        add a Git repo as a plugin by
+                                        specifying the name and repo url
+asdf plugin list [--urls] [--refs]      List installed plugins. Optionally show
+                                        git urls and git-ref
+asdf plugin list all                    List plugins registered on asdf-plugins
+                                        repository with URLs
+asdf plugin remove <name>               Remove plugin and package versions
+asdf plugin update <name> [<git-ref>]   Update a plugin to latest commit on
+                                        default branch or a particular git-ref
+asdf plugin update --all                Update all plugins to latest commit on
+                                        default branch
+
+
+MANAGE PACKAGES
+asdf current                            Display current version set or being
+                                        used for all packages
+asdf current <name>                     Display current version set or being
+                                        used for package
+asdf global <name> <version>            Set the package global version
+asdf global <name> latest[:<version>]   Set the package global version to the
+                                        latest provided version
+asdf help <name> [<version>]            Output documentation for plugin and tool
+asdf install                            Install all the package versions listed
+                                        in the .tool-versions file
+asdf install <name>                     Install one tool at the version
+                                        specified in the .tool-versions file
+asdf install <name> <version>           Install a specific version of a package
+asdf install <name> latest[:<version>]  Install the latest stable version of a
+                                        package, or with optional version,
+                                        install the latest stable version that
+                                        begins with the given string
+asdf latest <name> [<version>]          Show latest stable version of a package
+asdf latest --all                       Show latest stable version of all the
+                                        packages and if they are installed
+asdf list <name> [version]              List installed versions of a package and
+                                        optionally filter the versions
+asdf list all <name> [<version>]        List all versions of a package and
+                                        optionally filter the returned versions
+asdf local <name> <version>             Set the package local version
+asdf local <name> latest[:<version>]    Set the package local version to the
+                                        latest provided version
+asdf shell <name> <version>             Set the package version to
+                                        `ASDF_${LANG}_VERSION` in the current shell
+asdf uninstall <name> <version>         Remove a specific version of a package
+asdf where <name> [<version>]           Display install path for an installed
+                                        or current version
+asdf which <command>                    Display the path to an executable
+
+
+UTILS
+asdf exec <command> [args...]           Executes the command shim for current version
+asdf env <command> [util]               Runs util (default: `env`) inside the
+                                        environment used for command shim execution.
+asdf info                               Print OS, Shell and ASDF debug information.
+asdf version                            Print the currently installed version of ASDF
+asdf reshim <name> <version>            Recreate shims for version of a package
+asdf shim-versions <command>            List the plugins and versions that
+                                        provide a command
+asdf update                             Update asdf to the latest stable release
+asdf update --head                      Update asdf to the latest on the master branch
+
+RESOURCES
+GitHub: https://github.com/asdf-vm/asdf
+Docs:   https://asdf-vm.com
+ + + + \ No newline at end of file diff --git a/zh-hans/manage/configuration.html b/zh-hans/manage/configuration.html new file mode 100644 index 00000000..027f552d --- /dev/null +++ b/zh-hans/manage/configuration.html @@ -0,0 +1,32 @@ + + + + + + 配置 | asdf + + + + + + + + + + + + + +
Skip to content

配置

asdf 配置既包括可共享的 .tool-versions 文件,也包括用户特定的自定义 .asdfrc 和环境变量。

.tool-versions

无论何时 .tool-versions 出现在目录中,它所声明的工具版本将会被用于该目录和任意子目录。

注意

全局默认配置将设置在文件$HOME/.tool-versions

一个 .tool-versions 文件示例如下所示:

ruby 2.5.3
+nodejs 10.15.0

你也可以包含注释在里面:

ruby 2.5.3 # 这是一个注释
+# 这是另一个注释
+nodejs 10.15.0

版本号可以有如下格式:

  • 10.15.0 - 实际的版本号。支持下载二进制文件的插件将会下载二进制文件。
  • ref:v1.0.2-a 或者 ref:39cb398vb39 - 指定标签/提交/分支从 github 下载并编译。
  • path:~/src/elixir - 要使用的工具的自定义编译版本的路径。这种方式供语言开发者等使用。
  • system - 此关键字会导致 asdf 传递系统上未由 asdf 管理的工具版本。

提示

多版本可以通过空格将它们分隔开来。比如,使用 Python 3.7.2 回退到 Python 2.7.15 最后回退到 system Python,可以将以下行的内容添加到 .tool-versions 文件中。

python 3.7.2 2.7.15 system

为了安装 .tool-versions 文件中定义的所有工具,在包含 .tool-versions 文件的目录中不带其他参数执行 asdf install 命令。

为了安装 .tool-versions 文件中定义的某个工具,在包含 .tool-versions 文件的目录中运行 asdf install <name> 命令。这个工具将会安装 .tool-versions 文件所指定的版本。

可以直接编辑这个文件或者使用 asdf local (或者 asdf global)来更新工具版本。

$HOME/.asdfrc

给你的家目录添加一个 .asdfrc 文件然后 asdf 将会使用这个文件所指定的配置。下面的文件展示了所需的格式,其中包含用于演示的默认值:

txt
legacy_version_file = no
+use_release_candidates = no
+always_keep_download = no
+plugin_repository_last_check_duration = 60
+disable_plugin_short_name_repository = no
+concurrency = auto

legacy_version_file

插件 支持 读取其他版本管理器使用的版本文件,比如,Ruby 的 rbenv.ruby-version 文件。

选项描述
no 默认.tool-versions 文件读取版本
yes如果可行的话,从传统版本文件读取版本(.ruby-versions

use_release_candidates

配置 asdf update 命令以升级到最新的候选版本,而不是最新的语义版本。

选项描述
no 默认语义版本被使用
yes候选版本被使用

always_keep_download

配置 asdf install 命令以保留或删除下载的源代码或二进制文件。

选项描述
no 默认在成功安装后删除源代码或二进制文件
yes在成功安装后保留源代码或二进制文件

plugin_repository_last_check_duration

配置自上次 asdf 插件存储库同步到下一次存储库同步的持续时间。命令 asdf plugin add <name> 或者 asdf plugin list all 将会触发持续时间的检查,如果持续时间已过,则进行同步。

选项描述
1999999999 的数字
默认60
如果已过自上次同步的持续时间,触发器事件发生时同步
0每个触发器事件发生时同步
never从不同步

环境变量

  • ASDF_CONFIG_FILE - 如上所述默认为 ~/.asdfrc 文件。可以被设置在任何位置。
  • ASDF_DEFAULT_TOOL_VERSIONS_FILENAME - 存储工具名称和版本的文件名。默认为 .tool-versions。可以是任何有效的文件名。通常,除非你知道你希望 asdf 忽略 .tool-versions 文件,否则不应该覆盖默认值。
  • ASDF_DIR - 默认为 ~/.asdf - asdf 脚本的位置。如果你把 asdf 安装到了其他目录,请设置该变量到那个目录。比如,如果通过 AUR 进行安装,则应设置该变量为 /opt/asdf-vm
  • ASDF_DATA_DIR - 默认为 ~/.asdf - asdf 安装插件、垫片和安装器的位置。可以被设置在上一节提到的生效 asdf.sh 或者 asdf.fish 之间的任何位置。对于 Elvish,这可以设置在 use asdf 上面。

内部配置

用户不必担心本节,因为它描述了对包管理器和集成者有用的 asdf 的内部配置。

  • $ASDF_DIR/asdf_updates_disabled:当此文件存在时(内容无关),通过 asdf update 命令进行的更新 将会被禁用。像 Pacman 或者 Homebrew 等包管理器使用它来确保个性化安装的正确的更新方法。
+ + + + \ No newline at end of file diff --git a/zh-hans/manage/core.html b/zh-hans/manage/core.html new file mode 100644 index 00000000..7a4c1fd0 --- /dev/null +++ b/zh-hans/manage/core.html @@ -0,0 +1,41 @@ + + + + + + 核心 | asdf + + + + + + + + + + + + + +
Skip to content

核心

核心 asdf 命令列表很小,但可以促进很多工作流。

安装和配置

请查看 快速上手 了解更多详情。

Exec

shell
asdf exec <command> [args...]

执行当前版本的命令垫片。

Env

shell
asdf env <command> [util]

Info

shell
asdf info

用于打印操作系统、Shell 和 asdf 调试信息的辅助命令。在报告 bug 时需要共享这些信息。

Reshim

shell
asdf reshim <name> <version>

这将为某个包的当前版本重新创建垫片。默认情况下,垫片是在某个工具安装的过程中由插件创建。一些工具像 npm 命令行 允许全局安装可执行程序,比如使用 npm install -g yarn 命令安装 Yarn。因为这个可执行程序不是通过插件生命周期安装的,所以还没有对应的垫片存在。asdf reshim nodejs <version> 命令将会强制重新计算任何新可执行程序的垫片,类似 nodejsversions 版本下的 yarn

Shim-versions

shell
asdf shim-versions <command>

列举为命令提供垫片的插件和版本。

例如,Node.js 附带了两个可执行程序,nodenpm。当使用 asdf-nodejs插件安装了这些工具的很多版本时,执行shim-versions` 命令会返回:

shell
 asdf shim-versions node
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0
shell
 asdf shim-versions npm
+nodejs 14.8.0
+nodejs 14.17.3
+nodejs 16.5.0

更新

asdf 有一个依赖于 Git (我们推荐的安装方法)的内置命令用于更新。如果你使用了其他方法安装,则应按照该方法的步骤操作:

方法最新稳定版本master 分支上的最新提交
asdf (Git)asdf updateasdf update --head
Homebrewbrew upgrade asdfbrew upgrade asdf --fetch-HEAD
Pacman下载一个新的 PKGBUILD 并且重新编译
或者使用你习惯的 AUR helper

卸载

根据以下步骤卸载 asdf

Bash & Git
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Git (macOS)
  1. ~/.bash_profile 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+. "$HOME/.asdf/completions/asdf.bash"
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

补全功能可能已经如 Homebrew 的指南 那样配置了,因此请按照他们的指南找出要删除的内容。

  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Homebrew (macOS)

如果你正在使用 macOS Catalina 以及更新版本,默认的 shell 已经变成了 ZSH。如果你在 ~/.bash_profile 文件中找不到任何配置,则可能位于 ~/.zshrc 中。在这种情况下,请按照 ZSH 指南进行操作。

  1. ~/.bash_profile 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
+. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash

补全功能可能已经如 Homebrew 的指南 那样配置了,因此请按照他们的指南找出要删除的内容。

  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Bash & Pacman
  1. ~/.bashrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. /opt/asdf-vm/asdf.sh
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Git
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source ~/.asdf/asdf.fish

以及使用以下命令移除补全功能:

shell
rm -rf ~/.config/fish/completions/asdf.fish
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Homebrew
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source "(brew --prefix asdf)"/libexec/asdf.fish
  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Fish & Pacman
  1. ~/.config/fish/config.fish 配置文件中移除生效 asdf.fish 的行:
shell
source /opt/asdf-vm/asdf.fish
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
rm -rf (string join : -- $ASDF_DATA_DIR $HOME/.asdf)
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Git
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 移除 $HOME/.asdf 目录:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Homebrew
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 用包管理器卸载:
shell
brew uninstall asdf --force
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
Elvish & Pacman
  1. ~/.config/elvish/rc.elv 配置文件中移除使用 asdf 模块的行:
shell
use asdf _asdf; var asdf~ = $_asdf:asdf~
+set edit:completion:arg-completer[asdf] = $_asdf:arg-completer~

以及使用以下命令卸载 asdf 模块:

shell
rm -f ~/.config/elvish/lib/asdf.elv
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录:
shell
if (!=s $E:ASDF_DATA_DIR "") { rm -rf $E:ASDF_DATA_DIR } else { rm -rf ~/.asdf }
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Git
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 和补全功能的行:
shell
. "$HOME/.asdf/asdf.sh"
+# ...
+fpath=(${ASDF_DIR}/completions $fpath)
+autoload -Uz compinit
+compinit

或者 ZSH 框架插件(如果用了的话)

  1. 移除 $HOME/.asdf 目录:
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Homebrew
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 的行:
shell
. $(brew --prefix asdf)/libexec/asdf.sh
  1. 用包管理器卸载:
shell
brew uninstall asdf --force && brew autoremove
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"
ZSH & Pacman
  1. ~/.zshrc 配置文件中移除生效 asdf.sh 的行:
shell
. /opt/asdf-vm/asdf.sh
  1. 用包管理器卸载:
shell
pacman -Rs asdf-vm
  1. 移除 $HOME/.asdf 目录
shell
rm -rf "${ASDF_DATA_DIR:-$HOME/.asdf}"
  1. 执行以下命令移除 asdf 所有配置文件:
shell
rm -rf "$HOME/.tool-versions" "$HOME/.asdfrc"

恭喜你完成了 🎉

+ + + + \ No newline at end of file diff --git a/zh-hans/manage/plugins.html b/zh-hans/manage/plugins.html new file mode 100644 index 00000000..6b6878d5 --- /dev/null +++ b/zh-hans/manage/plugins.html @@ -0,0 +1,34 @@ + + + + + + 插件 | asdf + + + + + + + + + + + + + +
Skip to content

插件

插件告诉 asdf 如何处理不同的工具,如 Node.js、 Ruby、 Elixir 等。

请参考 创建插件 了解用于支持更多工具的插件 API。

添加

通过 Git URL 地址添加插件:

shell
asdf plugin add <name> <git-url>
+# asdf plugin add elm https://github.com/vic/asdf-elm

或者通过插件存储库中的缩写添加插件:

shell
asdf plugin add <name>
+# asdf plugin add erlang

建议

推荐独立于缩写存储库的、更长的 git-url 方法。

列举已安装

shell
asdf plugin list
+# asdf plugin list
+# java
+# nodejs
shell
asdf plugin list --urls
+# asdf plugin list
+# java            https://github.com/halcyon/asdf-java.git
+# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

列举缩写存储库中的所有插件

shell
asdf plugin list all

请参考 插件缩写索引 了解插件的完整缩写列表。

更新

shell
asdf plugin update --all

如果你想要更新特定的包,如下所示。

shell
asdf plugin update <name>
+# asdf plugin update erlang

这种更新方式将会获取插件存储库的 源代码默认分支最新提交。版本化的插件和更新正在开发中 (#916)。

移除

bash
asdf plugin remove <name>
+# asdf plugin remove erlang

移除一个插件将会移除该插件安装的所有工具。这可以当作是清理/修剪工具的许多未使用版本的简单方法。

同步缩写存储库

缩写存储库将同步到你的本地计算机并定期刷新。这个周期由以下方法确定:

  • 命令 asdf plugin add <name> 或者 asdf plugin list all 将会触发同步
  • 如果在过去的 X 分钟内没有同步,则进行同步
  • X 默认是 60,但可以通过在 .asdfrc 文件中配置 plugin_repository_last_check_duration 选项来进行配置。请查看 asdf 配置文档 了解更多。
+ + + + \ No newline at end of file diff --git a/zh-hans/manage/versions.html b/zh-hans/manage/versions.html new file mode 100644 index 00000000..89c26cc5 --- /dev/null +++ b/zh-hans/manage/versions.html @@ -0,0 +1,53 @@ + + + + + + 版本 | asdf + + + + + + + + + + + + + +
Skip to content

版本

安装版本

shell
asdf install <name> <version>
+# asdf install erlang 17.3

如果一个插件支持从源代码下载和编译,你可以指定 ref:foo,其中 foo 是特定的分支、标签或者提交。卸载该版本时,你也需要使用相同的名称和引用。

安装最新稳定版本

shell
asdf install <name> latest
+# asdf install erlang latest

安装给定字符串开头的最新稳定版本。

shell
asdf install <name> latest:<version>
+# asdf install erlang latest:17

列举已安装版本

shell
asdf list <name>
+# asdf list erlang

筛选出以给定字符串开头的版本。

shell
asdf list <name> <version>
+# asdf list erlang 17

列举所有可用版本

shell
asdf list all <name>
+# asdf list all erlang

筛选出以给定字符串开头的版本。

shell
asdf list all <name> <version>
+# asdf list all erlang 17

显示最新稳定版本

shell
asdf latest <name>
+# asdf latest erlang

显示以给定字符串开头的最新稳定版本。

shell
asdf latest <name> <version>
+# asdf latest erlang 17

设置当前版本

shell
asdf global <name> <version> [<version>...]
+asdf shell <name> <version> [<version>...]
+asdf local <name> <version> [<version>...]
+# asdf global elixir 1.2.4
+
+asdf global <name> latest[:<version>]
+asdf local <name> latest[:<version>]
+# asdf global elixir latest

global 将版本写到 $HOME/.tool-versions 文件中。

shell 仅为当前 shell 会话将版本设置为一个名为 ASDF_${LANG}_VERSION 的环境变量。

local 将版本写到 $PWD/.tool-versions 文件中,如果有需要也会创建此文件。

请查看 配置部分.tool-versions 文件了解更多详情。

可选

如果你只是想为当前 shell 会话或者在特定工具版本下执行一条命令,你可以设置一个类似 ASDF_${TOOL}_VERSION 的环境变量。

下面的示例在版本为 1.4.0 的 Elixir 项目上运行测试。 版本格式与 .tool-versions 文件支持的版本格式相同。

shell
ASDF_ELIXIR_VERSION=1.4.0 mix test

回退到系统版本

要使用工具 <name> 的系统版本而非 asdf 管理版本,你可以将工具的版本设置为 system

使用 globallocal 或者 shell 设置系统,如上面的 设置当前版本 部分所述。

shell
asdf local <name> system
+# asdf local python system

显示当前版本

shell
asdf current
+# asdf current
+# erlang 17.3 (set by /Users/kim/.tool-versions)
+# nodejs 6.11.5 (set by /Users/kim/cool-node-project/.tool-versions)
+
+asdf current <name>
+# asdf current erlang
+# 17.3 (set by /Users/kim/.tool-versions)

卸载版本

shell
asdf uninstall <name> <version>
+# asdf uninstall erlang 17.3

垫片(Shims)

当 asdf 安装一个包时,它会在 $ASDF_DATA_DIR/shims 目录(默认为 ~/.asdf/shims)中为该包中的每个可执行程序创建垫片。这个位于 $PATH 中(通过 asdf.shasdf.fish 等等实现)的目录是已安装程序在环境中可用的方式。

垫片本身是非常简单的包装器,它 exec (执行)一个辅助程序 asdf exec,向其传递插件的名称和垫片正在包装的已安装包中的可执行程序的路径。

asdf exec 辅助程序确定要使用的软件包版本(比如在 .tool-versions 文件中指定,通过 asdf local ... 或者 asdf global ... 命令选择)、软件包安装目录中的可执行程序的最终路径(这可以在插件中通过 exec-path 回调来操作)以及要在其中执行的环境(也由插件 - exec-env 脚本提供),最后完成执行。

注意

因为此系统使用 exec 调用,所以软件包中的任何脚本如果要由 shell 生效而不是执行的脚本都需要直接访问,而不是通过垫片包装器进行访问。两个 asdf 命令:whichwhere 可以通过返回已安装软件包的路径来帮助解决这个问题。

shell
# 返回当前版本中主要可执行程序的路径
+source $(asdf which ${PLUGIN})/../script.sh
+
+# 返回软件包安装目录的路径
+source $(asdf where ${PLUGIN} $(asdf current ${PLUGIN}))/bin/script.sh

绕过 asdf 垫片

如果由于某种原因,你希望绕过 asdf 垫片,或者希望在进入项目目录时自动设置环境变量,则 asdf-direnv 插件可能会有所帮助。请务必查看其 README 文件了解更多详情。

+ + + + \ No newline at end of file diff --git a/zh-hans/more/community-projects.html b/zh-hans/more/community-projects.html new file mode 100644 index 00000000..e61ce4b5 --- /dev/null +++ b/zh-hans/more/community-projects.html @@ -0,0 +1,24 @@ + + + + + + Community Projects | asdf + + + + + + + + + + + + + +
Skip to content

Community Projects

Here are some community projects related to asdf:

Note

asdf core do not own these projects or their code. asdf core are not responsible for the quality or security as they relate to those listed here.

+ + + + \ No newline at end of file diff --git a/zh-hans/more/faq.html b/zh-hans/more/faq.html new file mode 100644 index 00000000..146e6469 --- /dev/null +++ b/zh-hans/more/faq.html @@ -0,0 +1,24 @@ + + + + + + FAQ | asdf + + + + + + + + + + + + + +
Skip to content

FAQ

以下是 asdf 相关的一些常见问题。

支持 WSL1 吗?

WSL1 (Windows Subsystem for Linux 1) 不受官方支持。asdf 的某些方面可能无法正常工作。我们不打算添加对 WSL1 的官方支持。

支持 WSL2 吗?

WSL2 (Windows Subsystem for Linux 2) 应该作为你选择的 WSL 发行版来使用本设置和依赖说明。

重要的是,只有当前工作目录是 Unix 驱动器而不是绑定的 Windows 驱动器时,WSL2 才能 正常工作。

当 Github Actions 上提供主机运行器支持时,我们打算在 WSL2 上运行测试套件。(Github Actions 目前还未提供 WSL2 支持)

新安装的可执行程序无法运行?

我执行了 npm install -g yarn 命令,但是之后不能运行 yarn 命令。这是为什么?

asdf 使用 垫片 来管理可执行程序。插件所安装的那些命令会自动创建垫片,而通过 asdf 管理工具安装过的可执行程序则需要通知 asdf 创建垫片的需要。在这个例子中,为 Yarn 创建一个垫片即可。请查看 asdf reshim 命令文档 了解更多。

Shell 没有检测到新安装的垫片?

如果 asdf reshim 没有解决你的问题,那么很有可能是在 asdf.sh 或者 asdf.fish 的生效不在你的 Shell 配置文件(.bash_profile.zshrcconfig.fish 等等)的下方。这需要你在设置你的 $PATH 之后和生效你的框架(oh-my-zsh 等等)(如果有的话)之后再生效。

+ + + + \ No newline at end of file diff --git a/zh-hans/more/thanks.html b/zh-hans/more/thanks.html new file mode 100644 index 00000000..04c043c5 --- /dev/null +++ b/zh-hans/more/thanks.html @@ -0,0 +1,24 @@ + + + + + + 致谢 | asdf + + + + + + + + + + + + + +
Skip to content

致谢

asdf 作者和贡献者的感谢页!

作者

我 (@HashNuke),高烧、感冒、咳嗽。

版权 2014 直到时间尽头 (MIT License)

维护者

贡献者

请查看 Github 上的 贡献者名单 🙏 了解更多。

+ + + + \ No newline at end of file diff --git a/zh-hans/plugins/create.html b/zh-hans/plugins/create.html new file mode 100644 index 00000000..31cedff3 --- /dev/null +++ b/zh-hans/plugins/create.html @@ -0,0 +1,58 @@ + + + + + + 创建插件 | asdf + + + + + + + + + + + + + +
Skip to content

创建插件

插件里有什么

插件是一个包含几个可执行脚本的 git 存储库,用于支持对某种语言或工具进行版本控制。这些脚本在执行 list-allinstall 或者 uninstall 命令时被执行。你可以设定或取消设定环境变量,并执行设置工具环境所需的任何操作。

必要的脚本

  • bin/list-all - 列举所有可安装的版本
  • bin/download - 下载指定版本的源代码或二进制文件
  • bin/install - 安装指定版本

环境变量

所有脚本除了 bin/list-all 之外对以下环境变量有权限进行操作:

  • ASDF_INSTALL_TYPE - version 或者 ref
  • ASDF_INSTALL_VERSION - 如果 ASDF_INSTALL_TYPEversion,那么这将是版本号。否则它将传递为 git 的 ref。可能指向存储库的一个标签/提交/分支。
  • ASDF_INSTALL_PATH - 已经 安装到的目录(或 bin/install 脚本执行情况下 应该 安装到的目录)

这些附加的环境变量将可用于 bin/install 脚本:

  • ASDF_CONCURRENCY - 编译源代码时使用的内核数。对于配置 make -j 非常有用。
  • ASDF_DOWNLOAD_PATH - bin/download 脚本下载源代码或二进制文件的路径。

这些附加的环境变量将可用于 bin/download 脚本:

  • ASDF_DOWNLOAD_PATH - 源代码或二进制文件应该下载到的路径。

bin/list-all

必须打印一个带有空格分隔的版本列表的字符串,示例输出如下所示:

shell
1.0.1 1.0.2 1.3.0 1.4

请注意,最新版本应列在最后,以便它看起来更接近用户的提示。这很有帮助,因为 list-all 命令会在自己的行打印每个版本。如果有很多版本,那么早期版本可能会不在屏幕上。

如果从网站上的发布页面拉取版本,建议尽可能不对版本进行排序。通常,版本已经按照正确的顺序排列,或者以相反的顺序排列,在这种情况下,像 tac 这样的东西就足够了。如果必须手动对版本进行排序,则不能依赖 sort -V,因为 OSX 操作系统不支持。一种可以替代的排序功能是 更好的选择

bin/download

此脚本必须下载源代码或者二进制文件到 ASDF_DOWNLOAD_PATH 环境变量包含的路径。如果下载的源代码或者二进制文件是压缩的,则只有未压缩的源代码或二进制文件会放置在 ASDF_DOWNLOAD_PATH 目录中。

下载成功后脚本必须以 0 状态退出。如果下载失败,脚本必须以任何非零退出状态退出。

如果可能,脚本应该仅将文件放在 ASDF_DOWNLOAD_PATH 中。如果下载失败,则不应将任何文件放在目录中。

如果此脚本不存在,asdf 将假设存在 bin/install 脚本,将下载并安装该版本。asdf 仅在没有此脚本的情况下才能支持传统插件。所有插件都必须包含此脚本,最终将删除对传统插件的支持。

bin/install

本脚本应在 ASDF_INSTALL_PATH 中安装版本。默认情况下,asdf 将为 $ASDF_INSTALL_PATH/bin (可以通过可选的 bin/list-bin-paths 脚本自定义)目录中的任意文件创建垫片。

安装成功时,安装脚本应以 0 状态退出。如果安装失败,脚本应以任何非零退出状态退出。

如果可能,脚本应仅在安装脚本认为工具的生成和安装成功后,才将文件放在 ASDF_INSTALL_PATH 目录中。asdf 检查 ASDF_INSTALL_PATH 目录的 扩展 以确认是否安装了该工具版本。如果在安装过程开始时填充了 ASDF_INSTALL_PATH 目录,则在安装过程中在其他终端中运行的其他 asdf 命令可能会认为该工具版本已经安装,即使它还未完全安装。

如果你希望你的插件使用 asdf 0.7._ 及更早版本和 0.8._ 及更高版本,请检查是否存在 ASDF_DOWNLOAD_PATH 环境变量。如果未设置,请在 bin/install 脚本回调时下载源代码。如果设置,则假设 bin/downlaod 脚本已经下载源代码。

可选脚本

bin/help 脚本

这不是一个回调脚本,而是一组回调脚本,每个脚本将打印不同的文档到 STDOUT。下面列出了可能的回调脚本。请注意,bin/help.overview 是一种特殊情况,因为必须存在才能为脚本显示任何帮助输出。

  • bin/help.overview - 此脚本应该输出有关插件和所管理工具的一般描述。不应该打印任何标题,因为 asdf 将打印标题。输出可以是自由格式的文本,但理想情况下只有一个短段落。如果你希望 asdf 为你的插件提供帮助信息,则必须存在此脚本。所有其他的帮助回调脚本都是可选的。
  • bin/help.deps - 此脚本应该输出为操作系统量身定制的依赖项列表。每行一个依赖项。
  • bin/help.config - 此脚本应该打印对插件和工具可能有用的任何必需或可选配置。安装或编译该工具所需的任何环境变量或其他标志(尽可能针对用户的操作系统)。输出可以是自由格式的文本。
  • bin/help.links - 这应该是与插件和工具相关的链接列表(同样,尽可能针对当前操作系统量身定制)。每行一个链接。行的格式可以是 <title>: <link> 或只是 <link>

这些脚本的每一个都应根据当前操作系统调整其输出。例如,在 Ubuntu 上,依赖脚本可以将依赖项输出为必须安装的 apt-get 包。设置变量时,脚本还应该根据设置变量 ASDF_INSTALL_VERSIONASDF_INSTALL_TYPE 的值。它们是可选的,并不总是被设置。

帮助回调脚本不得输出核心 asdf-vm 文档中已涵盖的任何信息。不得出现一般的 asdf 使用信息。

bin/latest-stable

如果实现了此回调,asdf 将使用它来确定工具的最新稳定版本,而不是尝试自行判断。asdf latest 通过查看由 list-all 回调打印的最新版本,在从输出中排除了几种类型的版本(如发布候选版本)之后推断出最新版本。当你的插件的 list-all 回调打印同一工具的不同变体并且最新版本不是你希望默认使用的变体的最新稳定版本时,这种默认行为是不可取的。例如,对于 Ruby,最新的稳定版本应该是 Ruby(MRI)的常规实现,但最后 list-all 回调打印的是 truffleruby 版本。

此回调使用单个 “过滤器” 字符串调用,因为它是唯一的参数。这应该用于过滤所有最新稳定版本。例如对于 Ruby,用户可以选择传入 jruby 以选择 jruby 的最新稳定版本。

bin/list-bin-paths

列举指定工具版本的可执行程序。必须打印一个带有空格分隔的包含可执行文件的目录路径列表的字符串。路径必须相对于传递的安装路径。示例输出如下所示:

shell
bin tools veggies

这将指示 asdf 为 <install-path>/bin<install-path>/tools<install-path>/veggies 中的文件创建垫片。

如果未指定此脚本,asdf 将在安装中查找 bin 目录并为这些脚本创建垫片。

bin/exec-env

设置环境变量以运行包中的二进制文件。

bin/exec-path

获取工具的指定版本的可执行程序路径。必须打印具有相对可执行程序路径的字符串。这允许插件有条件地覆盖垫片指定的可执行程序路径,否则返回垫片指定的默认路径。

shell
用法:
+  plugin/bin/exec-path <install-path> <command> <executable-path>
+
+例子调用:
+  ~/.asdf/plugins/foo/bin/exec-path "~/.asdf/installs/foo/1.0" "foo" "bin/foo"
+
+输出:
+  bin/foox

bin/uninstall

卸载某个工具的指定版本。

bin/list-legacy-filenames

为此插件注册其他设置器文件。必须打印一个带有空格分隔的文件名列表的字符串。

shell
.ruby-version .rvmrc

注意:这仅适用于在 ~/.asdfrc 配置文件中启用了 legacy_version_file 选项的用户。

bin/parse-legacy-file

这可用于进一步解析 asdf 找到的传统文件。如果 parse-legacy-file 未实现,asdf 将会简单读取文件来确定版本。脚本将传递文件路径作为其第一个参数。

bin/post-plugin-add

这可用于在插件添加到 asdf 后运行任何安装后操作。

该脚本可以访问插件的安装路径(${ASDF_PLUGIN_PATH})和源 URL(${ASDF_PLUGIN_SOURCE_URL}),如果有的话。

其他请参考相关钩子:

  • pre_asdf_plugin_add
  • pre_asdf_plugin_add_${plugin_name}
  • post_asdf_plugin_add
  • post_asdf_plugin_add_${plugin_name}

bin/post-plugin-update

这可用于在 asdf 下载更新的插件后运行任何插件更新后操作。

该脚本可以访问插件的安装路径(${ASDF_PLUGIN_PATH})、更新前的 git-ref(${ASDF_PLUGIN_PREV_REF})和更新后的 git-ref(${ASDF_PLUGIN_POST_REF})。

其他请参考相关钩子:

  • pre_asdf_plugin_update
  • pre_asdf_plugin_update_${plugin_name}
  • post_asdf_plugin_update
  • post_asdf_plugin_update_${plugin_name}

bin/pre-plugin-remove

这可用于在从 asdf 中删除插件之前运行任何预删除操作。

该脚本可以访问安装插件的路径(${ASDF_PLUGIN_PATH})。

其他请参考相关钩子:

  • pre_asdf_plugin_remove
  • pre_asdf_plugin_remove_${plugin_name}
  • post_asdf_plugin_remove
  • post_asdf_plugin_remove_${plugin_name}

asdf 命令行的扩展命令

插件可以通过提供 lib/commands/command*.bash 脚本或者可执行程序来定义新的 asdf 命令,这些脚本或可执行程序将使用插件名称作为 asdf 命令的子命令进行调用。

例如,假设一个 foo 插件有以下文件:

shell
foo/
+  lib/commands/
+    command.bash
+    command-bat.bash
+    command-bat-man.bash
+    command-help.bash

用户现在可以执行:

shell
$ asdf foo         # 等同于运行 `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash`
+$ asdf foo bar     # 等同于运行 `$ASDF_DATA_DIR/plugins/foo/lib/commands/command.bash bar`
+$ asdf foo help    # 等同于运行 `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-help.bash`
+$ asdf foo bat man # 等同于运行 `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat-man.bash`
+$ asdf foo bat baz # 等同于运行 `$ASDF_DATA_DIR/plugins/foo/lib/commands/command-bat.bash baz`

插件作者可以使用此功能来提供与其工具相关的实用命令,或者可以创建 asdf 本身的新命令扩展的插件。

调用时,如果扩展命令未设置其可执行位,则它们将作为 bash 脚本获取,且具有来自 $ASDF_DIR/lib/utils.bash 的所有可用功能。 此外,$ASDF_CMD_FILE 解析所获取文件的完整路径。 如果设置了可执行位,则只是执行它们并替换 asdf 执行。

这个功能的一个很好的例子是像 haxe 这样的插件。 它提供了 asdf haxe neko-dylibs-link 来修复 haxe 可执行文件期望找到相对于可执行目录的动态链接库的问题。

如果你的插件提供了 asdf 扩展命令,请务必在插件的 README 文件中提及。

自定义垫片模板

请仅在真的需要时才使用此功能

asdf 允许自定义垫片模板。对于名为 foo 的可执行程序,如果有一个 shims/foo 的文件在插件中,那么 asdf 将复制这个文件替代使用标准垫片模板。

必须明智地使用这一点。对于目前的 AFAIK,它仅仅被使用在了 Elixir 插件中,因为一个可执行程序除了是可执行程序文件之外,还被读作为 Elixir 文件,这使得无法使用标准的 bash 垫片。

测试插件

asdf 包含 plugin-test 命令用于测试插件。你可以像下面这样使用它:

shell
asdf plugin test <plugin-name> <plugin-url> [--asdf-tool-version <version>] [--asdf-plugin-gitref <git-ref>] [test-command*]

只有前两个参数是必须的。 如果指定了 _version,则该工具将随指定版本一起安装。默认返回为 asdf latest <plugin-name>。 如果指定了 git-ref,则插件将检查提交/分支/标签。这对于在该插件的 CI 上测试拉取请求非常有用。默认值是插件仓库的默认分支。

剩下的参数被视为要执行的命令,以确保安装的工具正常工作。通常情况下,它需要带 --version 或者 --help。例如,要测试 NodeJS 插件,我们可以运行:

shell
asdf plugin test nodejs https://github.com/asdf-vm/asdf-nodejs.git node --version

我们强烈建议你在 CI 环境中测试你的插件,并确保它可以在 Linux 和 OSX 上运行。

GitHub Action 示例

asdf-vm/actions 存储库为托管在 github 的项目提供了使用 Github Action 来测试插件的可能。

yaml
steps:
+  - name: asdf_plugin_test
+    uses: asdf-vm/actions/plugin-test@v1
+    with:
+      command: "my_tool --version"
+    env:
+      GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} # 自动提供

TravisCI 配置示例

这是一个 .travis.yml 示例文件,请根据你的需要进行自定义:

yaml
language: c
+script: asdf plugin test nodejs $TRAVIS_BUILD_DIR 'node --version'
+before_script:
+  - git clone https://github.com/asdf-vm/asdf.git asdf
+  - . asdf/asdf.sh
+os:
+  - linux
+  - osx

注意: 当使用其他 CI 时,你将需要确认哪些变量映射到存储库路径。

你还可以选择将相对路径传递给 plugin-test

例如,如果在存储库目录中运行测试脚本:asdf plugin test nodejs . 'node --version'

GitHub API 频率限制

如果你的插件的 list-all 依赖于访问 GitHub API,请确保在访问时提供授权令牌,否则你的测试可能会因频率限制而失败。

为此,创建一个仅具有 public_repo 权限的 新个人令牌

然后,在 travis.ci 构建设置中添加一个名为 GITHUB_API_TOKEN安全 环境变量。并且 绝对不要 在你的代码中公布你的 token。

最后,添加如下内容到 bin/list-all

shell
cmd="curl -s"
+if [ -n "$GITHUB_API_TOKEN" ]; then
+ cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
+fi
+
+cmd="$cmd $releases_path"

向官方插件存储库提交插件

asdf 可以通过指定插件存储库 url 轻松安装插件,比如 plugin add my-plugin https://github.com/user/asdf-my-plugin.git

为了使你的用户更轻松,你可以将插件添加到官方插件存储库中,以列出你的插件并使用较短的命令轻松安装,比如 asdf plugin add my-plugin

请查看插件存储库 asdf-vm/asdf-plugins 中的说明了解更多。

+ + + + \ No newline at end of file