Setting up new M2 Mac Mini for software development
Vložit
- čas přidán 15. 06. 2024
- Here I go through setting up a new M2 Mac Mini for software development, the way I usually set things up for my own tasks.
Temperature and fan control: www.tunabellysoftware.com/tgp...
Run Windows on Mac: prf.hn/click/camref:1100libNI
👀 More gear I use: (including course creation and youtube stuff): www.amazon.com/shop/alexziskind
▶️ Ways to Install Xcode video: • best way to install Xc...
▶️ Setting up new MacBook for software development - • Setting up new MacBook...
▶️ Apple M1 and Developers Playlist - my tests so far - • Apple Silicon and Deve...
💻NativeScript training courses - nativescripting.com
(Take 15% off any premium NativeScript course by using the coupon code YT2020)
👕👚iScriptNative Gear - nuvio.us/isn
#m2 #macmini #macminim2
- - - - - - - - -
❤️ SUBSCRIBE TO MY CZcams CHANNEL 📺
Click here to subscribe: / alexanderziskind
- - - - - - - - -
🏫 FREE COURSES
NativeScript Core Getting Started Guide (Free Course) - nativescripting.com/course/na...
NativeScript with Angular Getting Started Guide (Free Course) - nativescripting.com/course/na...
Upgrading Cordova Applications to NativeScript (Free Course) - nativescripting.com/course/up...
- - - - - - - - -
📱LET'S CONNECT ON SOCIAL MEDIA
ALEX ON TWITTER: / digitalix
NATIVESCRIPTING ON TWITTER: / nativescripting
- - - - - - - - -
Chapters
00:00 Initial cleanup and Finder setup
05:13 Utilities
09:14 Software dev tools and Homebrew
12:07 VSCode setup
13:58 VSCode extensions
18:43 Command Line Tools checkup
19:50 Node, nvm, and JavaScript ecosystem
22:53 Android studio setup
23:29 Android config
25:46 Cross platform tools Android additional setup
27:17 Python section intro
27:41 Python environments with Conda
31:08 Profile config files
31:47 Docker
33:20 Http debugging with Postman
34:15 Git config
34:29 GitHub desktop
35:17 ssh keys
37:41 Git workflow
39:59 Windows on Mac
41:25 Parallels toolbox and Window management - Věda a technologie
JOIN: youtube.com/@azisk/join
Pro-tip: If you call a folder "Developer" in your Home directory, it will become a special folder. In list view, it will now show "version" as a column and if you place the "Developer" folder in the sidebar, it will get a hammer icon. Very neat. I like it.
I too, watched the video.
@@Rydn which video!?
@@LewraAzad this video. All he did was literally say the same thing that was said pretty early in the video.
niceee hahah didn't know that, ty
Works in Monterey too
THANK YOU!! I just got a new MBP 14 M2 and your NVM management part was really a lifesaver! As i'm working on projects with different versions of node needed, You saved a lot of time!
Brilliant tutorial on comprehensive development environment setup using a Mac. I’ve been out of sync on software development tools for a Mac, and learned a lot from this video to get started again. Thank you!
Was setting up my new MBP watching your old 31 min video and now got the new video, Nice !!
Thanks for the amazing videos with so much learning with funny bits too !🙌🏼
Enjoy!
Really love these videos Alex, thank you so much. I am a Windows developer and am looking for a new laptop, and not really impressed with any of the Windows laptop options available. Through your videos like this and the ones on parallels I've learned that I can get pretty much everything I need on a mac now so I think I'll try it out
Hello Alex 🖐🏻. I am windows user and today bought my first MacBook . I have struggle to setting it up for Development . Your great video helped me alot! Keep the good work!! I am happy that i found your channel!
Greetings,
Daniel
I love me a nice long form setup video 😁Always fun to see how others have their machines setup and some reasons behind it.
Glad you enjoyed!
Homebrew seems to be quite popular, but I've been using MacPorts for ages so that's what I stick with. I'd love to see a video where you try out both and report your experiences. I'm sure a lot of developers are in a similar boat, using one or the other and curious about how things are on the other side of the fence.
Home brew doesn’t work with older versions of OS X, so I have to use Mac ports. I don’t love it but it gets the job kind of done.
I'm learning software development and machine learning by myself. I know some of the stuff he talks about, but everything else just goes over my head 🙃 but still, I love his content!
Great video! Just got my first Mac and this video was a great watch. Learned how to fix a few things that were bothering me coming from Windows. Love your work.
Great to hear!
Excellent video! I feel compelled to walk through and try your setup.
I know this is a set up video but you're very good at explaining things especially around the python part, what is happening, why and what you should do.
Excellent! I'm just setting up my first ever macbook for work, so this video was really helpful!😊
Glad it was helpful!
Thanks a lot for this video. I was stuck with a permission issue while installing angular. Your advice to use nvm saved my day :-)
This video is insane. Very interesting stuff for a new mac!
This was extremely helpful, thank you so much Alex!
Great help setting up an MBP M1 Max, sweet thank you for all the details
Just bought a mac mini m2 pro on 24 months EMI. Nice video. Helped a lot in setup.
Thank you very much, excellent video, like all the ones you do. It has helped me to configure my Macbook Pro by Python. Continue like this!
Awesome tips. I didn't want to manually install the programs, so I just created a brew "recipe" with all the programs I need that's available in brew, so I don't need to do anything but run a big block of brew install commands at once and wait for them to finish.
Very thorough and detailed. Much thanks!
Very welcome!
best video I've ever seen on setup❤❤
Finally a great video from a Mac ......... Pro-USER :D Thanks Alex for the many tips and tricks
Happy to help!
Thanks for this video, it’s very useful 😊!
Hi Alex. Nice video as always. Saved this video as installation guide to setup macs for software developments. 🙂 ( My development setup is pretty much the same as yours ) 👍
Awesome video never used b4 home brew but gonna try
thank you! im a newbie in mac. useful for me.
I got my M2 mac mini yesterday and this video was helpful!!! I'm slowly transitioning into the apple ecosystem. Thanks Alex.
Was 8 GB enough for you?
24GB@@diasabdrakhmanov
That was very informative. Thank you!
This was quite helpful. Thanks
Great video, Alex! 🙂
Great video, very comprehensive
Lots of useful stuff. Thanks.
Love this video, thanks!
awesome video man!
Wow really needed this video, very helpful
Glad it was helpful!
Great contents! Thanks for sharing.
Have you explored having a mac mini desktop AND a macbook for travel purposes? I'm curious about this setup, but worried about proper/seamless syncing between the two?
Thank you man!
Almost the same as I did for Windows.
homebrew - scoop
terminal - cmder (full version includes git/bash/vim)
git desktop - sublime merge (light and fast)
missing in the video
for screenshots - greenshot
for video capturing - screen recorder (can save video as animated gif and blur some sensitive data)
both used for registering bugs
would be nice to hear what to use for screenshots and video capturing on mac
I only used the developer tools of Chrome for years, until 3 years ago when I realized that Firefox's developer tools are more advanced in the CSS area. Firefox gives a lot better feedback and insightful comments on why something doesn't work. Firefox is my CSS debugger.
What is Firefox?
Firefox is awesome.
Good man. Natural scrolling is the unnatural one.
It would be cool to see how much storage space is left after setting up this dev environment
prob like 150-160gb left
Thanks for the video, a lot of helpful tips! @AZisk, I know you mentioned before that you use Atem Mini Extreme for recording, but it only supports 1080p and your video looks super crisp! How did you achieve this? Do you just sync/replace your Arem recordings with camera recordings in Davinci Resolve?
I record QA test automation trainings for Udemy and thinking about leveraging Atem Mini to simplify editing.
The Mac Mini is great for those that do not want to bring a laptop outside the apartment/house. Just get a decent 27-inch 4k LG monitor, Apple keyboard, and a magic mouse. This includes 16GB of RAM and 512GB of SSD storage.
- M2 Mac Mini $1,300
- Apple Keyboard $30
- Apple magic mouse $99
- 27-inch 4k LG monitor $300
Total = $1,729.
FYI...The M2 MacBook Air costs $1,600 with 16GB of RAM and 512GB of SSD storage.
Great video! Thanks! 👍🏼 5:00
I watched this when it was new. Rewatching it because I now own one 🙂.
Great video and walkthrough. But is 8GB going to be enough?
Great video, especially the thumbnail.
2 more things. 1.Volar (not Vetur) is the current official plugin since Vue 3. 2. Natural Mouse movement all the way (up to go up... down to go down! yeah)
This was just excellent, Alex. One difference from what I do (have done) is using Homebrew. I use to use it all the time but ran into problems with Apple silicon. Also it seems that many of the casks were not the latest version or didn't download everything that the normal installer did. Has this gotten a lot better? (Also the other thing I have done on my 256GB M1 Mac Mini is set up my home directory on an external SSD drive, but that is a whole other story - still runs pretty zippy).
Do you use macports?
This is the most detailed and informative video on development environments. I am taking so many new things and subscribing the channel only due to this first video. Loved the stuff. Set down through whole video. Amazing amazing stuff. More power to you bro. 👍❤
Glad it was helpful!
Yes scroll is a personal preference.
So after all the installs, how much disk space did you have left? Did you install the VM (or other items) on the external drive? I had a 128Gb HD in a MacBook and after Office and a few productivity apps I barely had room for documents.
I love the video, Is it a good purchase option for juniors?
Alex thank you for your video, love them, my question is, you have the mini with 8GB, is that will be enough or should I go with 16GB?
thank you
call me lazy i keep all the apps i use in the dock- thx for sharing your set up
Really very useful video, thanks
Glad it was helpful!
Believe or not, some of situations you handled in this video, took me a lot of time to solve, I wish if you change the video title to reflect the valuable information it contains. Thank you again!@@AZisk
Love it ❤
Few other suggestions: iterm2, ohmyzsh, powerlevel10k, square for window snapping, Microsoft Edge instead of Chrome
spotlight you can also just type vsc
Nice video ☺️☺️
Thanks 😊
I would recommend kdiff3 as a dif tool. It's open source. That helps not only show differences but also auto merge three versions (base, their and yours) into separate space. Looks a bit ugly but very intuitive and quick to use. You can define your own rules for auto merge, using regexps, etc. Many IDE and GIT clients can adopt it as your 3rd party merging tool.
Thanks 👍
Volar > Vetur
Not a big deal tho.
Awesome video sir, thanks alot
I recently bought the same Macbook Pro Apple refurbished.
4:50 I'm not a mac user but if I'm not mistaken if you have copied the picture you can just select the icon under properties and press cmd+v to change it
one addon if you are doing apple development or ios development then you will also need cocoapods installs to manage your project dependencies.
Curious as to why Homebrew isn't the first thing you install and then use it to install Chrome, Beyond Compare, etc. While it wouldn't make for a great video, script it all out, get some coffee or beer and sit back and watch it do its thing. Actually, maybe it would make for a good video. Scripting installs with homebrew and maybe even some of the more common UI tweaks you make. What I do (mostly on Windows but a little on Mac) is set up a VM where I can get the script perfect and then use it for future new machines or re-installs of current ones. Love the videos.
Thanks. Please how do I install c++ libraries like OpenSSL on this Mac mini and be able to run via vscode code runner? Thank you
UTM does not have all whistles and bells Parallels has, but fits my needs pretty well.
I thought the same until I actually tried Parallels. It is SO MUCH FASTER!
All these can be installed on 256gb storage? Amazing!!! You should have shown how much space was left at the end. Great vid
I think 256GB is too little. Generally, environments start to grow, more versions, tools, libraries, projects, git version control increases a lot, etc, etc, etc
Flycut for multiple copy and paste, is a basic utility for any delevelopeer
Excellent,
8gb ram is enough for xcode and android studio?
i have a macbook air that i love, but 8 gb is not enough.
with vscode, mail, rust plugins for vscode end a few safari tabs, i have just 1gb of ram left and if i need more apps opened often the swap space is over 700mb, and i don't want to wear out the ssd.
i'm thinking to buy mac mini m2 but with 16 gb of ram.
do you think it is right, or maybe with just 8 gb i can work?
If you intall docker and kubernetes in a homeserver do I need also to install conda and docker in my mac? Or how do I connect to those on my other computer server with the VMs ( using an old dual xeon with 64gb mem and 4T as server with proxmox
I first watched this video even before buying my mac mini m2. A week later I finally bought mac mini m2 and went to set-up it up like this even tho I am just about to start learning python. hahah lets hope I become a python programmer in a year. lol
You should accelate your trackpad or mouse speed to the maximum.
Difficult to adapt at the beginning, but you would love it.
Thanks for the tip!
So overall you can work fine on soft dev with 8/256 ? I'm thinking buy the base model for that.
Do you recommend me buy it? does it run docker, java and others programs that demand a lot resources?
Hi Alex, are you still there? I'm going to get a Mac mini in the near future. Any chance of a screenshot giving the Mac specs that you have to install node.js and android? I find lots of debate on the internet and they don't look convincing. Is 8 gb ram enough for everything?
I'm curious why people began using raycast instead of Alfred. Is there any difference?
I have an M1 macbook air. I need to run assembly language codes in it.
I cant seem to find a way to do it.
can you please share how I can run assembly codes using vs code as IDE (without installing homebrew or xcode) on my mac?
Is there any way I can backup/ make an image of my Win 10 on Bootcamp and somehow use that image and get it to work via Parallels on M3 ?
Hi Alex, thanks a lot. Please my terminal always launches from my conda base environment. How do I deactivate it permanently so that it doesn't always launches from the conda environment?
For a macbook what is "Normal" temperature C, when runing Android Studio or another apps?
"Hey everyone, I am recently experiencing a drop in performance on my 2020 M1 Pro since updating to Ventura 13.2.1. I've noticed that the Mac heats up unnecessarily even during simple tasks and charging it makes the entire metal body heat up, which is concerning. I wanted to ask if anyone else has had similar issues with their M1 Pro and if there are any recommended solutions. Thanks in advance for your help!" and Alex if you have that machine lying around then can you plz testify for me drop in battery is also significant
@Alex Ziskind, I am very sorry to inform you that nano has been replaced by pico in macOS. When you type nano in the terminal, macOS brings you pico instead, which works almost the exact same way (I noticed strange stuff with lines of text that are larger than the window)
Thanks a lot for your videos BTW !
I'm not sad. Basically the same thing :)
Use vi, its the way
Is it worth spending on a mac mini for a computer science student or a software engineering student?
Wow, from what finder shows at 02:05 and 35:00 this only took up about 19GBs, not counting Parallels and the Windows install
while setting up my django project when i upgraded from linux to mac m1 pro homebrew did something strange, whenever i used mysql installed via homebrew to connect my django to localhost db it was loading very slow but when adding natively mysql ofc removing from homebrew the speed to template opening increased how i came to conclusion that its was not something with my django was simple as i used a hosted db it was running smoothly but local mysql db was slow when with homebrew maybe i might had done something wrong as i was new to mac
First time I hear about raycast.
I've been using alfred.
Are there any points that favor raycast other than alfred?
@Alex Ziskind a quick question, i want to use my mac mini to self host runner on github, my question is can i use mac mini remotely, or does it need to be with me all the time?
Haven’t made it to the end, but no dark mode and no “show extensions”?
很棒的视频
But is the base model enough or it is worth to go for the m2 pro Mac mini ?
Hey Alex, thanks for this! I got a Mini M2 pro with 32 GB RAM. When I have nothing open but activity monitor it's already using ~8GB. That seems to be the baseline, from there when I open stuff it's nice and stingy with the RAM. If this is the case with the entry level Mini's that might be good info for folks to know. Thanks for what you do!
Hey Bob, I'm planning on buying the base model of Mac Mini M2 Pro 16GB RAM, do you think it'll use 8GB when idle as well??
@@joshuamyers2045 It shouldn’t. MacOS will try and use as much free ram space as possible for stuff like filesystem cache. The system is quick to give up that used memory as soon as someone requests it.
Also macos memory compression is an amazing feature. Really cuts down on ram usage.
I’ve been running 2012 MBP with 8Gigs, and other than virtual machines sucking up static amounts of ram (thx docker), the experience using it is fine. I do not usually run out of memory… well… until I open AfterEffects and couple dozen of browser tabs, but that’s a story for another day.
@@joshuamyers2045 have u bought mac min ? I am also going to buy mac mini m2 256gb
Hi, I want to ask. Is 8GB RAM enough to run Jetbrains + Chrome with multiple tabs open + Docker at same time? Thank you 😁