<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rust環境構築｜Rust Tech</title>
	<atom:link href="https://rust-tech.nkhn37.net/category/rust-setup/feed/" rel="self" type="application/rss+xml" />
	<link>https://rust-tech.nkhn37.net</link>
	<description>Rustプログラミング学習サイト</description>
	<lastBuildDate>Sun, 26 Oct 2025 00:39:37 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/cropped-lion-preasure-clear-32x32.png</url>
	<title>Rust環境構築｜Rust Tech</title>
	<link>https://rust-tech.nkhn37.net</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Rustの開発環境構築（RustRover）</title>
		<link>https://rust-tech.nkhn37.net/rust-dev-setup-rustrover/</link>
					<comments>https://rust-tech.nkhn37.net/rust-dev-setup-rustrover/#respond</comments>
		
		<dc:creator><![CDATA[naoki-hn]]></dc:creator>
		<pubDate>Tue, 22 Jul 2025 20:00:00 +0000</pubDate>
				<category><![CDATA[Rust環境構築]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[intellij idea]]></category>
		<category><![CDATA[jetbrains]]></category>
		<category><![CDATA[rustrover]]></category>
		<category><![CDATA[統合開発環境]]></category>
		<guid isPermaLink="false">https://rust-tech.nkhn37.net/?p=617</guid>

					<description><![CDATA[Rust の統合開発環境（IDE）である RustRover の開発環境構築方法について紹介します。 Rustの統合開発環境 RustRover RustRover とは RustRover は、JetBrains 社が [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Rust の統合開発環境（IDE）である <span class="jinr-d--text-color d--marker1 d--bold">RustRover</span> の開発環境構築方法について紹介します。</p>



<h2 class="wp-block-heading jinr-heading d--bold">Rustの統合開発環境 RustRover</h2>



<h3 class="wp-block-heading jinr-heading d--bold">RustRover とは</h3>



<p><span class="jinr-d--text-color d--marker1 d--bold">RustRover</span> は、JetBrains 社が開発した Rust 言語専用の統合開発環境（IDE）で、Rust 開発に必要な機能を一通り備えた本格的な開発ツールです。以前は IntelliJ IDEA に Rust プラグインを追加する方法が一般的でしたが、2024年1月に正式に RustRover として公式に提供されています。</p>



<p>私は、Python プログラミングでは PyCharm を好んで使用しています。JetBrains は PyCharm など多くの言語専用 IDE を開発しており、その技術を活かして Rust 専用に最適化したのが RustRover です。</p>



<p>Rust では、VSCode + rust-analyzer というのが主流な開発環境でしたが、PyCharm などの JetBrains の IDE になれている人は開発環境として非常によい選択肢でしょう。</p>



<p>この記事では、RustRover のインストール方法について紹介します。</p>



<section class="wp-block-jinr-blocks-iconbox b--jinr-block b--jinr-iconbox"><div class="d--simple-iconbox6 ">
			<i class="jif jin-ifont-v2books" aria-hidden="true"></i>
			<div class="a--jinr-iconbox">
<p>VSCode + rust-analyzer での環境構築方法は以下を参考にしてください。</p>



<p><a href="https://rust-tech.nkhn37.net/rust-dev-setup-vscode-rust-analyzer/" target="_blank" rel="noreferrer noopener">Rustの開発環境構築（Visual Studio Code + rust-analyzer）</a></p>
</div>
		</div></section>



<h3 class="wp-block-heading jinr-heading d--bold">RustRover のライセンス</h3>



<p>RustRover は、無料版と有償版があります。<a href="https://www.jetbrains.com/ja-jp/rust/" target="_blank" rel="noreferrer noopener">公式ページ</a>では以下のように非商用利用の場合は無料で使用できる旨の記載があります。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="1024" height="673" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-21-1024x673.png" alt="RustRover 非商用利用" class="wp-image-618" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-21-1024x673.png 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-21-300x197.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-21-768x505.png 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-21.png 1241w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><a href="https://www.jetbrains.com/ja-jp/rust/" target="_blank" rel="noreferrer noopener"><a href="https://www.jetbrains.com/ja-jp/rust/" target="_blank" rel="noreferrer noopener">公式ページ</a></a> より引用<br>（※記事執筆時点の画面ため内容は変更されている可能性があります）</figcaption></figure>
</div>


<p>RustRover を使用して開発したソフトウェアなどを販売して直接報酬を得ているようなケースでは有償版ライセンスが必要ですが、教育用コンテンツ制作、趣味や学習用、OSS開発では無料で使用できます。以降の例では、無料版を前提として紹介をしていきます。</p>



<p>非商用利用範囲やライセンスの詳細については、JetBrains の公式ページをご確認ください。</p>



<div id="nkhn3-3342652334" class="nkhn3- nkhn3-entity-placement" style="margin-left: auto;margin-right: auto;text-align: center;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9478001176347002"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-9478001176347002"
     data-ad-slot="4670569211"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div><h2 class="wp-block-heading jinr-heading d--bold">RustRover のインストール</h2>



<h3 class="wp-block-heading jinr-heading d--bold">RustRover のダウンロード</h3>



<p>RustRoverの<a href="https://www.jetbrains.com/ja-jp/rust/download/?section=windows" target="_blank" rel="noreferrer noopener">ダウンロードページ</a>にアクセスします。以下のダウンロードをクリックして実行ファイル（exe）をダウンロードしてください。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="506" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-22-1024x506.png" alt="RustRover ダウンロード画面" class="wp-image-631" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-22-1024x506.png 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-22-300x148.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-22-768x379.png 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-22.png 1261w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><a href="https://www.jetbrains.com/ja-jp/rust/download/?section=windows" target="_blank" rel="noreferrer noopener">RustRoverダウンロードページ</a><br>(※記事執筆時点の画面のため内容は変更されている可能性があります)</figcaption></figure>
</div>


<h3 class="wp-block-heading jinr-heading d--bold">RustRover のインストール手順</h3>



<p> ダウンロードした RustRover の exe ファイルを実行します。以降の例は、<code>RustRover-2025.1.5.exe</code> での例ですが、バージョンが違っても基本的には指示に従って実行していけば問題ありません。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="908" height="563" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-23.png" alt="RustRover インストール" class="wp-image-634" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-23.png 908w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-23-300x186.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-23-768x476.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>
</div>


<p>[次へ(N)] をクリックします。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="908" height="563" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-24.png" alt="RustRover インストール" class="wp-image-635" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-24.png 908w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-24-300x186.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-24-768x476.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<p>インストール先はそのままで問題ありませんので、そのまま [次へ(N)] をクリックします。必要あれば変更してください。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="908" height="563" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-25.png" alt="RustRover インストール" class="wp-image-636" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-25.png 908w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-25-300x186.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-25-768x476.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<p>インストールオプションは、特にチェックなしで問題ないので [次へ(N)] をクリックします。デスクトップショートカットなど必要あればチェックを入れてください。  </p>



<figure class="wp-block-image size-full"><img decoding="async" width="908" height="563" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-26.png" alt="RustRover インストール" class="wp-image-637" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-26.png 908w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-26-300x186.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-26-768x476.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<p>[インストール] をクリックします。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="908" height="563" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-27.png" alt="RustRover インストール" class="wp-image-638" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-27.png 908w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-27-300x186.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-27-768x476.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<p>上記のようにインストールが開始されます。</p>



<figure class="wp-block-image size-full"><img decoding="async" width="908" height="563" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-28.png" alt="RustRover インストール" class="wp-image-639" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-28.png 908w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-28-300x186.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-28-768x476.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<p>インストール画面が表示されたら [完了(F)] をクリックします。すぐ実行したい場合には、[RustRoverを実行(R)] にチェックを入れて完了してください。</p>



<h3 class="wp-block-heading jinr-heading d--bold">RustRover の起動</h3>



<p>インストールが完了したらスタートメニューから RustRover 2025.1 をクリックします。</p>



<p>言語設定画面が出てきたら言語:[Japanese 日本語]、地域:[アジア(中国を除く)]などのご自身が使う言語、地域にあわせて設定してください。また、PyCharm や Visual Studio Code を使用している場合には、設定のインポート選択が出てきますので必要に応じてクリックしてください。特に必要のない人は Skip Import でスキップしてください。</p>



<p>ライセンスの画面が出ると思いますので、非商用利用を選択し、利用規約を確認して [非商用利用に同意する] にチェックを入れて、非商用利用の開始 ボタンをクリックします。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="693" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-30-1024x693.jpg" alt="ライセンスの管理" class="wp-image-642" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-30-1024x693.jpg 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-30-300x203.jpg 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-30-768x520.jpg 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-30.jpg 1322w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>以下のように非商用利用である旨が表示されれば、閉じてもらえればOKです。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="197" height="78" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-30.png" alt="RustRover 非商用利用" class="wp-image-643"/></figure>
</div>


<p>以下のような画面が表示されればインストール完了です。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="786" height="643" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-31.png" alt="RustRover トップ画面" class="wp-image-644" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-31.png 786w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-31-300x245.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-31-768x628.png 768w" sizes="(max-width: 786px) 100vw, 786px" /></figure>
</div>


<h3 class="wp-block-heading jinr-heading d--bold">新規プロジェクトの作成</h3>



<p>簡単にプロジェクトを作ってみましょう。トップ画面で [新規プロジェクト] を選択すると以下のような画面になるため、プロジェクトの場所とプロジェクトテンプレートを選択します。プロジェクトの場所は任意で設定してください。Rust ではバイナリとライブラリという種類がありますが、今回は実行アプリケーションを作るためバイナリを選択します。</p>



<p>Rust ツールチェーンはインストールされていれば入力されていると思いますので、そのままでいいでしょう。Rust のインストールをしていない人は「<a href="https://rust-tech.nkhn37.net/rust-install-windows/" target="_blank" rel="noreferrer noopener">Rustのインストール方法（Windows）</a>」を参考に Rust のインストールを実施してください。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="838" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-32-2-1024x838.jpg" alt="RustRover 新規プロジェクト作成" class="wp-image-647" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-32-2-1024x838.jpg 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-32-2-300x246.jpg 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-32-2-768x629.jpg 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-32-2.jpg 1228w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>作成すると以下のような画面で、プロジェクトに必要となる <code>Cargo.toml</code> 等の必要なファイルが作成されます。<code>src</code> フォルダの <code>main.rs</code> が以下のように作成されています。これは内部的に「<code>cargo new hello-world</code>」と同様の処理が行われてプロジェクトが生成されています。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="642" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-33-1024x642.png" alt="RustRover 画面" class="wp-image-649" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-33-1024x642.png 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-33-300x188.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-33-768x482.png 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-33.png 1119w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>画面上部の「▷」をクリックすると以下のように実行できます。これは内部的に「<code>cargo run</code>」を実行してくれています。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="636" height="199" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-34.png" alt="RustRover 実行結果" class="wp-image-650" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-34.png 636w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-34-300x94.png 300w" sizes="(max-width: 636px) 100vw, 636px" /></figure>
</div>


<section class="wp-block-jinr-blocks-iconbox b--jinr-block b--jinr-iconbox"><div class="d--simple-iconbox6 ">
			<i class="jif jin-ifont-v2books" aria-hidden="true"></i>
			<div class="a--jinr-iconbox">
<p>Visual Studio Code での同様のプロジェクト作成方法を以下で記載しているので参考にしてください。<code>cargo</code> コマンドの説明もしています。</p>



<p><a href="https://rust-tech.nkhn37.net/rust-create-project-and-compile-with-cargo/" target="_blank" rel="noreferrer noopener">【Rust入門】Cargoを使ったプロジェクト作成とコンパイル方法を分かりやすく解説</a></p>
</div>
		</div></section>



<h2 class="wp-block-heading jinr-heading d--bold">まとめ</h2>



<p>Rust の統合開発環境（IDE）である <span class="jinr-d--text-color d--marker1 d--bold">RustRover</span> の開発環境構築方法を紹介しました。</p>



<p>RustRover は、JetBrains 社の PyCharm などに見られる洗練されたインターフェースや開発体験を活かした Rust 専用の統合開発環境（IDE）です。JetBrains の IDE に慣れている方には特におすすめです。JetBrains 社の IDE をこれまで使っていた人にとって RustRover は開発環境として非常に有力な選択肢と言えるでしょう。</p>



<p>RustRover をインストールして、Rust学習やプロジェクト開発に活用してみてください。</p>


<section class="b--jinr-block b--jinr-blogcard d--blogcard-hover-up d--blogcard-style1 d--blogcard-mysite t--round "><div class="a--blogcard-label ef">あわせて読みたい</div><a class="o--blogcard-link t--round" href="https://rust-tech.nkhn37.net/rust-programming-basics/"><div class="c--blogcard-image"><img decoding="async" class="a--blogcard-img-src" width="128" height="72" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/08/77e7c51961993fb9cb96c02a2311436d-320x180.jpg" alt="Rust プログラミング入門" /></div><div class="a--blogcard-title d--bold">Rust プログラミング入門</div></a></section><div id="nkhn3-1813952224" class="nkhn3-multiplex nkhn3-entity-placement" style="margin-left: auto;margin-right: auto;text-align: center;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9478001176347002"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-9478001176347002"
     data-ad-slot="8958649655"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div>]]></content:encoded>
					
					<wfw:commentRss>https://rust-tech.nkhn37.net/rust-dev-setup-rustrover/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Rustの開発環境構築（Visual Studio Code + rust-analyzer）</title>
		<link>https://rust-tech.nkhn37.net/rust-dev-setup-vscode-rust-analyzer/</link>
					<comments>https://rust-tech.nkhn37.net/rust-dev-setup-vscode-rust-analyzer/#respond</comments>
		
		<dc:creator><![CDATA[naoki-hn]]></dc:creator>
		<pubDate>Fri, 04 Jul 2025 22:00:00 +0000</pubDate>
				<category><![CDATA[Rust環境構築]]></category>
		<category><![CDATA[rust-analyzer]]></category>
		<category><![CDATA[visual studio code]]></category>
		<category><![CDATA[vscode]]></category>
		<category><![CDATA[インストール]]></category>
		<guid isPermaLink="false">https://rust-tech.nkhn37.net/?p=52</guid>

					<description><![CDATA[Rustの開発環境としてVisual Studio Code (VSCode) と rust-analyzerで構築する方法について解説します。 Visual Studio Code (VSCode) とは Visual [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Rustの開発環境として<strong><span class="jinr-d--text-color d--marker1 d--bold">Visual Studio Code (VSCode) と rust-analyzer</span></strong>で構築する方法について解説します。</p>



<h2 class="wp-block-heading jinr-heading d--bold">Visual Studio Code (VSCode) とは</h2>



<p><strong><span class="jinr-d--text-color d--marker1 d--bold">Visual Studio Code</span></strong>（以降、<strong><span class="jinr-d--text-color d--marker1 d--bold">VSCode</span></strong>）は、様々なソフトウェアの開発に使用できる高機能なエディタで、マルチプラットフォームに対応したものです。</p>



<p>VSCodeは、オープンソースで開発がされており、各種拡張機能で様々なプログラミング言語を開発できるようになっていることが大きな特徴で、本サイトでも扱っているRustの開発環境としても使用できます。</p>



<p>また、Rustでは、<strong><span class="jinr-d--text-color d--marker1 d--bold">rust-analyzer</span></strong>というコード補完やリファクタリングなどの様々な機能を提供してくれる高性能な言語サーバーがVSCodeの拡張機能として使用することができます。</p>



<p>この記事では、VSCodeのインストール方法とrust-analyzerのインストール方法について紹介します。</p>



<div id="nkhn3-3750798430" class="nkhn3- nkhn3-entity-placement" style="margin-left: auto;margin-right: auto;text-align: center;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9478001176347002"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-9478001176347002"
     data-ad-slot="4670569211"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div><h2 class="wp-block-heading jinr-heading d--bold">VSCodeのインストール方法</h2>



<h3 class="wp-block-heading jinr-heading d--bold">VSCodeのダウンロードとインストール</h3>



<p><strong><span class="jinr-d--text-color d--marker1 d--bold">VSCode</span></strong>をインストールするには、<a href="https://code.visualstudio.com/download" target="_blank" rel="noreferrer noopener">VSCodeダウンロードページ</a>にアクセスし、環境に合わせたインストーラをダウンロードします。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="823" height="531" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image.png" alt="Visual Studio Code (VSCode) のダウンロード" class="wp-image-78" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image.png 823w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-300x194.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-768x496.png 768w" sizes="(max-width: 823px) 100vw, 823px" /></figure>
</div>


<p>この記事では、Windowsを対象にして紹介していきます。「Windows」という部分をクリックするとインストーラーがダウンロードできます。</p>



<p>ダウンロードしたインストーラーを起動して、画面に従ってインストールを実施してください。基本的には画面に従ってデフォルトでインストールしていけば問題ありません。</p>



<h3 class="wp-block-heading jinr-heading d--bold">VSCodeの表示言語の日本語化</h3>



<p>VSCodeでは、コンピュータに設定されている言語を判別して最初に言語パックのインストールに関するダイアログが表示されます。ダイアログに従ってインストールし、再起動することで、VSCodeは日本語表示になります。</p>



<p>もし、表示されなかった場合でも拡張機能から「Japanese Language Pack for Visual Studio Code」をインストールすれば問題ありません。</p>



<h2 class="wp-block-heading jinr-heading d--bold">rust-analyzer 拡張機能のインストール方法</h2>



<p>VSCodeのインストールが完了したら、<strong><span class="jinr-d--text-color d--marker1 d--bold">rust-analyzer</span></strong>のインストールを行います。rust-analyzerは、コード補完やリファクタリングなどの様々な機能を提供してくれる高性能な言語サーバーです。この拡張機能をインストールしておくことでRustの開発効率を向上させることができます。</p>



<p>rust-analyzerの拡張機能は以下の手順でインストールしてください。</p>



<ol class="wp-block-list jinr-list">
<li>拡張タブを選択する。</li>



<li>検索窓で「rust-analyzer」と入力する。</li>



<li>検索されたrust-analyzerをクリックすると、エディタ部分に説明の表示がされる。</li>



<li>「インストール」をクリックしてrust-analyzerをインストールする。</li>
</ol>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="682" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-2-1024x682.png" alt="rust-analyzer拡張機能のインストール" class="wp-image-83" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-2-1024x682.png 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-2-300x200.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-2-768x512.png 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-2.png 1414w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>発行元の確認画面が表示されるので「発行元を信頼してインストールする」をクリックしてインストールしてください。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="517" height="331" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-4.png" alt="rust-analyzerの発行元の確認" class="wp-image-85" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-4.png 517w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-4-300x192.png 300w" sizes="(max-width: 517px) 100vw, 517px" /></figure>
</div>


<p>rust-analyzerの「ようこそ」タブが表示されれば、インストール完了です。</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="699" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-6-1024x699.png" alt="" class="wp-image-87" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-6-1024x699.png 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-6-300x205.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-6-768x524.png 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/07/image-6.png 1447w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<div id="nkhn3-4017605821" class="nkhn3--2 nkhn3-entity-placement" style="margin-left: auto;margin-right: auto;text-align: center;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9478001176347002"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-9478001176347002"
     data-ad-slot="4670569211"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div><h2 class="wp-block-heading jinr-heading d--bold">まとめ</h2>



<p>Rustの開発環境として、Visual Studio Code (VSCode) と rust-analyzerを使用するための手順を紹介しました。</p>



<ul class="wp-block-list jinr-list">
<li>VSCodeは、拡張機能によって様々な言語に対応できる高機能なエディタであるため、Rustの開発環境としても非常に適しています。</li>



<li>rust-analyzerは、補完やリファクタリングなどをサポートする高性能な言語サーバーで、Rust開発における必須ツールの一つです。</li>



<li>VSCode と rust-analyzer を組み合わせることで、より快適かつ効率的にRustの開発ができます。</li>
</ul>



<p>Rustの開発に取り組む第一歩として、今回の環境構築をぜひ活用してください。</p>


<section class='b--jinr-block b--jinr-button   js--scr-animation block_'>
					<div class="o--button-inner d--button-type5 d--button-arrow d--button-arrow-hover-right  d--button-center"><span class="a--button-hover"><a href="https://rust-tech.nkhn37.net/rust-programming-basics/"><span>Rust プログラミング入門</span></a></span></div>
				</section><div id="nkhn3-3697565580" class="nkhn3-multiplex nkhn3-entity-placement" style="margin-left: auto;margin-right: auto;text-align: center;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9478001176347002"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-9478001176347002"
     data-ad-slot="8958649655"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div>]]></content:encoded>
					
					<wfw:commentRss>https://rust-tech.nkhn37.net/rust-dev-setup-vscode-rust-analyzer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Rustのインストール方法（Windows）</title>
		<link>https://rust-tech.nkhn37.net/rust-install-windows/</link>
					<comments>https://rust-tech.nkhn37.net/rust-install-windows/#respond</comments>
		
		<dc:creator><![CDATA[naoki-hn]]></dc:creator>
		<pubDate>Fri, 04 Jul 2025 21:00:00 +0000</pubDate>
				<category><![CDATA[Rust環境構築]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[インストール]]></category>
		<guid isPermaLink="false">https://rust-tech.nkhn37.net/?p=44</guid>

					<description><![CDATA[RustをWindowsにインストールする方法について解説します。 Rustのインストール方法 Rustをこれから始めたい人のためにWindowsにPythonをインストールする方法について紹介します。 Rustのダウン [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><span class="jinr-d--text-color d--marker1 d--bold">RustをWindowsにインストールする方法</span></strong>について解説します。</p>



<h2 class="wp-block-heading jinr-heading d--bold">Rustのインストール方法</h2>



<p>Rustをこれから始めたい人のために<strong><span class="jinr-d--text-color d--marker1 d--bold">WindowsにPythonをインストールする方法</span></strong>について紹介します。</p>



<h3 class="wp-block-heading jinr-heading d--bold">Rustのダウンロード</h3>



<p>Rustのインストーラーをダウンロードします。<a href="https://www.rust-lang.org/ja/tools/install" target="_blank" rel="noreferrer noopener">Rustのダウンロードページ</a>へアクセスし、お使いの環境のビット数にあわせたインストーラーをダウンロードしてください。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="649" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-1024x649.jpg" alt="Rustのインストーラー rustup のダウンロード（Windows）" class="wp-image-58" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-1024x649.jpg 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-300x190.jpg 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-768x486.jpg 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image.jpg 1233w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<section class="wp-block-jinr-blocks-simplebox b--jinr-block-container"><div class="b--jinr-block b--jinr-box d--heading-box1  "><div class="a--simple-box-title d--bold">rustupとは</div><div class="c--simple-box-inner">
<p>rustupとは、Rustのツールチェーン（コンパイラなどのツール類）を簡単にインストール・管理するための公式ツールです。Rustの開発を始める時はまずは、rustupから始めましょう。</p>
</div></div></section>



<p>Windows Subsystem for Linuxという、Windows上でLinux環境を実行できる仕組みです。そちらの環境を構築している場合は、サイトに記載のある以下コマンドを実行してください。</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh</pre>



<p>以降のページではインストーラーを使った方法について紹介します。</p>



<h3 class="wp-block-heading jinr-heading d--bold">Rustのインストール</h3>



<p>ダウンロードしたexeファイルをクリックして実行します。実行すると以下のようなターミナルが実行されます。そのままEnterをクリックすると「1) Proceed with standard installation」で標準のインストールが実行されます。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="576" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-1024x576.png" alt="rustup インストール画面（Windows）" class="wp-image-64" srcset="https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-1024x576.png 1024w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-300x169.png 300w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-768x432.png 768w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-320x180.png 320w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image-640x360.png 640w, https://rust-tech.nkhn37.net/wp-content/uploads/2025/06/image.png 1327w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>「Rust is installed now.」のような表示が出ればインストールは完了です。</p>



<h3 class="wp-block-heading jinr-heading d--bold">Visual Studio C++ Build toolsのインストール</h3>



<p>ダウンロードページにも記載がありますが「Visual Studio C++ Build tools」のインストールが必要になる場合があります。色々な場面で必要になることが多いツールですので既にインストールされている場合は、上記画面のようにそのままインストールが進むと思います。</p>



<p>rustupを実行した際に先にVisual Studio C++ Build toolsをインストールするよう表示があった場合には、<a href="https://visualstudio.microsoft.com/visual-cpp-build-tools/">Visual Studio C++ Build tools</a> へアクセスし、Buildツールをダウンロードして実行してください。</p>



<p>インストーラーを起動し「C++によるデスクトップ開発」を選択して、実行していただければよいかと思います。容量が大きいためインストールには時間がかかる場合があります。インストールが完了したらRustのインストーラーに戻って続行してください。</p>



<h3 class="wp-block-heading jinr-heading d--bold">インストールの確認</h3>



<p>インストールが完了したらコマンドプロンプトを起動し、以下を順にコマンド実行してください。</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">rustc --version
cargo --version</pre>



<p>バージョン情報が表示されればインストールは正常に完了しています。</p>



<section class="wp-block-jinr-blocks-simplebox b--jinr-block-container"><div class="b--jinr-block b--jinr-box d--heading-box1  "><div class="a--simple-box-title d--bold">rustcとcargo</div><div class="c--simple-box-inner">
<p>上記でrustcとcargoというコマンドでバージョンを確認しました。これらはRustの開発に欠かせないツールですが役割が異なります。</p>



<ul class="wp-block-list jinr-list">
<li><strong>rustc</strong>：Rustのソースコードをコンパイルするコンパイラのことです。</li>



<li><strong>cargo</strong>：Rustのプロジェクト全体を管理するためのビルドツールであり、パッケージマネージャーです。</li>
</ul>
</div></div></section>



<div id="nkhn3-508635568" class="nkhn3- nkhn3-entity-placement" style="margin-left: auto;margin-right: auto;text-align: center;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9478001176347002"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-9478001176347002"
     data-ad-slot="4670569211"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div><h2 class="wp-block-heading jinr-heading d--bold">VSCodeでのRust環境構築方法</h2>



<p>Rustの開発環境としてはいくつか選択肢が考えられますが、主要な選択肢の一つが、<strong><span class="jinr-d--text-color d--marker1 d--bold">Visual Studio Code（VSCode） + rust-analyzer</span></strong>による開発環境です。rust-analyzerは、コード補完、リファクタリングなどの拡張機能を提供してくれる高性能な言語サーバーです。</p>



<p>VSCodeでのRust開発環境の構築方法は「<a href="https://rust-tech.nkhn37.net/rust-dev-setup-vscode-rust-analyzer/" target="_blank" rel="noreferrer noopener">Rustの開発環境構築（Visual Studio Code + rust-analyzer）</a>」にまとめていますので参考にしてください。</p>



<h2 class="wp-block-heading jinr-heading d--bold">まとめ</h2>



<p>Rustをこれから始めたい人に向けてWindowsにRustをインストールする方法について紹介しました。基本的にはインストーラーであるrustupを用いることで非常に簡単にインストールをすることができます。ぜひ参考にして試してみてもらえたらと思います。</p>


<section class="b--jinr-block b--jinr-blogcard d--blogcard-hover-up d--blogcard-style1 d--blogcard-mysite t--round "><div class="a--blogcard-label ef">あわせて読みたい</div><a class="o--blogcard-link t--round" href="https://rust-tech.nkhn37.net/rust-programming-basics/"><div class="c--blogcard-image"><img decoding="async" class="a--blogcard-img-src" width="128" height="72" src="https://rust-tech.nkhn37.net/wp-content/uploads/2025/08/77e7c51961993fb9cb96c02a2311436d-320x180.jpg" alt="Rust プログラミング入門" /></div><div class="a--blogcard-title d--bold">Rust プログラミング入門</div></a></section><div id="nkhn3-2646471243" class="nkhn3-multiplex nkhn3-entity-placement" style="margin-left: auto;margin-right: auto;text-align: center;"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9478001176347002"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-9478001176347002"
     data-ad-slot="8958649655"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></div>]]></content:encoded>
					
					<wfw:commentRss>https://rust-tech.nkhn37.net/rust-install-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Disk: Enhanced  を使用したページ キャッシュ

Served from: rust-tech.nkhn37.net @ 2026-04-20 17:20:07 by W3 Total Cache
-->