Share your repls and programming experiences

← Back to all posts
NixPM - First Nix Package Manager!
AmazingMech2418 (1082)


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 && cd ..

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

NixPM can also be found on GitHub at

ChopSueyMaster (50)

So glad to see actual good projects on replit.

Codemonkey51 (1057)

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

AmazingMech2418 (1082)

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

Codemonkey51 (1057)

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

sojs (341)

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

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

AmazingMech2418 (1082)

@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!


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

AmazingMech2418 (1082)

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


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

AmazingMech2418 (1082)

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

DynamicSquid (4899)

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

AmazingMech2418 (1082)

@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!

Coder100 (18109)

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

AmazingMech2418 (1082)

@Coder100 Do you mean for creating Nix packages or for the Nix repl? For the Nix repl,, but if for Nix packages, I'm not quite sure yet.