Hard for me to rank them and honestly, I'm only gonna count consoles. I've played most every Nintendo system, but I've never liked handheld stuff too much, it's uncomfortable to me and I think the only time I had something I sorta liked, it was the GBA SP because I bought a rubber controller shaped grip, so the system was actually comfortable to hold onto lol I don't even have gigantic hands, just generally large and I could never play handhelds for too long without cramping, though I'd probably say the Gameboy Color and GBA SP were my favorites. The 3DS XL had a nice screen, but was not overly comfortable and had very tiny buttons. Really, I tried to play handhelds when I could, but the only ones I kept for any length of time was the GBC and GBA SP, everything else was short lived before I sold it, probably not even lasting a year.
Consoles
N64 - I know I sometimes I play up the "N64 is the best console" thing abit here and there for jokes, but it is genuinely a system I love. It was the first console that was outright MINE, the first one I got new and got games as they released, and some of my favorite games of all time are on it. Yes it has a crap controller and small library, but the design, it being the last of the cartridge consoles I think, it appeals a lot to me. The only console collection I truly want, is to some day have all of the clear color N64 systems and the majority of the N64 library. I'd be happy with that.
Switch - I have a number of problems with the Switch, the online service sucks, that Nintendo has really done little to offer the same features previous systems had, some of its annoying releases and how it became a port machine for Wii U games I had already played, but I do think the system is a neat piece of tech with good games on it. I rarely use it handheld, refer to my handheld bit at the top, but I do appreciate that every so often I can pop it off if I need it and take it somewhere, even if I use it 90% of the time as a console. it's definitely like the most interesting console they've ever made for sure.
NES - My first console, given by a family friend when I was 4, I have a lot of love for it. Sure, the controller isn't comfortable, the games can have issues running well and most of the games are hard as crap, but I love the NES. It's old and clunky, but it's great.
Wii U - It's weird that I sort of have a big thing for the "lesser" systems, but I actually really dug the system, it had some cool games, I thought the gamepad was interesting, and after how much I disliked the Wii, I was surprised how much I liked the Wii U and was kinda bummed Nintendo couldn't really handle it right.
SNES - I know it's weird to put this here below the Wii U, but I didn't own one growing up, I played it at friends mostly, I remember renting it from my video store to play certain games, I played it a bunch, and I do really like it, but because I never really owned one till the later years of my life, I don't have as much attachment to it, though that's not to undercut the amazing games it has in any way, it has better games than the Wii U, much more iconic stuff, I just view it differently than I do the other consoles because I don't have one of my own till later on.
Gamecube - It's kinda the same reason that I have the Gamecube down here, I didn't own till like a decade ago and it wasn't even mine, I got my Dad one so he could play more Zelda games since he was going through most of them after retiring (The only game he ever loved and played before then was the original Zelda on NES). It has some pretty great games for sure, I played a ton of Resident Evil 4, the original Animal Crossing, and a handful of other games at friends places. Like it's impressive how many times I beat Resident Evil 4 without actually owning a Gamecube lol
Wii - This was the first Nintendo console that I was genuinely upset with owning. I bought it launch day with a buddy, sitting in a warm car as it was snowy and cold out, I picked up Twilight Princess as the first proper game and very quickly realized how awful the Wiimote and nunchuck were. If it wasn't functionally a better controller, I'd hate it more than the N64 controller lol. I think I owned the console for a year before selling it to a buddy, because I played Resident Evil 4 on it and was just like "I hate this". The only times I was kinda okay with motion controls, was at its most gimmicky (Kinda the same for VR these days), so Wii Sports was fun with friends with like bowling and like golf, but that was kinda it. I otherwise didn't do much with the Wii till Skyward Sword, borrowing my sisters to play it and really hated that game as it became my least liked 3D Zelda game (Nowadays, it's not! Shockingly!).
Handhelds
Gameboy
Gameboy Color
Gameboy Advance SP
DS Lite
2DS
3DS XL