<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="153314" data-post-id="153314">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="shanesveller" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/shanesveller/120/7962_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  shanesveller
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="dimitarvp" data-post="25" data-topic="27186">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/48/38664_2.png" class="avatar"> dimitarvp:</div>
<blockquote>
<p>So please, write blog posts.</p>
</blockquote>
</aside>
<p>No formal blog posts (yet) as I burnt myself out on blogging last year, but I do have some verbose participation on our local <code>Nix vs ASDF</code> thread <a href="https://forum.elixirforum.com/t/nix-vs-asdf-for-elixir-version-management/15973/" rel="nofollow">here</a>, two Reddit posts <a href="https://www.reddit.com/r/elixir/comments/bo49fh/asdf_the_package_manager_for_all_your_languages/enyv866/" rel="noopener nofollow ugc">here</a> and <a href="https://www.reddit.com/r/Nix/comments/bdyfe4/migrating_from_homebrew_to_nix/en54drx/" rel="noopener nofollow ugc">here</a>, and an <code>org-mode</code>/<code>org-reveal</code> outline for a lightning-ish talk I gave at work a few years ago <a href="https://gist.github.com/shanesveller/071cd919ea3fd8a6cd150ef815a1a5ae#file-nixos-org" rel="noopener nofollow ugc">here</a>, though Elixir is only mentioned briefly in passing.</p>
<p>Today I’m down to <strong>4</strong> packages installed via Homebrew that I haven’t packaged for Nix myself yet, but with 115 (at work) / 145 (at home) Nix packages provided in my <a href="https://github.com/rycee/home-manager" rel="noopener nofollow ugc">home-manager</a> profile. I install PostgreSQL 10.x or 11.x via <a href="https://github.com/LnL7/nix-darwin/" rel="noopener nofollow ugc">nix-darwin</a>, and use an <strong>overlay</strong> to provide the matrix of Erlang/Elixir versions I used to manage with <code>asdf</code>. I dabble infrequently with <code>nixops</code> and currently build my own Docker base images with Nix as well. Honestly, <code>shell.nix</code> and <code>direnv</code> are the real MVPs, though, as the latter has first-class Nix support. The last piece of language-agnostic Nix tooling I really like is <a href="https://github.com/target/lorri" rel="noopener nofollow ugc">lorri</a>.</p>
<p>Hope that gives anyone curious something to chew on!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="153314" data-batch-url="/posts/batch_likers">
                        7
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/which-elixir-version-manager-are-you-using-poll/27186/33">Post #32</a>
	                </div>
	            </div>
              <div id="likers-container-153314" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="153314"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #32"></div>
  </section>
</div>
    <div class="postbit" id="153427" data-post-id="153427">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="msz" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  msz
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I don’t use a version manager at all. I find version managers assume that I want to have several versions of a runtime always installed and all of these are equally valid and important. This is not the case for me at all — I usually want to have the latest stable installed and have others only for “special cases” like specific projects or testing.</p>
<p>I just install the latest stable natively and run other versions via Docker when I need to. This keeps the setup simple because of the perfect isolation and I always know what I’m getting when I type <code>iex</code> or <code>mix</code>. I also don’t need to use a whole separate tool just to wrap my head around runtime versioning.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="153427" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/which-elixir-version-manager-are-you-using-poll/27186/34">Post #33</a>
	                </div>
	            </div>
              <div id="likers-container-153427" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="153427"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #33"></div>
  </section>
</div>
    <div class="postbit" id="153506" data-post-id="153506">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="BrightEyesDavid" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/BrightEyesDavid/120/25042_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  BrightEyesDavid
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>With asdf you do this with <code>asdf global elixir 1.9.4-otp-22</code>. This version will be used everywhere unless you have a project-specific <code>.tool-versions</code> file to override.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="153506" data-batch-url="/posts/batch_likers">
                        4
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/which-elixir-version-manager-are-you-using-poll/27186/35">Post #34</a>
	                </div>
	            </div>
              <div id="likers-container-153506" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="153506"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #34"></div>
  </section>
</div>
    <div class="postbit" id="153545" data-post-id="153545">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="blatyo" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/blatyo/120/4554_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  blatyo
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Conduit Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="msz" data-post="34" data-topic="27186">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/m/b5a626/48.png" class="avatar"> msz:</div>
<blockquote>
<p>I just install the latest stable natively and run other versions via Docker when I need to.</p>
</blockquote>
</aside>
<p>I tried this before I was using asdf. The problem was that file system operations are really slow using docker on a mac, when it has to sync files to the docker container and the host when either changes them. When you’re not mounting a file system it does work pretty well though. I use docker locally for running things as local services like databases, caches, queues, etc.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="153545" data-batch-url="/posts/batch_likers">
                        3
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/which-elixir-version-manager-are-you-using-poll/27186/36">Post #35</a>
	                </div>
	            </div>
              <div id="likers-container-153545" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="153545"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>