1
0
card/public/book/1/ZGlkOnBsYzo0aHFqZm43bTZuNWhubzNkb2FtdWhnZWY/c2/2.html
2024-03-23 05:22:55 +09:00

670 lines
26 KiB
HTML

<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>terminal · hello world! bluesky</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="@gitbook-ng/gitbook 3.3.6">
<meta name="author" content="syui">
<link rel="stylesheet" href="../gitbook/style.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-codeblock-filename/block.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="3.html" />
<link rel="prev" href="1.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="chapter " data-level="1.1" data-path="../">
<a href="../">
hello world! bluesky
</a>
</li>
<li class="chapter " data-level="1.2" data-path="../card/">
<a href="../card/">
card
</a>
</li>
<li class="chapter " data-level="1.3" data-path="../c1/">
<a href="../c1/">
part 1
</a>
<ul class="articles">
<li class="chapter " data-level="1.3.1" data-path="../c1/1.html">
<a href="../c1/1.html">
quick start
</a>
</li>
<li class="chapter " data-level="1.3.2" data-path="../c1/2.html">
<a href="../c1/2.html">
example
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.4" data-path="./">
<a href="./">
part 2
</a>
<ul class="articles">
<li class="chapter " data-level="1.4.1" data-path="1.html">
<a href="1.html">
bluesky
</a>
</li>
<li class="chapter active" data-level="1.4.2" data-path="2.html">
<a href="2.html">
terminal
</a>
</li>
<li class="chapter " data-level="1.4.3" data-path="3.html">
<a href="3.html">
shell
</a>
</li>
<li class="chapter " data-level="1.4.4" data-path="4.html">
<a href="4.html">
rust
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.5" data-path="../c3/">
<a href="../c3/">
part 3
</a>
<ul class="articles">
<li class="chapter " data-level="1.5.1" data-path="../c3/1.html">
<a href="../c3/1.html">
hello world
</a>
</li>
<li class="chapter " data-level="1.5.2" data-path="../c3/2.html">
<a href="../c3/2.html">
seahorse
</a>
</li>
<li class="chapter " data-level="1.5.3" data-path="../c3/3.html">
<a href="../c3/3.html">
reqwest
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.6" data-path="../c4/">
<a href="../c4/">
part 4
</a>
<ul class="articles">
<li class="chapter " data-level="1.6.1" data-path="../c4/0.html">
<a href="../c4/0.html">
ai
</a>
</li>
<li class="chapter " data-level="1.6.2" data-path="../c4/1.html">
<a href="../c4/1.html">
config
</a>
</li>
<li class="chapter " data-level="1.6.3" data-path="../c4/2.html">
<a href="../c4/2.html">
mention
</a>
</li>
<li class="chapter " data-level="1.6.4" data-path="../c4/3.html">
<a href="../c4/3.html">
base64
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.7" data-path="../c5/">
<a href="../c5/">
part 5
</a>
<ul class="articles">
<li class="chapter " data-level="1.7.1" data-path="../c5/1.html">
<a href="../c5/1.html">
notify
</a>
</li>
<li class="chapter " data-level="1.7.2" data-path="../c5/2.html">
<a href="../c5/2.html">
timeline
</a>
</li>
<li class="chapter " data-level="1.7.3" data-path="../c5/3.html">
<a href="../c5/3.html">
refresh
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="1.8" data-path="../end/">
<a href="../end/">
end
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href=".." >terminal</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h3 id="terminal">terminal</h3>
<p>&#x3053;&#x3053;&#x3067;&#x306F;&#x3001;os&#x3054;&#x3068;&#x306B;&#x5FC5;&#x8981;&#x306A;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x3084;&#x74B0;&#x5883;&#x3092;&#x7528;&#x610F;&#x3059;&#x308B;&#x3053;&#x3068;&#x3092;&#x76EE;&#x6A19;&#x306B;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p><code>terminal(&#x30BF;&#x30FC;&#x30DF;&#x30CA;&#x30EB;)</code>&#x3068;&#x306F;windows&#x3067;&#x3044;&#x3046;cmd(&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x30D7;&#x30ED;&#x30F3;&#x30D7;&#x30C8;)&#x304C;&#x6709;&#x540D;&#x3067;&#x3059;&#x3002;&#x308F;&#x304B;&#x308A;&#x3084;&#x3059;&#x304F;&#x8A00;&#x3046;&#x3068;&#x9ED2;&#x3044;&#x753B;&#x9762;&#x3092;&#x6307;&#x3057;&#x307E;&#x3059;&#x3002;<code>&#x7AEF;&#x672B;</code>&#x3084;<code>term</code>&#x306A;&#x3069;&#x3068;&#x3082;&#x547C;&#x3070;&#x308C;&#x305F;&#x308A;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p>terminal&#x306B;&#x3082;&#x8272;&#x3005;&#x306A;terminal&#x3001;&#x3064;&#x307E;&#x308A;&#x3001;&#x30A2;&#x30D7;&#x30EA;(&#x30BD;&#x30D5;&#x30C8;&#x30A6;&#x30A7;&#x30A2;)&#x304C;&#x3042;&#x308A;&#x307E;&#x3059;&#x3002;</p>
<p>&#x500B;&#x4EBA;&#x7684;&#x306B;&#x306F;<a href="https://wezfurlong.org/wezterm/installation.html" target="_blank">wezterm</a>&#x304C;&#x30AA;&#x30B9;&#x30B9;&#x30E1;&#x3067;&#x3059;&#x304C;&#x3001;&#x3053;&#x3053;&#x3067;&#x306F;&#x3001;os&#x56FA;&#x6709;&#x306E;&#x3082;&#x306E;&#x3092;&#x4F7F;&#x7528;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<h4 id="package-manager">package manager</h4>
<p>&#x6700;&#x521D;&#x306B;&#x3001;<code>package manager(&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30FB;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;)</code>&#x306E;&#x89E3;&#x8AAC;&#x3092;&#x884C;&#x3044;&#x307E;&#x3059;&#x3002;</p>
<p>&#x4ECA;&#x56DE;&#x3001;&#x305D;&#x308C;&#x305E;&#x308C;&#x306E;os&#x3067;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30FB;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;&#x306E;&#x5C0E;&#x5165;&#x304C;&#x5FC5;&#x8981;&#x3067;&#x3059;&#x3002;</p>
<p>&#x306A;&#x304A;&#x3001;&#x3053;&#x3053;&#x3067;&#x306E;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x3084;&#x30D7;&#x30ED;&#x30B0;&#x30E9;&#x30E0;&#x306F;&#x30A2;&#x30D7;&#x30EA;&#x3068;&#x8A00;&#x3044;&#x304B;&#x3048;&#x308B;&#x3053;&#x3068;&#x3082;&#x3067;&#x304D;&#x307E;&#x3059;&#x3002;</p>
<p>&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30FB;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;&#x306F;&#x3001;&#x30A2;&#x30D7;&#x30EA;&#x306E;&#x30A4;&#x30F3;&#x30B9;&#x30C8;&#x30FC;&#x30EB;&#x3092;&#x7C21;&#x5358;&#x306B;&#x3057;&#x3066;&#x304F;&#x308B;&#x3082;&#x306E;&#x3068;&#x8003;&#x3048;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;&#x3002;</p>
<p>&#x901A;&#x5E38;&#x3001;&#x30A2;&#x30D7;&#x30EA;&#x306F;source(&#x30BD;&#x30FC;&#x30B9;)&#x3092;build(&#x30D3;&#x30EB;&#x30C9;)&#x307E;&#x305F;&#x306F;compile(&#x30B3;&#x30F3;&#x30D1;&#x30A4;&#x30EB;)&#x3057;&#x3001;&#x4F5C;&#x6210;&#x3055;&#x308C;&#x305F;binary(&#x30D0;&#x30A4;&#x30CA;&#x30EA;)&#x3092;&#x5B9F;&#x884C;&#x3059;&#x308B;&#x3053;&#x3068;&#x3067;&#x52D5;&#x4F5C;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p>windows&#x3067;&#x3044;&#x3046;&#x3068;<code>.exe</code>&#x304C;binary&#x306B;&#x5F53;&#x305F;&#x308A;&#x307E;&#x3059;&#x3002;</p>
<p>binary&#x306F;&#x3001;os&#x306B;&#x3088;&#x3063;&#x3066;&#x7570;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;</p>
<p>&#x3061;&#x306A;&#x307F;&#x306B;&#x3001;source&#x306F;<code>src</code>&#x3068;&#x7565;&#x3055;&#x308C;&#x3001;binary&#x306F;<code>bin</code>&#x306B;&#x7565;&#x3055;&#x308C;&#x308B;&#x3053;&#x3068;&#x304C;&#x591A;&#x3044;&#x3067;&#x3059;&#x3002;</p>
<p>&#x8A71;&#x3092;&#x623B;&#x3059;&#x3068;&#x3001;&#x3069;&#x306E;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;(binary)&#x3092;&#x3069;&#x3053;&#x304B;&#x3089;&#x30C0;&#x30A6;&#x30F3;&#x30ED;&#x30FC;&#x30C9;&#x3057;&#x3001;&#x3069;&#x3053;&#x306B;&#x7F6E;&#x304F;&#x306E;&#x304B;&#x3001;&#x305D;&#x308C;&#x3089;&#x3092;&#x81EA;&#x52D5;&#x51E6;&#x7406;&#x3057;&#x3066;&#x304F;&#x308C;&#x308B;&#x306E;&#x304C;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;&#x3067;&#x3059;&#x3002;</p>
<p>&#x306A;&#x305C;&#x3053;&#x306E;&#x3088;&#x3046;&#x306B;&#x306A;&#x3063;&#x3066;&#x3044;&#x308B;&#x306E;&#x304B;&#x3068;&#x3044;&#x3046;&#x3068;&#x3001;source&#x306E;build&#x306B;&#x306F;&#x6642;&#x9593;&#x304C;&#x304B;&#x304B;&#x308B;&#x304B;&#x3089;&#x3067;&#x3059;&#x3002;</p>
<p>&#x3067;&#x3059;&#x304B;&#x3089;&#x3001;&#x5927;&#x4F53;&#x306E;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x306F;&#x65E2;&#x306B;&#x5F53;&#x8A72;os&#x3067;build&#x3055;&#x308C;&#x3066;&#x3044;&#x308B;binary&#x3092;server(&#x30B5;&#x30FC;&#x30D0;&#x30FC;)&#x304B;&#x3089;&#x30C0;&#x30A6;&#x30F3;&#x30ED;&#x30FC;&#x30C9;&#x3057;&#x3066;&#x304F;&#x308B;&#x3060;&#x3051;&#x3067;&#x3059;&#x3002;</p>
<p>&#x305D;&#x306E;&#x5F79;&#x5272;&#x3092;&#x62C5;&#x3063;&#x3066;&#x3044;&#x308B;&#x306E;&#x304C;&#x5927;&#x534A;&#x306E;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30FB;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;&#x3068;&#x547C;&#x3070;&#x308C;&#x308B;&#x3082;&#x306E;&#x306B;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;</p>
<p>&#x4EE5;&#x964D;&#x3001;&#x3053;&#x306E;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30FB;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;&#x3092;&#x5C0E;&#x5165;&#x3057;&#x3066;<code>terminal</code>&#x304B;&#x3089;&#x4F7F;&#x3046;&#x3053;&#x3068;&#x306B;&#x306A;&#x308A;&#x307E;&#x3059;&#x3002;</p>
<h4 id="windows">windows</h4>
<p>windows&#x30E6;&#x30FC;&#x30B6;&#x30FC;&#x306E;&#x65B9;&#x306B;&#x5411;&#x3051;&#x3066;&#x5FC5;&#x8981;&#x306A;&#x74B0;&#x5883;&#x3092;&#x89E3;&#x8AAC;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<ul>
<li><p>winget</p>
</li>
<li><p>scoop</p>
</li>
<li><p>windows terminal</p>
</li>
<li><p>wsl</p>
</li>
</ul>
<p>windows&#x74B0;&#x5883;&#x306F;&#x6CE8;&#x610F;&#x304C;&#x5FC5;&#x8981;&#x3067;&#x3059;&#x3002;windows&#x306F;&#x57FA;&#x672C;&#x7684;&#x306B;docs&#x901A;&#x308A;&#x52D5;&#x304B;&#x306A;&#x3044;&#x3068;&#x3044;&#x3046;&#x3053;&#x3068;&#x3092;&#x899A;&#x3048;&#x3066;&#x304A;&#x3044;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;&#x3002;</p>
<p>&#x4F8B;&#x3048;&#x3070;&#x3001;<a href="https://github.com/microsoft" target="_blank">github/microsoft</a>&#x306B;&#x66F8;&#x3044;&#x3066;&#x3042;&#x308B;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x3092;&#x5B9F;&#x884C;&#x3057;&#x3066;&#x3082;&#x3001;&#x5927;&#x534A;&#x306F;&#x52D5;&#x304D;&#x307E;&#x305B;&#x3093;&#x3002;&#x52D5;&#x304B;&#x306A;&#x3044;&#x3053;&#x3068;&#x304C;&#x3042;&#x308A;&#x307E;&#x3059;&#x3002;</p>
<p>&#x3057;&#x305F;&#x304C;&#x3063;&#x3066;&#x3001;&#x3054;&#x81EA;&#x8EAB;&#x306E;&#x74B0;&#x5883;&#x306B;&#x5408;&#x308F;&#x305B;&#x3066;&#x8A2D;&#x5B9A;&#x3057;&#x305F;&#x308A;&#x8AAD;&#x307F;&#x66FF;&#x3048;&#x305F;&#x308A;&#x3059;&#x308B;&#x5FC5;&#x8981;&#x304C;&#x51FA;&#x3066;&#x304D;&#x307E;&#x3059;&#x3002;</p>
<p>&#x307E;&#x305A;&#x3001;windows&#x306E;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30FB;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;&#x3068;&#x3057;&#x3066;<a href="https://github.com/microsoft/winget-cli" target="_blank">winget</a>&#x3092;&#x5C0E;&#x5165;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p><code>win+r</code>&#x3092;&#x62BC;&#x3057;&#x3066;<code>powershell</code>&#x3068;&#x5165;&#x529B;&#x3057;&#x3001;<a href="https://github.com/PowerShell/PowerShell/releases/" target="_blank">powershell</a>&#x3092;&#x8D77;&#x52D5;&#x3057;&#x307E;&#x3059;&#x3002;powershell&#x306F;&#x4EE5;&#x964D;&#x3001;<code>pwsh</code>&#x3068;&#x7565;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p>&#x4EE5;&#x4E0B;&#x306E;&#x30B3;&#x30DE;&#x30F3;&#x30C9;&#x3092;&#x5B9F;&#x884C;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">pwsh</p></div>
<pre><code class="lang-sh">Install-Module -Name Microsoft.W<span class="hljs-keyword">in</span>Get.Client
</code></pre>
<pre><code class="lang-sh">Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from
<span class="hljs-string">&apos;PSGallery&apos;</span>?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is <span class="hljs-string">&quot;N&quot;</span>): A
</code></pre>
<p>&#x6B21;&#x306B;<a href="https://github.com/microsoft/terminal" target="_blank">windows terminal</a>&#x3092;&#x30A4;&#x30F3;&#x30B9;&#x30C8;&#x30FC;&#x30EB;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x306E;&#x691C;&#x7D22;</p></div>
<pre><code class="lang-sh">winget search <span class="hljs-string">&quot;windows terminal&quot;</span>
</code></pre>
<pre><code> Name Id Version Source
--------------------------------------------------------------------------------
Windows Terminal 9N0DX20HK701 Unknown msstore
Windows Terminal Preview 9N8G5RFZ9XK3 Unknown msstore
Windows Terminal Microsoft.WindowsTerminal 1.16.10261.0 winget
Windows Terminal Preview Microsoft.WindowsTerminal.Preview 1.17.10234.0 winget
</code></pre><div><p class="code-filename">terminal&#x306E;&#x30A4;&#x30F3;&#x30B9;&#x30C8;&#x30FC;&#x30EB;</p></div>
<pre><code class="lang-sh">winget install 9N0DX20HK701
or
winget install Microsoft.WindowsTerminal
</code></pre>
<p>windows&#x306F;shell&#x304C;&#x975E;&#x5E38;&#x306B;&#x6271;&#x3044;&#x3065;&#x3089;&#x3044;&#x306E;&#x3067;&#x3001;wsl&#x3067;linux(ubuntu)&#x3092;&#x52D5;&#x4F5C;&#x3055;&#x305B;&#x307E;&#x3059;&#x3002;&#x57FA;&#x672C;&#x7684;&#x306B;rust&#x3084;shell&#x306F;linux&#x74B0;&#x5883;&#x3092;&#x524D;&#x63D0;&#x306B;&#x89E3;&#x8AAC;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">wsl&#x306E;&#x5C0E;&#x5165;</p></div>
<pre><code class="lang-sh">wsl --install
wsl --install <span class="hljs-_">-d</span> Ubuntu
</code></pre>
<p>&#x3082;&#x3057;linux&#x3067;&#x306F;&#x306A;&#x304F;windows&#x74B0;&#x5883;&#x304C;&#x3044;&#x3044;&#x5834;&#x5408;&#x306F;&#x3001;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30FB;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;&#x306E;<a href="https://scoop.sh/" target="_blank">scoop</a>&#x306A;&#x3069;&#x304B;&#x3089;<code>curl</code>&#x306A;&#x3069;&#x3092;&#x30A4;&#x30F3;&#x30B9;&#x30C8;&#x30FC;&#x30EB;&#x3057;&#x3066;&#x5BFE;&#x5FDC;&#x3057;&#x3066;&#x304F;&#x3060;&#x3055;&#x3044;&#x3002;</p>
<div><p class="code-filename">scoop&#x306E;&#x30A4;&#x30F3;&#x30B9;&#x30C8;&#x30FC;&#x30EB;</p></div>
<pre><code class="lang-sh">Set-ExecutionPolicy RemoteSigned -Scope CurrentUser <span class="hljs-comment"># Optional: Needed to run a remote script the first time</span>
irm get.scoop.sh | iex
</code></pre>
<div><p class="code-filename">pwsh</p></div>
<pre><code class="lang-sh">scoop install curl git rust
</code></pre>
<p><code>pwsh</code>&#x3092;install, update&#x3057;&#x307E;&#x3059;&#x3002;</p>
<pre><code class="lang-sh">winget install Microsoft.PowerShell
winget upgrade --all
</code></pre>
<h4 id="mac">mac</h4>
<ul>
<li><p>terminal</p>
</li>
<li><p>homebrew</p>
</li>
</ul>
<p><code>mac</code>&#x306E;&#x5834;&#x5408;&#x306F;&#x30C7;&#x30D5;&#x30A9;&#x30EB;&#x30C8;&#x306E;terminal&#x3092;&#x4F7F;&#x7528;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p>finder&#x3092;&#x958B;&#x3044;&#x3066;<code>cmd+shift+u</code>&#x3092;&#x62BC;&#x3057;&#x307E;&#x3059;&#x3002;&#x305D;&#x306E;&#x4E2D;&#x306B;terminal(&#x30BF;&#x30FC;&#x30DF;&#x30CA;&#x30EB;.app)&#x304C;&#x3042;&#x308B;&#x3068;&#x601D;&#x3044;&#x307E;&#x3059;&#x3002;</p>
<p>&#x307E;&#x305A;&#x30D1;&#x30C3;&#x30B1;&#x30FC;&#x30B8;&#x30FB;&#x30DE;&#x30CD;&#x30FC;&#x30B8;&#x30E3;&#x30FC;&#x306E;<a href="https://brew.sh" target="_blank">homebrew</a>&#x3092;&#x30A4;&#x30F3;&#x30B9;&#x30C8;&#x30FC;&#x30EB;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<div><p class="code-filename">brew&#x306E;&#x30A4;&#x30F3;&#x30B9;&#x30C8;&#x30FC;&#x30EB;</p></div>
<pre><code class="lang-sh">/bin/bash -c <span class="hljs-string">&quot;<span class="hljs-variable">$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)</span>&quot;</span>
</code></pre>
<pre><code class="lang-sh">brew install curl git zsh rust
</code></pre>
<p><code>cargo build</code>&#x306E;error&#x304C;&#x51FA;&#x308B;&#x5834;&#x5408;&#x3001;xcode&#x306E;<a href="https://developer.apple.com/forums/thread/660649" target="_blank">command line tools</a>&#x3092;&#x30A4;&#x30F3;&#x30B9;&#x30C8;&#x30FC;&#x30EB;&#x3059;&#x308B;&#x5FC5;&#x8981;&#x304C;&#x3042;&#x308B;&#x304B;&#x3082;&#x3057;&#x308C;&#x307E;&#x305B;&#x3093;&#x3002;</p>
<pre><code class="lang-sh">$ xcode-select --install
</code></pre>
<h4 id="linux">linux</h4>
<p>linux&#x30E6;&#x30FC;&#x30B6;&#x30FC;&#x306F;&#x8AAC;&#x660E;&#x304C;&#x4E0D;&#x8981;&#x306A;&#x306E;&#x3067;&#x7701;&#x7565;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<p>&#x79C1;&#x306F;<a href="https://www.archlinux.jp/" target="_blank">archlinux</a>&#x3092;&#x4F7F;&#x7528;&#x3057;&#x307E;&#x3059;&#x3002;</p>
<pre><code class="lang-sh">pacman -Syu curl git zsh rust
</code></pre>
<pre><code class="lang-sh">$ cargo version
cargo 1.70.0
</code></pre>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="1.html" class="navigation navigation-prev " aria-label="Previous page: bluesky">
<i class="fa fa-angle-left"></i>
</a>
<a href="3.html" class="navigation navigation-next " aria-label="Next page: shell">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"terminal","level":"1.4.2","depth":2,"next":{"title":"shell","level":"1.4.3","depth":2,"path":"c2/3.md","ref":"c2/3.md","articles":[]},"previous":{"title":"bluesky","level":"1.4.1","depth":2,"path":"c2/1.md","ref":"c2/1.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","codeblock-filename","mermaid-gb3","diff"],"root":"./","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"codeblock-filename":{},"mermaid-gb3":{},"diff":{"type":"markdown","method":"diffChars","options":{}},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"syui","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"hello world! bluesky","gitbook":"*","description":"This is a bluesky ai-card example, and first rust"},"file":{"path":"c2/2.md","mtime":"2023-08-14T14:12:32.025Z","type":"markdown"},"gitbook":{"version":"3.3.6","time":"2023-09-16T08:55:27.618Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
<script src="../gitbook/gitbook.js"></script>
<script src="../gitbook/theme.js"></script>
<script src="../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
<script src="../gitbook/gitbook-plugin-search/search.js"></script>
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
<script src="../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>
</body>
</html>