“I used Firefox to download Firefox”
Is this something everyone should know to do? Or just style points for programmers?
You don’t have to know how to do it unless you want to install Firefox on Windows without ever having to open Edge. In that case, this is one way to do it.
You don’t have to know it, but it’s a good thing to know!
It’s actually easier than the other way once you learn how to use it (looking through search results to make sure it’s the official link, clicking through installers, having to think about updates, etc. vs. just opening a terminal and typing
winget install whatever
).But the terminal intimidates people. So I expect this will mainly be used as an optional “tech tip” sort of thing.
using winget is a much safer and faster way to install new software. yes command prompt seems intimidating but it’s super easy, you don’t need 1337 hack0rz skillz to use it
Do you know why there are multiple packages named similar to the original ones? For example there are multiple Vim packages in the winget repository which makes it confusing.
More like sysadmins not programmers. I’ve met plenty of programmers that write brilliant code, but don’t know how to manage computers very well.
Gotcha. I don’t know the difference between all the techy jobs, you all just do various forms of magic to my muggle brain.
At the moment i like choco more than winget, so winget is now the tool to install choco???
winget uses official repos, choco uses its own community-maintained repo.
I write at the moment, because the it’s good that microsoft finally has a package manager. But even though choco is community maintained, it’s quite good and has a lot things microsoft not yet has. But what annoys me the most with winget ist, that the package names outside of the store packages have horrible names. But you are correct, official is better.
Yeah I really like choco as well, I have my little script to keep softs updated, I haven’t spent much time with winget yet. I might be wrong but I think Choco installs software in specific folders instead of the usual C:\Programs or Appdata ?
in case anyone wants the mac equivalent
brew install --cask firefox
of course first install xcode and brewJust casually having Firefox with plugins and settings described in my NixOS config.
https://github.com/pimeys/nixos/blob/main/desktop/firefox/default.nix
Works always the same.
Man nix looks soo damn cool. I just dont know if id ever actually use it. But a versioned controlled OS seems so sweet.
Can you use it to choose desktop environment as well?
You can. I run sway and it is configured through nix:
https://github.com/pimeys/nixos/blob/main/desktop/sway/default.nix
Gnome design makes it a bit harder, but not impossible:
https://hoverbear.org/blog/declarative-gnome-configuration-in-nixos/
Somebody doing the same for KDE:
https://github.com/LunNova/nixos-configs/blob/dev/users/lun/on-nixos/kdeconfig.nix
So the answer to your question is yes. It is possible and kind of required to go the full nix route with NixOS. It might not always be super straightforward with large DEs, and for sure works much better with window managers that already utilize text configuration.
Yep. To change desktop environments, just change:
services.xserver.gnome.enable = true;
to
services.xserver.plasma5.enable = true;
Wow. Im gonna try it out in a vm even if i have no use for it. That is crazy.
It’s really nice. When you setup a new system, you don’t have to spend hours changing settings, configs, and installing packages. With NixOS, just copy the config file from your old system and then run
nixos-rebuild
.I really wish the default template switches to flakes soon. Using flakes is a must for the best experience, and converting the default config is at best a hassle and for newbies a huge mountain to cross.
This is cool because it gets rid of all the packages when you switch. There is nothing left of Gnome when you switch to KDE.
Damn, nix is starting to look better each time I hear about it.
Is winget installed by default on Windows now?
Yes, finally it comes with a package manager by default!
Only 24 years later
sudo pacman -S firefox
Wait how is your pfp spinning?
On Kbin, you can set a gif as your pfp.
Spin.
I use arch btw
I also use Arch btw.
deleted by creator
pacman
supremacynix-shell -p firefox
sudo pacman -S firefox
Nope, the correct way is
sudo xbps-install -Suv firefox
.I was wondering where the Void guys at…
Check out
xi
fromxtools
.Why, it’s not the right package name?
No, xi is just a handy script that does
sudo xbps-install
with less typing and also helps with installing local packages (ones you built with xbps-src).Oh, cool, didn’t know that, thanks 👍.
But xbps is still keeps track of installed packages, right, xi is just a script.
choco install
I liked the obsolete shim for that:
cinst
- save some letters.Same with
cup
instead ofchoco update
.I’ve just reinstated them anyway.
Man I love WinGet I just hope they add multi-threaded download to speed up downloads also downloading while installing other applications
deleted by creator
scoop install firefox
deleted by creator
Don’t you need to google the exact package name anyways?
winget search <query>
Or just try to install, and it shows you what the package name is.
“package” :)
I always forget about winget
I don’t. It was literally stolen from appget.
Downvote for using Windows.
I want to downvote and upvote this comment at the same time
Why can’t we do that, anyways?
Been thinking that there should be an option to sidevote in such cases…