{"id":96700,"date":"2022-04-13T08:38:41","date_gmt":"2022-04-12T23:38:41","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=96700"},"modified":"2022-04-13T08:38:41","modified_gmt":"2022-04-12T23:38:41","slug":"how-to-setup-wsl2-wndows-11","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/how-to-setup-wsl2-wndows-11\/","title":{"rendered":"Windows 11\u3067\u30b5\u30af\u30c3\u3068WSL2\u74b0\u5883\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/04\/s_20220409_203903.jpg\" alt=\"S 20220409 203903\" title=\"s_20220409_203903.jpg\" border=\"0\" width=\"1217\" height=\"668\" \/><\/p>\n<p>\u5f93\u6765Windows\u3067UNIX\u98a8\u306e\u958b\u767a\u74b0\u5883\u3092\u6574\u3048\u308b\u306e\u306f\u56f0\u96e3\u306a\u4f5c\u696d\u3067\u3057\u305f\u3002<\/p>\n<p>UNIX\u30c4\u30fc\u30eb\u5358\u4f53\u3067\u8003\u3048\u308b\u3068\u3001Windows\u306b\u79fb\u690d\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u591a\u6570\u5b58\u5728\u3057\u307e\u3059\u304c\u3001\u6700\u65b0\u7248\u3078\u306e\u5bfe\u5fdc\u3084\u3001\u30b7\u30a7\u30eb\u3084\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u9055\u3044\u304b\u3089\u3001\u672c\u7269\u306eUNIX OS\u3068\u306f\u76f8\u5f53\u7570\u306a\u308b\u74b0\u5883\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u5e78\u3044\u305d\u306e\u72b6\u6cc1\u3082\u3001Microsoft\u304c\u958b\u767a\u3057\u305f\u300cWindows Subsystem for Linux(WSL)\u300d\u306e\u5b58\u5728\u306b\u3088\u3063\u3066\u5927\u304d\u304f\u5909\u308f\u308a\u3064\u3064\u3042\u308a\u307e\u3059\u3002Windows\u3067\u52d5\u4f5c\u3059\u308b\u300c\u672c\u7269\u306eLinux\u300d\u3068\u3057\u3066\u958b\u767a\u8005\u306e\u4eba\u6c17\u3092\u96c6\u3081\u3066\u304a\u308a\u3001\u6700\u65b0\u7248\u306eWSL2\u306b\u3088\u3063\u3066\u3055\u3089\u306b\u5b8c\u6210\u5ea6\u304c\u9ad8\u307e\u3063\u3066\u3044\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3001Windows 11\u3067WSL2\u74b0\u5883\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>Windows 11\u3067WSL2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3068\u3066\u3082\u7c21\u5358<\/h2>\n<p>Windows 11\u304a\u3088\u3073Windows 10 Version 2004\u4ee5\u964d\u306e\u74b0\u5883\u3067\u306f\u3001wsl\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30de\u30f3\u30c9\u4e00\u767a\u3067WSL\u74b0\u5883\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u958b\u304d\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>wsl --install<\/pre>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/windows\/wsl\/setup\/environment\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306b\u3088\u308b\u3068\u3001\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067\u4ee5\u4e0b\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>Windows\u306eWSL\u304a\u3088\u3073\u4eee\u60f3\u30de\u30b7\u30f3\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u6709\u52b9\u306b\u3059\u308b<\/li>\n<li>\u6700\u65b0\u306eLinux\u30ab\u30fc\u30cd\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/li>\n<li>WSL2\u3092\u65e2\u5b9a\u5024\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b<\/li>\n<li>Ubuntu\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/li>\n<\/ul>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/04\/s_20220409_201710.jpg\" alt=\"S 20220409 201710\" title=\"s_20220409_201710.jpg\" border=\"0\" width=\"1040\" height=\"580\" \/><\/p>\n<p>\u25b2\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u3068\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001PC\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\u518d\u8d77\u52d5\u5f8c\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u518d\u958b\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/04\/s_20220409_202116.jpg\" alt=\"S 20220409 202116\" title=\"s_20220409_202116.jpg\" border=\"0\" width=\"1060\" height=\"585\" \/><\/p>\n<p>\u25b2UNIX\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u5b8c\u6210\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u964d\u306f\u30b9\u30bf\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cUbuntu\u300d\u3092\u5b9f\u884c\u3059\u308b\u3068Linux\u74b0\u5883\u304c\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<h2>Windows Terminal\u304b\u3089\u4f7f\u7528\u3059\u308b<\/h2>\n<p>WSL\u3092\u591a\u6a5f\u80fd\u30bf\u30fc\u30df\u30ca\u30eb\u30bd\u30d5\u30c8\u300cWindows Terminal\u300d\u304b\u3089\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Microsoft Store\u304b\u3089\u300c<a href=\"https:\/\/www.microsoft.com\/store\/productId\/9N0DX20HK701\">Windows Terminal<\/a>\u300d\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/04\/s_20220409_202547.jpg\" alt=\"S 20220409 202547\" title=\"s_20220409_202547.jpg\" border=\"0\" width=\"1191\" height=\"679\" \/><\/p>\n<p>\u25b2\u300c\uff0b\u300d\u30dc\u30bf\u30f3\u3067\u65b0\u898f\u30bf\u30d6\u3092\u958b\u304f\u969b\u3001\u77e2\u5370\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30ea\u30b9\u30c8\u304b\u3089\u300cUbuntu\u300d\u3092\u9078\u3073\u307e\u3059\u3002\u6bce\u56de\u30b7\u30a7\u30eb\u3092\u9078\u629e\u3059\u308b\u306e\u304c\u9762\u5012\u306a\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b7\u30a7\u30eb\u3092Ubuntu\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Windows\u74b0\u5883\u3068\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u3084\u308a\u3068\u308a<\/h2>\n<p>Windows\u74b0\u5883\u3068WSL\u74b0\u5883\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u76f8\u4e92\u306b\u3084\u308a\u3068\u308a\u3059\u308b\u3082\u306e\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/04\/s_20220409_203112.jpg\" alt=\"S 20220409 203112\" title=\"s_20220409_203112.jpg\" border=\"0\" width=\"1277\" height=\"789\" \/><\/p>\n<p>WSL\u74b0\u5883\u5185\u304b\u3089\u300cexplorer.exe .\u300d\u3068\u5b9f\u884c\u3059\u308b\u3068\u3001\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002Windows\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089WSL\u74b0\u5883\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>WSL\u306eUbuntu\u74b0\u5883\u304c\u4f5c\u308c\u305f\u5f8c\u306f\u3001\u901a\u5e38\u306eUbuntu\u3092\u4f7f\u3046\u3088\u3046\u306b\u300capt\u300d\u306a\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u597d\u307f\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Windows 11\u3067\u30b5\u30af\u30c3\u3068WSL2\u74b0\u5883\u3092\u6574\u3048\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002Windows 10\u3067WSL\u304c\u5c0e\u5165\u3055\u308c\u305f\u6642\u3068\u306f\u6bd4\u8f03\u306b\u306a\u3089\u306a\u3044\u3050\u3089\u3044\u7c21\u5358\u306b<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002Windows\u3067\u3082UNIX\/Linux\u98a8\u306e\u958b\u767a\u74b0\u5883\u3092\u4f7f\u7528\u3057\u305f\u3044\u3068\u3044\u3046\u65b9\u306f\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f93\u6765Windows\u3067UNIX\u98a8\u306e\u958b\u767a\u74b0\u5883\u3092\u6574\u3048\u308b\u306e\u306f\u56f0\u96e3\u306a\u4f5c\u696d\u3067\u3057\u305f\u3002 UNIX\u30c4\u30fc\u30eb\u5358\u4f53\u3067\u8003\u3048\u308b\u3068\u3001Windows\u306b\u79fb\u690d\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u591a\u6570\u5b58\u5728\u3057\u307e\u3059\u304c\u3001\u6700\u65b0\u7248\u3078\u306e\u5bfe\u5fdc\u3084\u3001\u30b7\u30a7\u30eb\u3084\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u9055\u3044\u304b\u3089\u3001\u672c\u7269\u306eUNIX  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":96797,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[3298,4387],"class_list":["post-96700","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-windows","tag-windows11"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/96700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=96700"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/96700\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/96797"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=96700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=96700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=96700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}