howto:languages
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:languages [2023/07/29 13:23] – tcmal | howto:languages [2024/02/23 11:05] (current) – tcmal | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
If you want to run some code you wrote, you probably need some language or runtime to do so - eg Python, GCC, Haskell. It might happen to be installed system wide, but when it's not, we use a tool called [[https:// | If you want to run some code you wrote, you probably need some language or runtime to do so - eg Python, GCC, Haskell. It might happen to be installed system wide, but when it's not, we use a tool called [[https:// | ||
Line 7: | Line 7: | ||
< | < | ||
# install ' | # install ' | ||
- | $ nix-env -iA nixpkgs.hello | + | $ nix profile install |
- | installing ' | + | |
$ hello | $ hello | ||
Hello, world! | Hello, world! | ||
Line 14: | Line 13: | ||
# see everything installed for the current user | # see everything installed for the current user | ||
- | $ nix-env -q | + | $ nix profile list |
- | hello-2.12.1 | + | 0 flake: |
# uninstall ' | # uninstall ' | ||
- | $ nix-env --uninstall | + | $ nix profile remove 0 |
+ | removing ' | ||
</ | </ | ||
howto/languages.1690637002.txt.gz · Last modified: 2023/07/29 13:23 by tcmal