Home›VS Code / Dev Env›VSCodeポータブル版の導入手順
VSCodeポータブル版の導入手順

VSCodeポータブル版の導入手順How to Set Up the Portable Version of VS Code

元記事を読むRead original articleqiita.com(新しいタブで開きます)(opens in a new tab)
AI2 点サマリ2 key points
  • VS Codeポータブル版は、ZIPを展開し、Code.exeと同じ階層にdataフォルダを置くことで、設定や拡張機能を展開先へ保存できます。
  • 更新は手動ですが、導入制限のある職場や学校の端末、USBで環境を持ち運びたい人に役立ちます。
  • VS Code Portable runs from an extracted ZIP with a data folder beside Code.exe, keeping settings and extensions local.
  • It helps users on locked-down PCs or USB drives, though updates are manual.

本ページの本文と要約は AI による自動生成です。日本語版と英語版は言語ごとに独立して生成されるため、表現や詳しさが異なる場合があります。正確性は元記事 (qiita.com) をご確認ください。The body and summaries are AI-generated independently for each language, so wording and detail may differ. Verify accuracy at the original source (qiita.com).

要約と収集メタデータに基づく AI 解説。元記事全文の転載・翻訳ではありません。AI explainer based on the summaries and collected metadata, not a copy or translation of the full source article.

ポータブル版

VS Codeには、通常のインストール版とは別に、ダウンロードしたZIPを解凍して実行できるポータブル版があります。新しいアプリのインストールや管理者権限の利用が禁止されている会社や学校の端末でも、VS Codeを使える方法です。

VS Code Zip版やVS Code exe版など呼び方は異なりますが、ここではポータブル版を指します。インストールを必要とせず、USBメモリに入れて移すことも可能です。

ZIPの展開

まず公式ページで「.zip」を選び、zipファイルをダウンロードして解凍します。続いて、解凍したフォルダ内にあるCode.exeと同じ階層へ、dataという名前の空フォルダを作成します。

このdataフォルダには、VS Codeの設定や拡張機能のデータが保存されます。dataフォルダを作らずに起動すると、通常版と同様に、設定がPC本体のAppData内へ保存されてしまいます。フォルダを用意した後、Code.exeを起動すればVS Codeが立ち上がります。

拡張機能

拡張機能もポータブル版へ導入できます。日本語化する場合は、サイドバーの「Extensions」アイコンから「Japanese Language Pack for Visual Studio Code」を検索します。

対象を右クリックして「Download VSIX」を選ぶと、VSIXファイルをダウンロードできます。保存先を尋ねられる場合がありますが、後から取り込むため、ダウンロードする場所は任意です。

手動更新

ポータブル版では自動更新ができないため、アップデートは手動で行う必要があります。この点を踏まえつつ、インストールできない端末で利用したり、USBメモリで設定や拡張機能を含む環境を移したりできます。

Portable Version of VS Code

The portable version of VS Code provides a way to run the editor without installing it. This matters on company PCs, school devices, and other environments where security restrictions prohibit installing new applications or using administrator privileges.

VS Code Portable can also be placed on a USB drive and moved easily. Settings and extension data can remain in the extracted location, while VS Code extensions can also be added to the portable version. One limitation is that automatic updates are unavailable, so updates must be performed manually.

Download and Extract

From the official page, select the “.zip” option and download the ZIP file. Extract the downloaded file to the location where the portable copy of VS Code will be kept.

The portable version is sometimes described as the VS Code ZIP version or VS Code exe version. Regardless of the name, the setup described here uses the extracted ZIP rather than the regular installed version.

The data Folder

Open the extracted folder and locate Code.exe. At the same folder level as Code.exe, create a new empty folder named data.

This folder is essential to the portable setup because VS Code stores its settings and extension data inside it. If VS Code is launched without creating the data folder, its settings will instead be saved on the PC itself, under AppData, in the same way as the regular version.

After the data folder has been created beside Code.exe, launch Code.exe to start VS Code.

Japanese Language Pack

Japanese support requires downloading a localization extension. Open the “Extensions” icon shown in the sidebar and search for “Japanese Language Pack for Visual Studio Code.”

Right-click the extension and select “Download VSIX” to download the VSIX file. A download location may be requested, but the file can be saved anywhere because it will be imported later.

ポコとTECHガイドPoko & TECH Guide

ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.

  1. ポコPoko会社や学校のPCでアプリを入れられないとき、何が変わるの?USBでいつもの環境も持ち歩ける?What changes if I can’t install apps on a work or school PC? Can I carry my usual setup on a USB drive?
  2. TECHガイドTECH GuideZIPを解凍して起動できるので、インストール制限のある端末でも使えます。設定や拡張機能ごとUSBで移せます。You can extract the ZIP and run it on PCs where installation is restricted. Your settings and extensions can travel with it on a USB drive.
  3. ポコPoko前はできなかったの?いつものVS Codeとは、どこが違うんだろう。Wasn’t that possible before? How is this different from the usual VS Code?
  4. TECHガイドTECH Guide通常版はインストールしますが、ポータブル版は不要です。ただし、自動更新はできず、アップデートは手動になります。The regular version is installed, while the portable version doesn’t require installation. The tradeoff is that updates aren’t automatic; you handle them manually.
  5. ポコPokoCode.exeの横にdataフォルダを作れば、設定や拡張機能がそこにまとまるんだね。これなら移しやすそう。So if I create a data folder beside Code.exe, the settings and extensions stay there. That sounds easy to move around.
  6. TECHガイドTECH Guideそうですね。dataフォルダを作り忘れると設定がPC本体のAppData内に保存されるので、起動前の確認が大切です。Right. If you forget the data folder, settings are saved in the PC’s AppData instead, so check for it before launching.
記事情報・収集記録Article details & collection record
出典Source
Qiita VSCodeコミュニティCommunity
公開日時 (JST)Published (JST)
収集日時 (JST)Collected (JST)
配信形式Format
ブログBlog
原文言語Source language
JA
重要度の位置づけImportance in this lane
InfoInformational(VS Code / Dev Env 58件中、同等以上 58件)(58 of 58 VS Code / Dev Env entries are equal or higher)
出典の平均重要度(掲載直近 30 件・最大 30 件)Source average (last 30 listed, up to 30)
1.7 / 31=情報 · 2=中 · 3=高1=Info · 2=Medium · 3=High
情報の寿命Half-life
中期 (チュートリアル)Medium-term (tutorial)

🔷VS Code / Dev Env の他の記事More from VS Code / Dev Envもっと見る →View more →

ページ上部へScroll to top