<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>numb_86</author_name>
  <author_url>https://blog.hatena.ne.jp/numb_86/</author_url>
  <blog_title>30歳からのプログラミング</blog_title>
  <blog_url>https://numb86-tech.hatenablog.com/</blog_url>
  <categories>
    <anon>環境変数</anon>
  </categories>
  <description>以前、Node.jsで環境変数を管理する方法として、dotenvについて書いた。 numb86-tech.hatenablog.com だがdirenvを使えばもっと簡単に環境変数を管理できることを知った。 github.com この記事の内容はmacOSの10.13.5で動作確認している。 セットアップ homebrewを使っていれば非常に簡単に出来る。 homebrewでインストール ~/.bashrcにeval &quot;$(direnv hook bash)&quot;と書き込む 書き込んだ内容を反映させる $ brew install direnv $ cat &gt;&gt; ~/.bashrc eval &quot;$…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnumb86-tech.hatenablog.com%2Fentry%2F2018%2F07%2F14%2F170802&quot; title=&quot;direnv を使った環境変数の管理 - 30歳からのプログラミング&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-14 17:08:02</published>
  <title>direnv を使った環境変数の管理</title>
  <type>rich</type>
  <url>https://numb86-tech.hatenablog.com/entry/2018/07/14/170802</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
