37
submitted 7 months ago by jackpot@lemmy.ml to c/linux@lemmy.ml

hi all, i tried installing through apt and got an older 0.6.4 and i tried installing through an appimage but for some reason nvchad didnt accept it. also what is nerdfonts and is that the default for linux mint? been at this for an hour and am very confused

top 47 comments
sorted by: hot top controversial new old
[-] furzegulo@lemmy.dbzer0.com 9 points 7 months ago

i've installed neovim with nix package manager on mint.

[-] hojjat@lemmy.ml 6 points 7 months ago* (last edited 7 months ago)

I use bob. It's a version manager for Neovim.

[-] Shady_Shiroe@lemmy.world 3 points 7 months ago

Hi Bob.

Sorry I had to do this reference from "For All Mankind"

[-] PlexSheep@feddit.de 5 points 7 months ago* (last edited 7 months ago)

I'm a heavy neovim user, also using Linux mint. I use the app image from the GitHub release page. Sure it means having it not automated, but that's fine with me.

Basically download the appimage, make it executable with chmod +x and move it to a location in your PATH, line ~/.local/bin/nvim (nvim being the name of the file, add that to your path. Another popular location might be /usr/local/bin/nvim). Afterwards, you can just use nvim in your terminal.

[-] jackpot@lemmy.ml 2 points 7 months ago* (last edited 7 months ago)

does that work for flatpak and does nvchad work on the flatpak? can you test both to see if they work before you confirm cause yk how to do this stuff better than me. if nvchad doesnt work on flatpak, i'll try this! also how do i add those directories to path and how do i use the chmod command. getting used to this apologies!

[-] meekah@lemmy.world 3 points 7 months ago* (last edited 7 months ago)

chmod is a command line tool for changing permission and mode flags on a file. chmod +x modifies a file to be allowed to be executed. You can use it by typing chmod +x followed by a filename into your terminal.

PATH usually refers to an environment variable that stores paths to common executable files. When you type a command into your terminal, Linux will search that environment variable to check if the program you want to execute is mentioned there. Adding nvim to that environment variable is like adding a shortcut to your terminal that allows you to call nvim, no matter what the current context of your terminal is, and without having to remember the full path of where nvim is stored. Here is a discussion about how to add something to your path variable.

[-] jackpot@lemmy.ml 2 points 7 months ago* (last edited 7 months ago)

does this all work for flatpak variants? i dont have to use ch mod for that but can i add it to the path and then add nvchad?

[-] meekah@lemmy.world 1 points 7 months ago* (last edited 7 months ago)

I am assuming you had a typo and mean NvChad (edit: just now realized you did mention NvChad in the title already). Yes you can, but calling flatpak applications on the command line is kinda weird so I would actually suggest an alias if you want to be able to just type nvim in your terminal.

To start the flatpak version of neovim via the CLI you'll need to type flatpak run io.neovim.nvim. Of course you don't want to do that, so you can tell your terminal to remember that whenever you type nvim you actually meant flatpak run io.neovim.nvim. To do that you can put the following in your terminal: alias nvim='flatpak run io.neovim.nvim'

As far as I understand, NvChad is a plugin for neovim. The command they provide for installing it just downloads the necessary files to the default config location for neovim, and starts neovim. however the flatpak version of neovim seems to be using a different location for it's configuration. This blog post seems to say that the config location for flatpak neovim is ~/.var/app/io.neovim.nvim/config/nvim/, so you'll probably have to move the files there for NvChad to work.

[-] PlexSheep@feddit.de 1 points 7 months ago

Nvchad is a ready made neovim config, that can be extended, not just a plugin.

[-] meekah@lemmy.world 1 points 7 months ago* (last edited 7 months ago)

I never used neovim so I'm not so familiar with the functionalities/terms. I was torn between writing plugin or config, but I thought a plugin would be more relevant. I'm assuming a plugin can change more than a config could.

[-] PlexSheep@feddit.de 1 points 7 months ago

The config for modern neovim users mainly consists of plugins and configs for plugins.

[-] jackpot@lemmy.ml 1 points 7 months ago

hi! have you foubd out if nvchad works on flatpak?

[-] PlexSheep@feddit.de 2 points 7 months ago

Haven't gotten to try yet, will do

[-] jackpot@lemmy.ml 1 points 7 months ago
[-] PlexSheep@feddit.de 1 points 7 months ago

For me personally, it doesnt load my configs. So better use appimage

[-] jackpot@lemmy.ml 1 points 7 months ago

does appimage get added to the bottom left app menu? it doesnt for me

[-] PlexSheep@feddit.de 1 points 7 months ago

No, you'd have to add a desktop file

[-] jackpot@lemmy.ml 1 points 7 months ago
[-] PlexSheep@feddit.de 2 points 7 months ago

You can use this desktop file.

Add desktop files like this. Be encouraged to search the web for solutions on your own :)

[-] meekah@lemmy.world 1 points 7 months ago

is the appimage really not an option? I think if you did what the original comment told you it should work.

[-] jackpot@lemmy.ml 1 points 7 months ago

tried but it was funny, wouldnt lrt me doubld click into it and its ui was weirf

[-] jackpot@lemmy.ml 1 points 7 months ago

i tried copying and pasting into the config file in the flatpak but it just ignored them and recreated thw original flatpak filws?

[-] meekah@lemmy.world 1 points 7 months ago* (last edited 7 months ago)

I don't think I'll be able to help you with this issue, sorry

[-] jackpot@lemmy.ml 1 points 7 months ago

thats cool dw :3

[-] RovingFox@infosec.pub 4 points 7 months ago

My man, I just installed Mint and nvchad was on my list.

[-] jackpot@lemmy.ml 3 points 7 months ago
[-] RovingFox@infosec.pub 4 points 7 months ago

of what to install after distro hoping

[-] nickwitha_k@lemmy.sdf.org 4 points 7 months ago

I've generally just been compiling from source. Sometimes in a docker container.

[-] beta_tester@lemmy.ml 4 points 7 months ago
[-] jackpot@lemmy.ml 1 points 7 months ago

flathub is old, also nvchad wont work with it (or at least idk how. same with doom emacs for emacs)

[-] Mereo@lemmy.ca 3 points 7 months ago* (last edited 7 months ago)

No, flathub has the latest version (0.95), as you can see on the project's Github page (0.95): https://github.com/neovim/neovim/releases

[-] jackpot@lemmy.ml 1 points 7 months ago* (last edited 7 months ago)

oh strange sorry, onky the system package is outdated

[-] beta_tester@lemmy.ml 2 points 7 months ago

Last release wad 25 days ago

[-] BlanK0@lemmy.ml 3 points 7 months ago

Try installing it with nix

[-] jackpot@lemmy.ml 2 points 7 months ago
[-] BlanK0@lemmy.ml 2 points 7 months ago

This blog should help you with the installation and how to use, also if you need more in depth info there is this guide as well

[-] possiblylinux127@lemmy.zip 3 points 7 months ago

distrobox with Fedora or Arch

[-] YIj54yALOJxEsY20eU@lemm.ee 2 points 7 months ago

Throw it in an arch distrobox and export it

[-] Cwilliams@beehaw.org 2 points 7 months ago

Options:

[-] jackpot@lemmy.ml 2 points 7 months ago

are ppas permanent? does my system scan for those addresses every update?

[-] Cwilliams@beehaw.org 3 points 7 months ago* (last edited 7 months ago)

AFAIK, if you install via the ppa, then it will update neovim when you apt update

[-] lemmyreader@lemmy.ml 1 points 7 months ago* (last edited 7 months ago)

There's a PPA for neovim, currently at 0.7.x : https://launchpad.net/~neovim-ppa/+archive/ubuntu/stable Oh, sorry, I see NvChad wants 0.9.4 and Nerdfonts (Though not a hard requirement : https://docs.rockylinux.org/books/nvchad/nerd_fonts/).

https://launchpad.net/~neovim-ppa/+archive/ubuntu/unstable -> 0.10.x

[-] PlexSheep@feddit.de 2 points 7 months ago

That's by far not the latest version. The current prerelease is on v0.10

[-] jackpot@lemmy.ml 1 points 7 months ago* (last edited 7 months ago)

whats a ppa and why does it take so long for apt to update its stuff

[-] lemmyreader@lemmy.ml 2 points 7 months ago* (last edited 7 months ago)

Ubuntu uses LTS with five year support, which is why they like to keep a lot of software versions back. Linux Mint is based on Ubuntu I think. PPA is something you can add to Ubuntu or Ubuntu based Linux distributions to have newer or specific software repositories as extra on your system. Here's a guide on PPA : https://itsfoss.com/ppa-guide/

[-] jackpot@lemmy.ml 1 points 7 months ago

what is nerdfonts and dies linux mimt have it

[-] lemmyreader@lemmy.ml 2 points 7 months ago

According to that article mentioned in my earlier comment you won't need the nerdfonts.

this post was submitted on 24 Jan 2024
37 points (91.1% liked)

Linux

47290 readers
1056 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS