{"id":21070382,"url":"https://github.com/stencila/nixta","last_synced_at":"2025-05-16T05:30:48.717Z","repository":{"id":37025920,"uuid":"162036793","full_name":"stencila/nixta","owner":"stencila","description":"📦 A package manager based on Nix","archived":true,"fork":false,"pushed_at":"2024-05-17T22:20:38.000Z","size":2689,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-25T03:28:58.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stencila.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-16T20:09:07.000Z","updated_at":"2025-03-19T08:37:19.000Z","dependencies_parsed_at":"2023-10-14T23:34:47.355Z","dependency_job_id":"6eb222a9-1b5d-492a-a8cd-c3949df017dd","html_url":"https://github.com/stencila/nixta","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Fnixta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Fnixta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Fnixta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stencila%2Fnixta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stencila","download_url":"https://codeload.github.com/stencila/nixta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254473767,"owners_count":22077166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T18:46:44.288Z","updated_at":"2025-05-16T05:30:44.725Z","avatar_url":"https://github.com/stencila.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 📦 Nixta\n\n### A package manager based on Nix\n\n[Nix](https://nixos.org/nix/) is a superbly well designed and powerful cross-platform package manager. But it's also got a very steep learning curve. Even for experienced programmers it can be daunting to use.\n\nNixta is a thin, sugary wrapper around Nix to make it sweeter to use 🍭! It takes a JSON (or YAML) definition of a reproducible computing [`Environment`](https://stencila.github.io/schema/Environment) and builds a Nix environment for it.\n\n## Status\n\n💀: Nixta was started in 2018 as an experiment into what an easier interface to Nix might look like - with a focus on reproducible data science. There are now, in 2024, several projects with similar aims that are much further along (and Nix flakes are now a thing). So it's well time to archive this repo.\n\nIf you are here, and you haven't already, you'll probably want to check out:\n\n- [`devbox`](https://github.com/jetify-com/devbox)\n- [`devenv`](https://github.com/cachix/devenv)\n- [`flox`](https://github.com/flox/flox)\n\n## Demo\n\n\u003ca href=\"https://asciinema.org/a/KD0z367VL5mBNknueUpqzVGMP?size=medium\u0026cols=120\u0026autoplay=1\" target=\"_blank\"\u003e\u003cimg src=\"https://asciinema.org/a/KD0z367VL5mBNknueUpqzVGMP.svg\" /\u003e\u003c/a\u003e\n\n\u003e Note: This demo uses the previous name for this tool, \"Nixster\".\n\n## Install\n\nNixta is available as a pre-built, standalone [command line tool](#command-line-tool), a [Node package](#node-package), or in [Docker image](#docker-image).\n\nFor the command line tool and the Node package you will also need to have [Nix installed](https://nixos.org/nix/download.html):\n\n```bash\ncurl https://nixos.org/nix/install | sh\n```\n\n### Command line tool\n\n#### Linux\n\nTo install the latest release of the `nixta` command line tool to `~/.local/bin/` just use,\n\n```bash\ncurl -L https://raw.githubusercontent.com/stencila/nixta/master/install.sh | bash\n```\n\nTo install a specific version, append `-s vX.X.X` e.g.\n\n```bash\ncurl -L https://raw.githubusercontent.com/stencila/nixta/master/install.sh | bash -s v0.1.1\n```\n\nOr, if you'd prefer to do things manually, or place Nixta elewhere, download `nixta-linux-x64.tar.gz` for the [latest release](https://github.com/stencila/nixta/releases/), and then\n\n```bash\ntar xvf nixta-linux-x64.tar.gz # unzip the download\nsudo mkdir -p /user/local/bin/nixta-v0.1.1 # create a directory for it\nsudo mv -f nixta /user/local/bin/nixta-v0.1.1 # move it there\nsudo ln -sf nixta-v0.1.1/nixta /user/local/bin/nixta # create a link to the executable\nsudo nixta --version # run once to setup necessary files and folders\n```\n\n#### MacOS and Windows\n\nBinaries are not yet available.\n\n### Node package\n\nCurrently you will need to install the package via this repo (not yet published to NPM):\n\n```bash\ngit clone git@github.com:stencila/nixta.git\ncd nixta\nnpm install\n```\n\nTo test the CLI more conveniently you can add an alias to your shell e.g.\n\n```bash\nalias nixta='npx ts-node src/cli.ts'\n```\n\nOr, if you want to use the CLI outside of this directory:\n\n```bash\nalias nixta='/path/to/nixta/node_modules/.bin/ts-node --project /path/to/nixta/tsconfig.json /path/to/nixta/src/cli.ts'\n```\n\n### Docker image\n\nInstead of installing Nix and Nixta you can use the `stencila/nixta` Docker image:\n\n```bash\nmake docker docker-interact\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstencila%2Fnixta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstencila%2Fnixta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstencila%2Fnixta/lists"}