Can You Code on a Steam Deck?

Ғылым және технология

One of the big questions I had about my Steam Deck when I got hold of it was whether it was possible to code on it. In this video I answer that by attempting to set up a workable dev environment on it.
00:00 Introduction
02:06 Notes on SteamOS
03:00 Installing brew
05:54 Python setup
07:11 Attempting to use PyEnv
09:02 Installing Docker
09:38 Visual Studio Code
13:42 Pipenv and Virtual Environments
16:42 Path/Shell Issues
19:42 Docker Issues
21:35 VSCode Integrated Terminal
23:12 Conclusion
#steamdeck #linux #programming
Product Links:
Anker USB-C Hub 100W 7-in-1 (US) - amzn.to/3xtLS8e
Anker USB-C Hub 100W 7-in-1 (UK) - amzn.to/3lLxw0J
As an Amazon associate I earn a commission on purchases through links to amazon at no extra cost to you.
SteamDeck: www.steamdeck.com/
Follow me on twitter: / iwootten
Check out my website: www.ianwootten.co.uk
Subscribe to my newsletter: newsletter.ianwootten.co.uk
Tip me: ko-fi.com/iwootten
Buy My Products: niftydigits.gumroad.com

Пікірлер: 82

  • @danielvillanuevadonoso1183
    @danielvillanuevadonoso11835 ай бұрын

    who else is watching without even having a steam deck? :D

  • @devil_butcher

    @devil_butcher

    Ай бұрын

    Me i'm saving up for it>-

  • @user-ed4yp6eq5k

    @user-ed4yp6eq5k

    Ай бұрын

    Wanna buy mine 512gb ssd+ 512gb sd card $300 😏​@@devil_butcher

  • @mattc4567

    @mattc4567

    Ай бұрын

    Yes, research on it to find an excuse to buy one

  • @marcoantoniofigueiredo2820

    @marcoantoniofigueiredo2820

    20 күн бұрын

    :P

  • @clublulu399
    @clublulu399 Жыл бұрын

    The fact that I’m able to set my Deck up as a development machine is next level. Can’t wait for it to arrive. Awesome video.

  • @itdammit
    @itdammit Жыл бұрын

    Thanks man, I'm getting my deck on 22nd and going to use it as my only leisure/study/work device. And with your videos, I might actually be able to start my journey through programming at last. I really appreciate your content, keep it up😊

  • @turtleyoda7703
    @turtleyoda77036 ай бұрын

    Tysm for the tutorial, especially for the tip to use homebrew and the terminal profile fix!

  • @ItsMePeterB
    @ItsMePeterB11 ай бұрын

    Fantastic vid! Thanks. 👍🏽 Got my steam deck last week and thanks to your vid ill be using it for my python studies as well.

  • @theMiaow
    @theMiaow7 ай бұрын

    I usually bring my steam deck to work and sometimes i use it to create personal frontend projects. I really like it so far as it kinda forced me to become familiar with linux since I've only ever used windows to code (my company provides a thinkpad, so it's still windows). It's also kinda embarrassing how my steam deck is more powerful than my company's thinkpad 😅. There was one day wherein I have no tasks for the day so I went on to experiment Ollama for fun. Since the steam deck was already on linux, ollama had no issue on running it there and the text generation was decently fast. In comparison, my thinkpad's wsl was damn slow in producing the generative texts 😅. Really makes me appreciate just how good and how capable the steam deck truly is.

  • @Layne.1123
    @Layne.11235 ай бұрын

    thank you so much for this amazing tutorial

  • @heskobitjuggler1142
    @heskobitjuggler114211 ай бұрын

    Hello everybody! I have my Steam Deck about one month and it was hard to get some things working on Desktop Mode. Finally with some "Little help of my Friends!" (means a lot of different tutorials and tips and tricks), I have it working on my needs. Thank you for this great video, I' still learnig a lot. 🙂

  • @MarzMindset
    @MarzMindset9 ай бұрын

    People really underrated how far the deck can go

  • @papapaupapapau8217
    @papapaupapapau82179 ай бұрын

    Good thing i watched this. Didn't know updates will wipe

  • @ArcherVSun
    @ArcherVSun Жыл бұрын

    plz more videos about how to code in Steamdeck !! thank you so much Wootten!

  • @ArcherVSun

    @ArcherVSun

    Жыл бұрын

    The Integrated Terminal is showing these [xxx preload-host-spawn-strategy] Warning: waitpid override ignores groups warning messages for each and every command executed. google can not help me

  • @TheSeriousDog
    @TheSeriousDogАй бұрын

    I had no idea brew was also available for linux. Pretty cool way of going about it

  • @islemezzine2958
    @islemezzine29588 ай бұрын

    Man I just use the Steam deck with Windows as data analyst, photographer and also for gaming. I can tell all of you just buy one this is the best pc that can exist for travelling, playing, remote work everything… I cant imagine how this thing cost me only 400€. Just dual boot with Steam os or Forget Steam os and go for full normal Windows 11. The best Decision in my Life …. What I am going to do with my Mac Pro and my 1500€ gamer pc … I can Even play fc 24 in 60fps everywhere

  • @nonetrix3066
    @nonetrix3066 Жыл бұрын

    I have been using a immutable distro daily like SteamOS, so I would just recommend using distrobox and flatpaks

  • @JohnMatthewCascon
    @JohnMatthewCascon Жыл бұрын

    I'm not familiar with linux so this is informative for me about the limitations of steam os

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Great, glad it helped

  • @elixirvitaminamerika9111
    @elixirvitaminamerika9111 Жыл бұрын

    Hi Ian. Do you think it is a good idea to buy a steam deck as a device for doing web development? 399usd its a crazy price for a device with that specs. But I am afraid for the read only nature that need a consistent update and wipe everything including the dev environment. Or I can install windows on it?

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Works well for basic stuff. For anything other than running simple scripts I don't think so. I had difficulty getting different versions of tools installed and you'll struggle finding help if you get stuck.

  • @ferrii7
    @ferrii75 ай бұрын

    thanks!!!

  • @antonnemtsev6473
    @antonnemtsev6473 Жыл бұрын

    I did find video where some person manage to install docker with distrobox. But fail to do so myself. Did you try that?

  • @asunavk69
    @asunavk69 Жыл бұрын

    Really wondered how it'd be to use the steam deck for coding since steamOS its a PC and still uses linux, i heard about someone using unreal engine 5, but yeah the immutable aspect of it will only benefict the use case that its meant to unfornatly, ending up to afect the strengths of a standard distro, so developing in here maybe only on Distro Box, which i'd be very interested to see as another user mentioned or with another OS installed overall, which well ofc it can code then but defeats the porpouse with steamOS 3. Looking foward to see more of this in case you have plans :) Cheers.

  • @IanWootten

    @IanWootten

    Жыл бұрын

    I've done a followup on using Distrobox with it so check that if you haven't yet already.

  • @antonnemtsev6473
    @antonnemtsev6473 Жыл бұрын

    Thank you for your work. Did you manage to run docker by now?

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Not docker - but I ran podman in this vid which works well: kzread.info/dash/bejne/o52Xmc6mcabXgNI.html

  • @antonnemtsev6473

    @antonnemtsev6473

    Жыл бұрын

    @@IanWootten How did you solve the issue that some apps require docker.sock?

  • @brother_matt8289
    @brother_matt8289 Жыл бұрын

    could you do video with c++ on the steam deck? been trying to get into coding and i chose to start with c++ but making a stable environment in vscode has been challenging, especially since im new to linux as well

  • @IanWootten

    @IanWootten

    11 ай бұрын

    It's been about 20 years since I did c++. My advice would be to take it one step at a time.

  • @skycloud4802
    @skycloud4802 Жыл бұрын

    I wondered why my Steam Deck wouldn't play my packaged exe Pygame files. I already had them coded, packaged, and working on my pc, so i thought I'd move them over to the Steam Deck to see if it'll work there. Unfortunately the Pygame games I made won't run, even on Proton experimental. The shell python exe games I made do seem to work though (albeit at a resolution that is rather impractical).

  • @user-cl5oi5ck1u

    @user-cl5oi5ck1u

    Жыл бұрын

    is deck good for use python?

  • @complextheory9529
    @complextheory95293 ай бұрын

    What terminal alternatives do you recommend?

  • @robertsturrock6957
    @robertsturrock6957 Жыл бұрын

    Do you know how I'd install miniconda after this? It doesn't seem like it can be installed by homebrew, but I want to prevent it's deletion upon a steam deck update.

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Have you tried using Distrobox? I have a follow up video where I use it on the deck.

  • @FlannelCamel
    @FlannelCamel Жыл бұрын

    Hi Ian! I just started watching videos on your channel and you make quality content, but there's one big issue: your microphone picks up the typing noises from your keyboard and amplifies them a lot. It looks like you invested in a good quality microphone and it's just kind of a shame that it picks up so much noise. Consider placing your microphone on top of some foam or purchasing a microphone shock mount to absorb the vibrations coming from your desk - it will improve your videos' sound quality significantly!

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Thanks for the kind comments Yoav! I use an overhead camera on it's own arm along with the mic so getting it all together is a bit of a challenge.

  • @MaraLazcanoKleiber
    @MaraLazcanoKleiber3 ай бұрын

    THIS VIDEO WILL DECIDE IF I USE ALL MY SAVINGS OR NOT.

  • @cunawarit
    @cunawarit9 ай бұрын

    Just installing everything as a flatpak with the --user option would work too, right? I've not used my Steam Deck as a desktop at all, preferring instead to leave it as a pure gaming machine.

  • @IanWootten

    @IanWootten

    9 ай бұрын

    Not sure. I ended up using this with distrobox in a later video which ended up sorting out many of my issues.

  • @N1k1sh
    @N1k1sh8 ай бұрын

    Steam doesn't have any code editors?

  • @DouglasOtoni
    @DouglasOtoni Жыл бұрын

    Is it possible to install and run VMWare Client? If so, is the performance good? It would be perfect if I could run my development environment, which is set up in a vm, on the steam deck.

  • @IanWootten

    @IanWootten

    Жыл бұрын

    No idea if it's possible, but I'd guess performance would be pretty bad. Distrobox seems to be the most common option, I have a follow-up vid on this too.

  • @BandTubeHD
    @BandTubeHD Жыл бұрын

    Honesty the way my mind works.. when the steamdeck was even talked about I immediately wondered can you do coding.. what if someone does black and white hat things on it.. and can I play Truck Simulator 😆. In theory all these things are possible.

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Black and white hat programming is just simple networking tools so I'd expect so. Looks like both Euro and American truck simulator work on the deck.

  • @viralbox5603
    @viralbox5603 Жыл бұрын

    it says "permission denied" for the docker.socket. maybe all you need is to put your user "deck" in the docker group. usermod -a -G docker deck

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Would be great but there is no docker group unfortunately. Thanks for the help though.

  • @CzMatt
    @CzMatt10 ай бұрын

    Why does it says that "brew command not found" ?

  • @IanWootten

    @IanWootten

    10 ай бұрын

    My best guess: It's not within one of the directories that currently appear on your path. Try "echo $PATH" and see if it's what you expect.

  • @aaron6807
    @aaron6807 Жыл бұрын

    19:42 Docker seems to be working fine, the error message says exactly what the issue is. You just have to start the docker daemon with systemctl, so it can communicate with the server. Great video though, good luck

  • @IanWootten

    @IanWootten

    Жыл бұрын

    It does look like it right? I've just attempted this, but it returns the Unit docker.service is not found. Having looked up the 'proper' docker install process for arch, it appears it should be enabled first but in doing so also complains that docker.service does not exist either. 😕 I guess it really wants to be installed via pacman.

  • @aaron6807

    @aaron6807

    Жыл бұрын

    @@IanWootten that's really odd. I guess apparently the brew package doesn't include dockerd. Ah well

  • @oculushut7205

    @oculushut7205

    Жыл бұрын

    @@IanWootten great video - shame about the docker status.

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Thanks! - I did follow up with a more recent one where I was able to get containers working using podman.

  • @oculushut7205

    @oculushut7205

    Жыл бұрын

    @@IanWootten great stuff - just watched it! Leaving link here for others: kzread.info/dash/bejne/o52Xmc6mcabXgNI.html

  • @Nomellamo999
    @Nomellamo999 Жыл бұрын

    What if we make a dual boot to add another district or distro of Linux. Would that secondary distro lose its setup after updating steamOS? 😅 Maybe we can use that for programming? 🤔

  • @Nomellamo999

    @Nomellamo999

    Жыл бұрын

    Also you can open up an cloud ☁️ instance of a programmable computer 🖥 as well if need. I’m not a programmer though 😢.

  • @IanWootten

    @IanWootten

    Жыл бұрын

    True, this would be the way to do things from a very low powered single board computer like a raspberry pi too.

  • @isaac80745
    @isaac807453 ай бұрын

    I’m pretty sure the 1tb oled runs decent.

  • @oo--7714
    @oo--7714 Жыл бұрын

    You’ll probably need to get the 512 gb version to have a decent experience , visual studio takes up too much storage when you add all the extensions, even on a 256gb laptop.

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Wow really?! Mine is barely 500MB.

  • @lalo38th41

    @lalo38th41

    Жыл бұрын

    You can easily open the steam deck and replace its internal memory with a 2tb ssd from a 64gb version for about the same price as a 512gb version the only difference is the 512gb version has an anti glare screen but you can also buy that online from ifixit.

  • @Kiev-en-3-jours

    @Kiev-en-3-jours

    Жыл бұрын

    @@IanWootten Are you aware he was talking about visual studio and not visual studio code... I almost answered the same then I realized it was not about VS code.

  • @altalt7291
    @altalt72919 ай бұрын

    How do i install python?

  • @IanWootten

    @IanWootten

    9 ай бұрын

    Python is already installed in SteamOS.If you want to install a different version you can use distrobox which I go into detail here: kzread.info/dash/bejne/o52Xmc6mcabXgNI.html

  • @EmpathizeVortex
    @EmpathizeVortex Жыл бұрын

    cant code on steam deck cause it doesnt read your files properly...and i have no idea how to fix this issue. maybe dual booting is best

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Which files?

  • @EmpathizeVortex

    @EmpathizeVortex

    Жыл бұрын

    @@IanWootten seems to be literally any file I download, if I link a page or video to html for example when I go to test it on internet it doesn’t pick it up and if I try install something through terminal it’ll say the file name but when I type install it will say no file exists

  • @EmpathizeVortex

    @EmpathizeVortex

    Жыл бұрын

    @@IanWootten tried uploading them to google drive and get same thing “file doesn’t exist”

  • @EmpathizeVortex

    @EmpathizeVortex

    Жыл бұрын

    @@IanWootten after 2 days I gave up, few hours later it starts working so Nevermind! Idk what that was about

  • @ALEFA-ID
    @ALEFA-ID5 ай бұрын

    Csn you install anaconda with it?

  • @IanWootten

    @IanWootten

    5 ай бұрын

    I haven't tried, but if it can be installed on linux it likely can yeah.

  • @TheALPHA1550
    @TheALPHA15503 ай бұрын

    *programming

  • @fsilva1985
    @fsilva1985 Жыл бұрын

    brew ???? kakakakaka . dislike. pacman sent a hug

  • @IanWootten

    @IanWootten

    Жыл бұрын

    Thanks Felipe. You can't use pacman on the deck if you want what you've installed to persist between SteamOS upgrades. That's the reason I'm using brew in this video.

  • @cptonl

    @cptonl

    Жыл бұрын

    ​ @IanWootten Thanks for pointing that out. These updates are driving me crazy - I've installed clean Arch Linux just to get rid of it and other locked stuff. Can't get jupiter-fan-control working so my fan is louder on it.

  • @ManuelTransfeld
    @ManuelTransfeld11 ай бұрын

    The thoughts I thought were pretty arrogant

  • @curortman6190
    @curortman6190 Жыл бұрын

    Hello! There is a request! Can you make a video on how to prepare a recovery file on a micro sd card on the steamdeck itself, that is, I have a steamdeck, I have a replacement nvme 512 and a 32GB SD card, I don’t have a computer, I can’t use Rufus, respectively, the following is written on the official page: or if you prefer you can do this directly from the command line: bzcat steamdeck-recovery-4.img.bz2 | sudo dd if=/dev/stdin of=/dev/sdX oflag=sync status=progress bs=128M (set / dev / sdX to the USB device you inserted) that is, you can prepare a sd card for system recovery on the steamdeck itself, I have no experience and I don’t understand how to register the sd card slot dev/mmcblk0p1 or something else + I've never used the command line at all and I don't know what other pitfalls there might be! What do you say, can you make such a manual ?!

Келесі