Skip to content
← Back to Community
NixPM - First Repl.it Nix Package Manager!
Profile icon
AmazingMech2418

NixPM

Welcome to NixPM!

NixPM is a new package manager to handle Nix packages on Nix repls!

NixPM currently runs on the command line, using the command nixpm which will be on your path once you compile.

Since it installs directly on your path, you will have to build every time you reload, but to build, simply use the following shell command:

cd NixPM && sh build.sh && cd ..

Then, you can run nixpm --help and start using NixPM!

NixPM can also be found on GitHub at https://github.com/AmazingMech2418/NixPM

Voters
Profile icon
ShaunB19
Profile icon
piphi
Profile icon
Kai_Justice
Profile icon
JBloves27
Profile icon
programmeruser
Profile icon
ChopSueyMaster
Profile icon
sojs
Profile icon
ANDREWVOSS
Profile icon
ch1ck3n
Profile icon
RayhanADev
Comments
hotnewtop
Profile icon
ChopSueyMaster

So glad to see actual good projects on replit.

Profile icon
AmazingMech2418

@ChopSueyMaster Thank you!

Profile icon
Codemonkey51

Isn't nix a package manager itself tho ._.
Also great job

Profile icon
AmazingMech2418

@Codemonkey51 Technically, but this helps you manage the Nix packages to be included with Nix. LOL!

Profile icon
Codemonkey51

Lol! Also haven't seen u on here in a while @AmazingMech2418

Profile icon
AmazingMech2418

@Codemonkey51 Yeah! LOL!

Profile icon
sojs

Is it problematic that I have no idea what "nix" is.....?

and also sorry NPM already exists otherwise you could have used that.

Profile icon
AmazingMech2418

@sojs Nix is a new repl type similar to polygott, but it has access to NixOS packages, allowing more packages to be installed than under normal install-pkg.

And yeah. LOL!

Profile icon
ANDREWVOSS

Awesome! I might even use this on my own computer.

Profile icon
AmazingMech2418

@ANDREWVOSS Thank you! Though, this will only work on Repl.it since Nix repls are Repl.it-only.

Profile icon
ANDREWVOSS

@AmazingMech2418 Really? I thought you could run Nix on Linux normally.

Profile icon
AmazingMech2418

@ANDREWVOSS You can, but this is specifically for Repl.it versions. Otherwise, it would probably be best to just permanently install the Nix packages...

Profile icon
RayhanADev

✨ Awesome ✨!

Profile icon
AmazingMech2418

@RayhanADev Thank you!

Profile icon
DynamicSquid

Awesome! I think Replit is moving away from Polygott and into Nix, so that's also really cool

Profile icon
AmazingMech2418

@DynamicSquid Thank you! Yeah, I think so too! It would definitely help ease their server load at least! LOL! But there are some languages that will need to stay or be made Polygott currently due to compatibility issues (for example, Ada doesn't work in Nix), but otherwise, I think Nix is the future of Repl.it!

Profile icon
Coder100

nice!

Profile icon
AmazingMech2418

@Coder100 Thank you!

Profile icon
Coder100

nix doesn't exactly have a good tutorial, any place where I can learn its syntax? @AmazingMech2418

Profile icon
AmazingMech2418

@Coder100 Do you mean for creating Nix packages or for the Nix repl? For the Nix repl, https://blog.replit.com/nix, but if for Nix packages, I'm not quite sure yet.