Setting up new MacBook for software development
Вставка
- Опубліковано 10 чер 2024
- Here I go through setting up a new MacBook for software development, the way I usually set things up for my own tasks.
▶️ Setting up a new M2 Mac Mini - • Setting up new M2 Mac ...
▶️ Apple M1 and Developers Playlist - my tests so far - • Apple Silicon and Deve...
▶️ Apple M1 iOS Development Setup and Simulator performance Test | Intel Core i9 Comparison - • Apple M1 iOS Developme...
▶️ Apple M1 JavaScript Development Environment Setup - • M1 MacBook JavaScript ...
▶️ Apple M1 and VSCode Performance - • Apple M1 and VSCode Pe...
💻NativeScript training courses - nativescripting.com
(Take 15% off any premium NativeScript course by using the coupon code YT2020)
👕👚iScriptNative Gear - nuvio.us/isn
#macbook #programming #softwaredevelopment
- - - - - - - - -
❤️ SUBSCRIBE TO MY UA-cam 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 setup with Chrome and Xcode
02:23 Package management - Homebrew
04:23 Profile files
06:22 VSCode and configuration
08:44 Android and JDK
10:27 Android Studio
13:21 Node, nvm, and JavaScript ecosystem
18:24 dotnet and .NET SDK
21:58 Docker
22:48 Python, Conda, and Machine Learning
26:48 Tensorflow (missing packages)
29:16 Pytorch (missing packages) - Наука та технологія
Can't explain how much I appreciate how specific you are with your instructions. It's probably the easiest thing for you, but for new devs explanations go a long way.
Actually I'm planning to buy m2 air 16gb ram 256gb. Is it ok?
I'm buy as I need not much storage, only run Android projects that's why.
Is it's okay?
Or I go with M1 air 16/512gb
@@guptamohit3375 apparently the M2 MBA is not working as well as the M1 when it comes to using it's memory when your RAM gets full. I believe it has to do with a chip of which the M1 has 2 and the M1 only has one. Apple trying to screw people over. I was very excited for this MBA but I think I'll wait for the 15 inch with M2 pro chip that is rumored to be released next year. Maybe they'll decide to include 2 of those chips that help with the RAM and SSD sharing tasks. Though with 16gb or RAM buying the M2 MBA might not be such a bad idea if you need it right now and can't wait.
@@gggabriel1998 actually the main concern is Storage, my budget not allow me to buy m2 MBA with 512gb with 16gb Ram
But I can buy M1 MBA with 16gb/512gb ssd.
So I go for M1 Air with 16/512 or M2 Air with 16/256gb?
As I see the disk speed is less than in M2 MBA.
Also I not need that much storage. But I looking the machine for 5+ year
@@guptamohit3375 if you're on a tight budget the M1 is a reallyyyyy good deal. I personally would just get the M2 with 16gb of ram and use cloud storage or an external SSD, but if you don like carrying around an external SSD get the M1 with 16gb and 512 storage that will definitely get you 5+ years.
@@gggabriel1998 Actually I added M2 MBA 16/256gb in cart is 256gb also okay as the disk speed I see that's why I change my plan.
You made me fall deeper in love with Mac. Thanks Alex!
you've gained a loyal subscriber in me !!!
I like very much how transparent you are! I am waiting for the next generation of Macbook Pro, but I am already watching all your videos haha
This video is super helpful. I just bought the new Mac Studio and I'm currently studying CS + web programming. Your videos are resources I think of first. Thank you.
3 more useful tools:
Fig - autocomplete and plug-in store for terminal
Raycast - spotlight like launder, has most of Alfred feature for free
Stats - performance of mac in the menubar
thanks for this info, I didn't know fig. It's very useful.
Istats for the menu is what I think meant
@@SheldonHull no, stats is free and open source while istats isn’t
@@KpFriendly nice! good one for me to pin. Didn't know that existed
Is fig like zsh auto complete?
Thanks a lot for this video. I really appreciate the detailed explanations for why you are doing things, because most of the guides I finds skims that part over, and being a newcomer starting out, I often get stuck in some insignificant things for days not knowing the reason I got stuck. The detailed explanations and guidance is what I was looking for and this helped a lot. Thank you for not skimming through.
This was long but worth it. Thanks for all your effort. I learned a lot.
Just got the M2 for developing as well, stoked to see I'm pretty much doing the setup right XD although in my experience developing with React Native and Xcode doesn't always work well with nvm so I just go with the official Node installation
A healthy mix of Xcode and VS Code (remote containers) makes the inner developer happy
is it healthy if you run remote containers? Imagine getting overpriced typing machine just to run remote docker
@@simpleman5098 I'd say if the main piece of software you intend to use on your MacBook was VS Code, then... yeah, in my experience, still a great buy when it comes to laptops. If you also need to use Xcode, it's fantastic. My overpriced typing machines have served me better than my non-Apple laptops have over the years, especially in recent times.
Just wondering if 8/256 would be sufficient for all this any Mac M1 or m2 users having same varient?
@@sahilapte7735 get more storage. My old i5 macbook pro had that much storage and it wasnt enough. I have a 1tb model now and its much more usable
is xcode a good ide for anything other than swift?
Great job! Smart choices. Direct in explanations and no fluff. Very professional. Thank you!
HI, Alex. love to watch your guides, tutorials, and other tech stuff videos. they are so worthy. great explain. good luck!
You must have read my mind because tomorrow I'm getting my first Macbook and I was just thinking about how to set it up and here your video is.
Awesome video! I like your calm, precise and thorough approach to it! Thanks for the help!
Awesome video Alex. Appreciate all the great videos you are creating
Hey Alex I really love your videos!
You in your mancave doing techno playful stuff is what I ❤️.
Can you do a similar video but isolating dev environments in containers?
I mean installing almost nothing "locally" except docker and vscode..
But everything in containers?
This is super useful. I saved it for future reference. The only thing missing is Git, but I think that's installed with Xcode.
Just moved to Mac OS to setup my personal machine for development. Great instructions
Your video was so helpful, thank you so much, just starting to use my first mac.
not sure if you ever created a follow up video for this but all of the links you have listed in the video worked for me just now, thanks!
Thank you very much! I just switched to macbook and this video helped me to set up it!
Thank you so much for your detailed explanation!
This is an awesome video! More like this…love the great details.
I’ve been watching your videos kinda sporadically but I love how you go about explaining not just what you’re doing but why it’s all happening in the first place. I remember setting up my first laptop for dev in 2018 and I had to reset it completely after I botched my Python build. Any piece of advice I can give to people watching rn, make sure you’re system is built correctly to play around with code before you.. code. Otherwise it’ll be a labyrinth of error codes, long nights of rambling to yourself about the Inception of Python interpreters you have simultaneously running dry on the root user. I distinctly remember a week long TF repair wrecking me for not having the right Python and all I could think at the time was “I have like 8 versions of Python and you can’t use ONE??”
Felt good to see the system completely passed over your .z profile and the TF install error.
Thanks for allowing safe passage through the treacherous installing of softwares. I’ll rest easy next time I have to upgrade
For the nvm package, we can also use brew to install it. Its much much easier to manage! :) Great video like always!
I highly recommend volta to manage node. It is, in my opinion, a much nicer experience than NVM, as it automatically loads the correct node/npm version of whichever project you use it in, and it has other benefits too.
beginning up on coding and ı found your video really awesome andn easy to follow. Thanks alot.
Great installation process. I’ll take that
I learn so much thing on this video , thanks lot Master Alex
Just getting started with coding on a Mac and I really appreciate how well you explained everything. Great work! Liked and subscribed.
Welcome aboard!
impressive vid..liked watching you do the setup..liking that your someone that knows his stuff even going so far as to mention your nand is one chip so it's the 256gb model.. btw i'm an older guy getting in to dev..going back to school next year..
Another video full of tons of information :) Thanks Alex. I'm addicted to these types of videos :)
Really well explained! Thank you :)
Thanks for easier nvm instructions!
Thanks a lot. This was a great tutorial
Hey Alex thanks for sharing as always. Very inspiring videos. One thing I was thinking could be interesting: you’ve tested ML training between various machines and chips, and it could be interesting to see how these chips compare to cloud services performance like AWS. After all a developer could use a M1 Air to connect to a remote Linux box and have the flexibility of the laptop and the performance of a big tower, but would it be worth it? How much more power would you draw from a multiple nVidia GPUs against a M1 Ultra? Just a suggestion. But thanks anyway for your good work and your light and entertaining tone! Really appreciated
I did want to compare a cloud build to a local one, but haven’t gotten there yet.
wow i wish i have this MacBook.Thnks for sharing.I use a pc but this video is really detailed and great.
Thanks for video, it's helped me a lot when sorting my nodejs
Great to hear!
Too much useful information!
ITerm is a good addition to the terminal window.
Dude thank you so much getting the m2 max soon !
Enjoy it
thank u very much.The vedio is so helpful,and save me a lot of time to know how to install python and so on!
I have gone through a similar routine for my new macbook. I like brew to manage my node and dotnet installation though.
I use XCode all the time. I really like its simulator and profiler and also the ability to quickly archive & publish to Apple Store. Wish they had their chatGPT "pilot" within (I did see your video about it, but couldn't really get it to work for me on my main development computer... tried a couple of times and can't invest more time, I'm sure Apple will build something there..) For languages other than IOS / Swift, I like other environments. Most other tools you mentioned are part of my setup... Cool video! thanks for publishing! BY THE WAY Google Chrome I also use when creating scrapers and other NLP/machine learning tools that get data from internet... somehow better tools use it.
Great work!!!
Love the channel
I appreciate this video. Thank you
I am a 2 months Jr. Front-End developer.I know there are a lot of brilliant minds in the world.But this is the first time i have seen someone uses/works that much topics(Web,Mobile,ML).I am absolutely terrorized by the intelligence of Alex.Just wow...
And i am still struggling when using Context API..
good job! thanks
you should make an updated version of this video for the new M3 MacBook Air, that would be really helpful!
Thanks. I just bought a MacBook Pro 14 inches for coding and deep learning and had no idea how to begin. This instruction helps me a lot.
im debating .. what spec did you go with ….
@@3rdtwirl494 16GB memory with 1TB Storage, if not enough in the future, I may buy a portable SSD.
Hey Alex love ur video. Can u do one for data science?
Hi Alex. Have you tried to run a KMM project? Work with Android Studio and Xcode side by side, running the whole test suite and everything? Or can you share your experience compiling large projects? Thankyou!
Thank you for all the clarifications that it is a great device ,I dream of it a lot , but its price is expensive for me, I hope to get it even if it is used.🙂 💻
You need XCode command line tools for most general web development but you don't need XCode itself.
Thanks really helps but yea I would be pretty interested in getting tensorflow running in vs code on my Mac I just can’t get it to work I would most definitely binge watch that video if it were to exist someday nevertheless thanks for the guide putting so many different programs into context really helps
I just install the xcode CLI tools. The frequent 200MB updates for XCode are a killer.
Awesome! Much appreciated.
Glad it helped!
dot definitely not!!! awesome tutorial Alex!!!
seen like your harddisk going to blowup with these dev tools on small storage.
thanks a bunch
Aweaome! Thanks!
great video!
Thanks!
I haven't owned a Mac since a PowerCenter Pro around 2000ish. The reason I'm interested is long battery life (my gaming computer new got an hour and 15 minutes*), no fan (walking into a coworking space is a reason for them to turn on the music), 500 nits (I work in a dark room, I don't see the light of day), and cost (the new Helios 500 version got a cost upgrade, even with an 11th not 12th generation chip). I remember all the downsides of a Mac and I don't expect to be pleasantly surprised.
* I was watching it compete with a parking meter close to the World Bank in DC
You can remove app from dock by clicking "Remove from Dock" under app icon options.
Please let us know the experience of using the machine for programming and the battery life
nice video, thanks for sharing .).
i would like to see the follow up for tensor flow base
Great vid, thanks Alex. I’m a Python Dev, so I only use xcode tools. Note if you use a ~/Developer directory rather than ~/Code, you get a pretty icon in Finder. Shame as I always used Code on Windows and Linux. Yes, the nice screen, keyboard and LLM performance have me on Mac these days.
I use VSCode on my Mac for dev. I have tinkered with XCode to deploy an Object Detection app on my iPhone. I definitely prefer VSCode for all my dev work, however, developing apps for Apple devices is seamless and best integrated with Xcode.
I would like to see how TensorFlow runs on Apple Silicon. Do keep me posted when there are new changes in the instructions or any new info.
Same. I actually dont even have xcode installed anymore to free up space
@@retrorewind6042Is 16/512 ok for Dev work with M2 Air?
@@sunitjoshi3573 ram wise yes. Storage wise... unless you have an external drive id say go for the 1tb but depending on what you do 512gb could be ok. Personally i dont get anything less than 1tb but i also do content creation which takes up a lot of storage
Do you think that the new MacBook air is good enough to do the same works? I don't know which buy...
Thanks for the answer and the video!
Video showed up in my recommendations. Looking at getting a Macbook for iOS dev work. Do you think the base M3 Pro 14" MBP is sufficient for that? Believe it's 18GB of RAM and half a TB of storage. Felt I could get an external thunderbolt storage alongside my iCloud backup to address any space issues, but is the RAM amount good enough?
Hi, thanks so much for your tutorial. I still have a question. Does the python installed through miniconda run natively on Apple Silicon? Some tutorials tell me to use mini-forge instead. I don’t know the difference. Thanks so much!!
Very instructive video. I appreciate for that. Is there any update about Tensorflow? I'd like to try to upload it again :)
love it!
Are there ways to quick maximise a window? Like in windows? I mean full screen but including the bar at the bottom :)
the tensor flow and the PyTorch are working now
great video! For Java a tool like sdjman, a sort of nvm for Java, might be more flexible than using brew
Did you seen some issues with M2 architecture incompatibility for some packages? Thanks
Hi Alex, can you create a video about how to fix homebrew not installing? Most common issues right now is the recieving files error. I had the same issue with my new air m3.
Excellent video. I might suggest you do this annually or biannually to update changes.
My favorite necessity is drag windows to snap to edges, like windows has. Also I switch control and common so I can control c/v instead of command bc the buttons are way too close and uncomfortable
Thank You Alex. I pip3 installed python on my Mac and use pyenv but looks like Anaconda's easier to handle this aspect. I'm more than knee deep into my code dev and things are working fine with ver 3.10. but would it still be advisable to install Anaconda at this stage, midway?
Is there a significant difference bw 8core n 10 core M2 gpu? In case of data sci, ML workloads
Would you recommend MacBook over Windows devices for NodeJS application development? I find Unix based system very interesting, but also comparing is that worth to pay so much.
Thank You❤️👍
You’re welcome 😊
Hi Alex. Do you use any database for your applications? If so, can you tell about that?
I'd love for him to make a video using node to connect to a remote Oracle DB. I prefer mongo but am currently working with an Oracle DB. I gave up trying to use node. I really couldn't find anything helpful. A lot of "this should work" but nothing that actually worked. I got something working in python.
Danke!
Alex, did you record your face and audio separately and then edit the video to include it in diifferent formats?
Think you performed "conda install -c apple tensorflow-deps" in one environment, then created a new environment (tf1?), activated it, installed python and then tried to install the base Tensorflow, which raised an error. Perhaps this was because the new environment never had the dependencies installed? I made sure to do that and did not have the issue.
Awesome tutorial, is it compatible for m1/m2 to use vim and dofiles from ubuntu?
Hi any idea of a program or app to use in Mac for doing take off and estimates for construction business?
Great alternative to chrome is edge btw!
Is macbook best for Learning Devops ? Please suggest best macbook or budget macbook with minimum configs?
28:46 in step two for tensorflow there was a note about conda so the error for conda not for all users
Did you choose M2 air instead M1 pro just for the size? Or is it something performance wise?
Aaah the light mode coder
Hi
Alex Ziskind, please make a video Machine learning video benchmark test on M2 chips on mac book pro 13. thanks
Do you have any video on parallels? There are some windows programs that I absolute need o use that are not available to MacOS. Does It runs fine? Thanks man.
Just curious, why didn't you use Homebrew to install Xcode, Chrome, etc? I'm new to this. Thanks!