docs

git clone https://github.com/notamitgamer/docs.git
· rebuilt hourlyOpen on GitHub
root / mojic / installation.mdx

installation.mdx (662B)


      1 ---
      2 title: "Installation"
      3 ---
      4 
      5 import Copyright from "/snippets/copyright.mdx";
      6 
      7 <Warning>
      8 **npm install is currently broken**
      9 
     10 The published npm package is discontinued and `npm install -g mojic` will fail with a 404. Use the "from source" method below.
     11 </Warning>
     12 
     13 ## From source (recommended, currently required)
     14 
     15 ```bash
     16 # Clone and navigate to the directory
     17 git clone https://github.com/notamitgamer/mojic.git
     18 cd mojic
     19 
     20 # Install dependencies and link it globally to use the 'mojic' command
     21 npm install
     22 npm link
     23 ```
     24 
     25 ## Via npm (currently broken)
     26 
     27 ```bash
     28 npm install -g mojic
     29 ```
     30 
     31 Or without installing:
     32 
     33 ```bash
     34 npx mojic encode main.c
     35 ```
     36 
     37 <Copyright />