This poster presents the final recent measurements of -differential production cross section of charged-particle anti- b jets in pp and p--Pb collisions at = 5.02 TeV done by the ALICE collaboration. The production cross sections were measured down to = 10 GeV/, which is lower than in previous measurements of b jets done at the LHC. The spectra were used to evaluate the corresponding nuclear modification factor and the fraction of b jets among inclusive jets. The nuclear modification factor is found to be consistent with unity, suggesting that within the current statistical and systematical uncertainties b-jet production is not sensitive to CNM effects in the measured range. The measurements are well reproduced by POWHEG NLO pQCD calculations with PYTHIA fragmentation.