jnswtk
Hello,
few days ago I changed my GPU and I had to switch from Linux to Windows. I consider learning Docker instead of installing Elixir on my machine. Is it worth my time? I’m still learning Elixir basics and I don’t have any experience with Docker, but I thought that maybe it’s a good idea and some kind of investment for the future.
Unfortunately, virtual machines don’t work well on my machine, they are pretty slow and I have bad experience with using them.
Thanks!
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app?
Looking for hints regarding:
Addi...
New
Kia ora,
We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
Hi all, I wanted to ask how the community is dealing with post-release steps.
Today we have Ecto migrations, which make sure that the db...
New
Hello,
I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #ai
- #genstage
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex











First 10 of 22 Posts
tomkonidas
If I am using windows, I use WSL2. With this i can treat it as any other Linux machine. You do not need to use docker, but If you did, it has nice integration with WSL.
In WSL, I use asdf for elixir/erlang/nodejs
thiagomajesk
This is also the best advice I can give as a Windows user.
I’ve been using WSL for the past 2 years with Elixir and the overall experience has been pretty good (especially after some WSL2 tweaks).
sergio
You shouldn’t compound one unknown with yet another one. Learn Elixir, don’t learn Elixir and Docker at the same time.
I’m using Windows 10 to write Elixir – but I use a Linux Mint virtual machine and actually code in there. I recommend you go that route.
https://my.vmware.com/en/web/vmware/downloads/info/slug/desktop_end_user_computing/vmware_workstation_player/16_0
crispinb
My main current machine runs Windows 10, and having come to it from Linux (Fedora) I’ll attest to WSL2 working remarkably well. I brought my Linux dotfiles along (making a few wsl-specific edits here and there), and I have an environment that feels pretty comfortable. Windows terminal is finally good enough to live in. From day to day I hardly notice that I’m effectively working in a VM. Performance is impressive - within a few percent of running Linux on bare metal. You can even use your GPU from WSL (though until the final WSLg release it involves running a Windows Insider build, so probably better to wait a few months for that).
Agree that adding the burden of learning Docker seems like an unnecessary barrier.
cmo
You can also develop on Windows without using WSL.
thiagomajesk
Went that route before and can’t quite recommend that. The “elixir experience” on pure Windows can become quite frustrating sometimes although it might have changed since the last time I used it. One of the things that ground my gears back then was that IEx autocompletion simply didn’t work (and
werlis just not really a good alternative to a terminal workflow. Besides, it is ugly AF)You are better off just using WSL2 with whatever distro you like best. It’s just easier to set up and you won’t have problems with libraries where UNIX support is first class. Just less headache overall.
cmo
IEx autocompletion, no asdf and sometimes symbols/colours in the terminal are weird are what I notice is lacking, but I figure typing everything means I commit things to memory better.
My app is designed to run on Windows only and interacts with other Windows software through a dll, so I don’t have a choice
jnswtk
Thanks for all replies!
I made a small research about Docker and it seems to work a little bit different than I thought. I just set up WSL2 with Ubuntu and installed elixir (sudo apt install erlang elixir), but I have some troubles with ElixirLS.
thomas.fortes
Install elixir and erlang with asdf or using the instructions from Installing Elixir - The Elixir programming language, the versions available on the default repos for ubuntu 20.04 (which is the most common in WSL2) aren’t that updated.
IIRC the default elixir version in the ubuntu repos is 1.9 and elixir-ls depends on 1.10.
jnswtk
Thanks, I updated elixir to 1.12, but I still get error ‘server crashed 5 times in the last 3 minutes’, no matter if I try in WSL Remote or not.